From 466bd49ec4c8451f6c356570b7812fbe06792b75 Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Sat, 23 Dec 2023 22:30:57 -0500 Subject: [PATCH] xmas2023: fix some timing --- demos/xmas_2023/fireplace.s | 5 +++++ demos/xmas_2023/plasma_tree.s | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/demos/xmas_2023/fireplace.s b/demos/xmas_2023/fireplace.s index 95ef12d9..b25906eb 100644 --- a/demos/xmas_2023/fireplace.s +++ b/demos/xmas_2023/fireplace.s @@ -469,7 +469,12 @@ do_scroll: inc FRAMEH ; 5 frame_noflo3: + lda FRAMEL + and #$3 + bne no_scroll_flame + jsr toggle_flame +no_scroll_flame: jsr scroll_loop diff --git a/demos/xmas_2023/plasma_tree.s b/demos/xmas_2023/plasma_tree.s index 1f2c0a27..eb3a39db 100644 --- a/demos/xmas_2023/plasma_tree.s +++ b/demos/xmas_2023/plasma_tree.s @@ -91,7 +91,7 @@ frame_noflo5: no_music5: lda FRAMEH - cmp #6 + cmp #8 beq done_making_plasma done_music5: