two frame, no audio

This commit is contained in:
Brooke Vibber 2022-12-08 05:57:07 -08:00
parent 1b9769213a
commit 58fecb09fb

View file

@ -209,7 +209,11 @@ wait_loop:
cpy #130
bne each_scanline
;audio_inc
inc frame_counter
lda frame_counter
eor #1
sta frame_counter
jmp wait_start
.endscope
.endmacro
@ -218,15 +222,15 @@ wait_loop:
sta scanline
lda frame_counter
bne run_frame2
run_frame frame1_palette1, frame1_palette2, frame1_palette3
run_frame2:
run_frame frame2_palette1, frame2_palette2, frame2_palette3
run_frame2:
run_frame frame1_palette1, frame1_palette2, frame1_palette3
.endproc
.proc dli_handler
lda #0
lda #1
sta frame_counter
rti
.endproc