From d8f07eebdea2ce12469ce120daa908e823313e5c Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Sat, 1 May 2021 23:40:33 -0400 Subject: [PATCH] ootw: make white button blink --- games/ootw/ootw_c14/ootw_c14.s | 27 +++++++++++++++++++++++++++ games/ootw/qboot/title.s | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/games/ootw/ootw_c14/ootw_c14.s b/games/ootw/ootw_c14/ootw_c14.s index dfc7ba75..1459927b 100644 --- a/games/ootw/ootw_c14/ootw_c14.s +++ b/games/ootw/ootw_c14/ootw_c14.s @@ -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 ;=============================== diff --git a/games/ootw/qboot/title.s b/games/ootw/qboot/title.s index cf544f89..a7ba74cf 100644 --- a/games/ootw/qboot/title.s +++ b/games/ootw/qboot/title.s @@ -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