tweaks, not helping
This commit is contained in:
parent
3bcf711c3f
commit
f9431749d2
1 changed files with 7 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue