ootw: make white button blink

This commit is contained in:
Vince Weaver 2021-05-01 23:40:33 -04:00
parent af650ae234
commit d8f07eebde
2 changed files with 28 additions and 1 deletions

View File

@ -198,6 +198,33 @@ room_loop:
;==================================
; draw background action
;==================================
;==============================
; blink white button if enabled
lda #$6
clc
adc DRAW_PAGE
sta wlsmc+2
sta wlsmc+5
lda FRAMEL
and #$40
beq white_light_on
;5,8 and 5,10
; $600, $680
white_light_off:
lda #$0
jmp done_white_light
white_light_on:
lda #$ff
done_white_light:
wlsmc:
sta $605
sta $685
;===============================

View File

@ -284,7 +284,7 @@ title_text:
.byte 3, 4, "II II // //=I\ II==\ II II \\",0
.byte 3, 5, "II II // // II II==/ II II //",0
.byte 3, 6, "II II//\\// \===I/ II \\ II== II//",0
.byte 0, 8,"OOTW PROOF-OF-CONCEPT V3.0 (19 APR 2021)",0
.byte 0, 8,"OOTW PROOF-OF-CONCEPT V3.1 (1 MAY 2021)",0
.byte 0, 9,"CODE: DEATER DISK,LZ4: QKUMBA",0
.byte 12,10, ",",0
.byte 0,11,"ORIGINAL BY ERIC CHAHI",0