urk, maybe no cycles free ;)

This commit is contained in:
Brooke Vibber 2022-11-30 03:39:23 -08:00
parent 7dfa1dfb26
commit 019422e6e5

View file

@ -131,6 +131,7 @@ wait_loop:
each_scanline:
; it'll fire on unused lines, but harmlessly
.macro fake1
jmp fake
; audio sample; low nybble
ldx #0
@ -153,6 +154,7 @@ each_scanline:
ora #$10
lda #0
pha
.endmacro
fake:
lda #18
@ -187,6 +189,7 @@ each_scanline:
inner_scanline
.macro audio_inc
; Increment sample ptr
jmp audio_cont
inc sample_ptrl
@ -205,6 +208,7 @@ each_scanline:
sta sample_ptrl
lda #.hibyte(audio_samples)
sta sample_ptrh
.endmacro
audio_cont:
@ -212,11 +216,11 @@ audio_cont:
lda VCOUNT
cmp #130 ;#130
;bne each_scanline
bne foo
bne each_scanline
;bne foo
jmp wait_start
foo:
jmp each_scanline
;foo:
;jmp each_scanline
.endproc