WaitOneFrame procedure sometimes hung in NTSC

And manuals update.
This commit is contained in:
Pecusx
2022-10-29 11:36:33 +02:00
parent 6f369735c3
commit fe990a6668
6 changed files with 16 additions and 12 deletions
+4 -2
View File
@@ -77,8 +77,10 @@
; WAIT
; waits one frame (1/50 s(PAL) or 1/60s(NTSC))
?zero LDA VCOUNT
beq ?zero
bpl ?WA
cmp #$05
bcc ?zero
cmp #$70
bcc ?WA
sbc #10 ; last lines correction
?WA cmp VCOUNT
beq ?WA