(wip)
This commit is contained in:
parent
0bae8670ba
commit
bef2600d91
1 changed files with 2 additions and 2 deletions
|
@ -195,7 +195,7 @@ wait_loop:
|
||||||
bne audio_cont ; 2
|
bne audio_cont ; 2
|
||||||
|
|
||||||
; 12 cycles, optional
|
; 12 cycles, optional
|
||||||
inc sample_ptrh ; 5
|
inc sample_ptrh ; 5 <- here is the current hard limit
|
||||||
lda sample_ptrh ; 3
|
lda sample_ptrh ; 3
|
||||||
cmp #.hibyte(audio_samples_end) ; 2
|
cmp #.hibyte(audio_samples_end) ; 2
|
||||||
bmi audio_cont ; 2
|
bmi audio_cont ; 2
|
||||||
|
@ -218,10 +218,10 @@ wait_loop:
|
||||||
inner_scanline frame_offset, 0 ; 23-26 cycles before break, 12 cycles after
|
inner_scanline frame_offset, 0 ; 23-26 cycles before break, 12 cycles after
|
||||||
|
|
||||||
audio_play_raw ; 11-12 cycles
|
audio_play_raw ; 11-12 cycles
|
||||||
audio_inc ; 7-24 cycles
|
|
||||||
|
|
||||||
ldy scanline ; 3 cycles
|
ldy scanline ; 3 cycles
|
||||||
inner_scanline frame_offset, 128 ; 23-26 cycles before break, 12 cycles after
|
inner_scanline frame_offset, 128 ; 23-26 cycles before break, 12 cycles after
|
||||||
|
audio_inc ; 7-24 cycles
|
||||||
|
|
||||||
; pair cleanup: 6 cycles
|
; pair cleanup: 6 cycles
|
||||||
ldy VCOUNT ; 4 cycles
|
ldy VCOUNT ; 4 cycles
|
||||||
|
|
Loading…
Reference in a new issue