add sources for reverse video control
This commit is contained in:
1 parent
a458fb0b58
commit
9996697f5e
1 file changed
+3
-1
+3
-1
@@ -49,12 +49,14 @@ colour_check_loop:
|
|||||||
* dex
|
* dex
|
||||||
bpl colour_check_loop
|
bpl colour_check_loop
|
||||||
|
|
||||||
|
;; Compute's Mapping the 64 p38
|
||||||
cmp #$12
|
cmp #$12
|
||||||
bne not_12
|
bne not_12
|
||||||
lda #$80
|
lda #$80
|
||||||
sta reverse_video_flag
|
sta reverse_video_flag
|
||||||
jmp chrout_done
|
jmp chrout_done
|
||||||
not_12:
|
not_12:
|
||||||
|
;; Compute's Mapping the 64 p 38
|
||||||
cmp #$92
|
cmp #$92
|
||||||
bne not_92
|
bne not_92
|
||||||
lda #$00
|
lda #$00
|
||||||
@@ -196,7 +198,7 @@ not_vendor:
|
|||||||
chrout_l1:
|
chrout_l1:
|
||||||
;; Write normal character on the screen
|
;; Write normal character on the screen
|
||||||
ldy current_screen_x
|
ldy current_screen_x
|
||||||
ora reverse_video_flag
|
ora reverse_video_flag ; Compute's Mapping the 64 p38
|
||||||
sta (current_screen_line_ptr),y
|
sta (current_screen_line_ptr),y
|
||||||
|
|
||||||
;; Set colour
|
;; Set colour
|
||||||
|
|||||||
Reference in new issue
Block a user