tweaks; looks good now

had to remove the extra overscan at the bottom, it left things confused
This commit is contained in:
Brooke Vibber 2022-11-29 15:10:56 -08:00
parent 8624250012
commit 4148b9db93

View file

@ -37,10 +37,12 @@ pages_per_frame = 32
.import bitmap .import bitmap
displaylist: displaylist:
; @fixme resolve the line counts ; 24 lines overscan
.repeat 3 .repeat 3
.byte $70 ; 8 blank lines .byte $70 ; 8 blank lines
.endrep .endrep
; 192 lines graphics
; ANTIC mode e (160px 2bpp, 1 scan line per line) ; ANTIC mode e (160px 2bpp, 1 scan line per line)
.byte $4e .byte $4e
.addr framebuffer .addr framebuffer
@ -52,9 +54,7 @@ displaylist:
.repeat height / 2 - 1 .repeat height / 2 - 1
.byte $0e .byte $0e
.endrep .endrep
.repeat 3
.byte $70 ; 8 blank lines
.endrep
.byte $41 ; jump and blank .byte $41 ; jump and blank
.addr displaylist .addr displaylist
@ -105,12 +105,12 @@ wait_vblank:
lda #$22 lda #$22
sta DMACTL sta DMACTL
wait_loop:
sta WSYNC
wait_start: wait_start:
wait_loop:
lda VCOUNT lda VCOUNT
cmp #15 cmp #15
bne wait_loop bne wait_loop
STA WSYNC
ldy #0 ldy #0
each_scanline: each_scanline: