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