tweaks, not helping

This commit is contained in:
Brooke Vibber 2022-11-29 11:45:29 -08:00
parent 3bcf711c3f
commit f9431749d2

View file

@ -90,6 +90,10 @@ displaylist:
lda #.hibyte(displaylist) lda #.hibyte(displaylist)
sta SDLSTH sta SDLSTH
; Disable VBI and DLI but allow Reset
lda #(128 + 64)
sta NMIEN
; Manually wait for first scan line ; Manually wait for first scan line
wait_vblank: wait_vblank:
lda VCOUNT lda VCOUNT
@ -99,11 +103,12 @@ wait_vblank:
lda #$22 lda #$22
sta SDMCTL sta SDMCTL
wait_start: wait_loop:
sta WSYNC sta WSYNC
wait_start:
lda VCOUNT lda VCOUNT
cmp #15 cmp #15
bne wait_start bne wait_loop
ldy #0 ldy #0
each_scanline: each_scanline: