test with wsyncs in

This commit is contained in:
Brooke Vibber 2022-11-29 16:32:37 -08:00
parent 4148b9db93
commit 115d2639de

View file

@ -98,6 +98,7 @@ displaylist:
; Manually wait for first scan line ; Manually wait for first scan line
wait_vblank: wait_vblank:
;sta WSYNC
lda VCOUNT lda VCOUNT
bne wait_vblank bne wait_vblank
@ -105,12 +106,12 @@ wait_vblank:
lda #$22 lda #$22
sta DMACTL sta DMACTL
wait_start:
wait_loop: wait_loop:
sta WSYNC
wait_start:
lda VCOUNT lda VCOUNT
cmp #15 cmp #15
bne wait_loop bne wait_loop
STA WSYNC
ldy #0 ldy #0
each_scanline: each_scanline: