From f7df0999d713abd417f68b53f24ba4ae2aea8bc1 Mon Sep 17 00:00:00 2001 From: Brooke Vibber Date: Sat, 31 Aug 2024 11:31:54 -0700 Subject: [PATCH] appears to work now --- dither4.s | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dither4.s b/dither4.s index 7181cc1..cdb2371 100644 --- a/dither4.s +++ b/dither4.s @@ -213,15 +213,17 @@ wait_loop: each_scanline_pair: sty scanline ; 3 cycles - audio_prep - ;audio_play_lo inner_scanline frame_offset, 0 ; 23-26 cycles before break, 12 cycles after - audio_play_hi + ldy scanline ; 3 cycles + audio_prep + audio_play_lo ldy scanline ; 3 cycles inner_scanline frame_offset, 128 ; 23-26 cycles before break, 12 cycles after + audio_play_hi + ; pair cleanup: 6 cycles ldy VCOUNT ; 4 cycles bne each_scanline_pair ; 2 cycles