tweak tweak

This commit is contained in:
Brooke Vibber 2022-12-07 16:43:45 -08:00
parent ce569211b8
commit db97305119

View file

@ -156,7 +156,7 @@ wait_loop:
each_scanline: each_scanline:
.macro audio_prep .macro audio_prep
ldy VCOUNT ; 4 cycles ; Y is VCOUNT at entry
lda (sample_ptr),y ; 5/6 cyc lda (sample_ptr),y ; 5/6 cyc
sta audiotemp ; 3 cyc sta audiotemp ; 3 cyc
.endmacro .endmacro
@ -225,9 +225,10 @@ each_scanline:
inner_scanline inner_scanline
audio_play_lo audio_play_lo
inner_scanline inner_scanline
audio_play_hi ;audio_play_hi
lda VCOUNT lda VCOUNT
tay ; save for audio lookup
cmp #130 ;#130 cmp #130 ;#130
bne each_scanline bne each_scanline
audio_inc audio_inc