diff --git a/dither4.s b/dither4.s index bed425f..a610a85 100644 --- a/dither4.s +++ b/dither4.s @@ -184,17 +184,12 @@ wait_loop: cmp #.hibyte(audio_samples_end) ; 2 cyc bmi audio_cont ; 2 cyc - sta WSYNC - ; 10 cycles, optional lda #.lobyte(audio_samples) ; 2 sta sample_ptrl ; 3 lda #.hibyte(audio_samples) ; 2 sta sample_ptrh ; 3 - sta WSYNC - ldy VCOUNT ; 4 cycles - audio_cont: .endmacro @@ -222,6 +217,7 @@ wait_loop: ; Do bookkeeping during vblank! audio_inc ; 22-32 cycles + ldy VCOUNT ; 4 cycles jmp each_frame ; 3 cycles .endscope