From 58fecb09fbd1259ee0e4cdce6827933f44042b50 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 8 Dec 2022 05:57:07 -0800 Subject: [PATCH] two frame, no audio --- dither4.s | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/dither4.s b/dither4.s index fda75fe..8b4eaa0 100644 --- a/dither4.s +++ b/dither4.s @@ -209,7 +209,11 @@ wait_loop: cpy #130 bne each_scanline ;audio_inc - inc frame_counter + + lda frame_counter + eor #1 + sta frame_counter + jmp wait_start .endscope .endmacro @@ -218,15 +222,15 @@ wait_loop: sta scanline lda frame_counter bne run_frame2 - run_frame frame1_palette1, frame1_palette2, frame1_palette3 -run_frame2: run_frame frame2_palette1, frame2_palette2, frame2_palette3 +run_frame2: + run_frame frame1_palette1, frame1_palette2, frame1_palette3 .endproc .proc dli_handler - lda #0 + lda #1 sta frame_counter rti .endproc