From 4148b9db93e301809685ba945bf0b04e2a6362eb Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 29 Nov 2022 15:10:56 -0800 Subject: [PATCH] tweaks; looks good now had to remove the extra overscan at the bottom, it left things confused --- dither4.s | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dither4.s b/dither4.s index a3316db..dba582e 100644 --- a/dither4.s +++ b/dither4.s @@ -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: