From 378f28667e7fb7770f8d5a259347aaac46e5cdf7 Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Sat, 23 Dec 2023 09:38:40 -0500 Subject: [PATCH] xmas_2023: work on timing --- demos/xmas_2023/fireplace.s | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/demos/xmas_2023/fireplace.s b/demos/xmas_2023/fireplace.s index d8af2991..77e8f548 100644 --- a/demos/xmas_2023/fireplace.s +++ b/demos/xmas_2023/fireplace.s @@ -374,6 +374,15 @@ frame_noflo2: lda KEYPRESS bmi totally_done_fireplace + + ; wait for_pattern + + lda #1 + cmp current_pattern_smc+1 + bcc totally_done_fireplace + beq totally_done_fireplace + + jmp new_loop totally_done_fireplace: @@ -399,7 +408,7 @@ do_scroll: jsr scroll_loop - lda #255 + lda #128 jsr wait jmp do_scroll