test with wsyncs in
This commit is contained in:
parent
4148b9db93
commit
115d2639de
1 changed files with 3 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue