From f9431749d2279c2503ce899c27b4d7f5949b96e7 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 29 Nov 2022 11:45:29 -0800 Subject: [PATCH] tweaks, not helping --- dither4.s | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dither4.s b/dither4.s index 8689bda..2e78819 100644 --- a/dither4.s +++ b/dither4.s @@ -90,6 +90,10 @@ displaylist: lda #.hibyte(displaylist) sta SDLSTH + ; Disable VBI and DLI but allow Reset + lda #(128 + 64) + sta NMIEN + ; Manually wait for first scan line wait_vblank: lda VCOUNT @@ -99,11 +103,12 @@ wait_vblank: lda #$22 sta SDMCTL -wait_start: +wait_loop: sta WSYNC +wait_start: lda VCOUNT cmp #15 - bne wait_start + bne wait_loop ldy #0 each_scanline: