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
|
||||
wait_vblank:
|
||||
;sta WSYNC
|
||||
lda VCOUNT
|
||||
bne wait_vblank
|
||||
|
||||
|
@ -105,12 +106,12 @@ wait_vblank:
|
|||
lda #$22
|
||||
sta DMACTL
|
||||
|
||||
wait_start:
|
||||
wait_loop:
|
||||
sta WSYNC
|
||||
wait_start:
|
||||
lda VCOUNT
|
||||
cmp #15
|
||||
bne wait_loop
|
||||
STA WSYNC
|
||||
ldy #0
|
||||
|
||||
each_scanline:
|
||||
|
|
Loading…
Reference in a new issue