Two minor glitches when switching screens. (very rare)

This commit is contained in:
Pecusx
2023-01-16 20:33:38 +01:00
parent d9b92eba07
commit c0af7b2e6c
5 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -77,10 +77,10 @@
; WAIT
; waits one frame (1/50 s(PAL) or 1/60s(NTSC))
?zero LDA VCOUNT
cmp #$05
cmp #$05 ; if line<5 then wait for line>4
bcc ?zero
cmp #$70
bcc ?WA
bcc ?WA ; if line>=112 then
sbc #10 ; last lines correction
?WA cmp VCOUNT
beq ?WA
+1
View File
@@ -379,6 +379,7 @@ NoRMT_PALchange
mva #2 chactl ; necessary for 5200
START
jsr MakeDarkScreen
; Startup sequence
jsr Initialize
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1
View File
@@ -2106,6 +2106,7 @@ FinishResultDisplay
;--------------------------------------------------
.proc GameOverScreen
;--------------------------------------------------
jsr MakeDarkScreen
jsr WaitForKeyRelease
jsr ClearScreen
jsr ClearPMmemory