From 9996697f5ec096a136b47032f99b57b6d7f4fca1 Mon Sep 17 00:00:00 2001 From: Paul Gardner-Stephen Date: Mon, 22 Apr 2019 01:38:24 +0930 Subject: [PATCH] add sources for reverse video control --- c64/kernal/chrout.s | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/c64/kernal/chrout.s b/c64/kernal/chrout.s index 7ffa78c7..2c7bfb74 100644 --- a/c64/kernal/chrout.s +++ b/c64/kernal/chrout.s @@ -49,12 +49,14 @@ colour_check_loop: * dex bpl colour_check_loop + ;; Compute's Mapping the 64 p38 cmp #$12 bne not_12 lda #$80 sta reverse_video_flag jmp chrout_done not_12: + ;; Compute's Mapping the 64 p 38 cmp #$92 bne not_92 lda #$00 @@ -196,7 +198,7 @@ not_vendor: chrout_l1: ;; Write normal character on the screen ldy current_screen_x - ora reverse_video_flag + ora reverse_video_flag ; Compute's Mapping the 64 p38 sta (current_screen_line_ptr),y ;; Set colour