This commit is contained in:
Brooke Vibber 2022-12-11 17:15:06 -08:00
parent 0bae8670ba
commit bef2600d91

View file

@ -195,7 +195,7 @@ wait_loop:
bne audio_cont ; 2
; 12 cycles, optional
inc sample_ptrh ; 5
inc sample_ptrh ; 5 <- here is the current hard limit
lda sample_ptrh ; 3
cmp #.hibyte(audio_samples_end) ; 2
bmi audio_cont ; 2
@ -218,10 +218,10 @@ wait_loop:
inner_scanline frame_offset, 0 ; 23-26 cycles before break, 12 cycles after
audio_play_raw ; 11-12 cycles
audio_inc ; 7-24 cycles
ldy scanline ; 3 cycles
inner_scanline frame_offset, 128 ; 23-26 cycles before break, 12 cycles after
audio_inc ; 7-24 cycles
; pair cleanup: 6 cycles
ldy VCOUNT ; 4 cycles