2 frames, wrong palette on 2nd, no audio

This commit is contained in:
Brooke Vibber 2022-12-07 18:37:32 -08:00
commit 589ccdc7f1
2 changed files with 46 additions and 46 deletions

View file

@ -48,52 +48,7 @@ scanline_max = (lines_per_frame - scanline_offset) / 2
.import frame2_palette1
.import frame2_palette2
.import frame2_palette3
displaylist:
; 40 lines overscan
.repeat 5
.byte $70 ; 8 blank lines
.endrep
; 160 lines graphics
; ANTIC mode e (160px 2bpp, 1 scan line per line)
.byte $4e
.addr frame1_top
.repeat height / 2 - 1
.byte $0e
.endrep
.byte $4e
.addr frame1_bottom
.repeat height / 2 - 1
.byte $0e
.endrep
.byte $41 ; jump and blank
.addr displaylist
;fixme use
displaylist_part2:
; 40 lines overscan
.repeat 5
.byte $70 ; 8 blank lines
.endrep
; 160 lines graphics
; ANTIC mode e (160px 2bpp, 1 scan line per line)
.byte $4e
.addr frame2_top
.repeat height / 2 - 1
.byte $0e
.endrep
.byte $4e
.addr frame2_bottom
.repeat height / 2 - 1
.byte $0e
.endrep
.byte $41 ; jump and blank
.addr displaylist
.import displaylist
audio_high_byte:
.scope