mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-21 06:39:46 +02:00
WaitOneFrame fixed
This commit is contained in:
+2
-3
@@ -76,11 +76,10 @@
|
||||
.MACRO WAIT
|
||||
; WAIT
|
||||
; waits one frame (1/50 s(PAL) or 1/60s(NTSC))
|
||||
lda CONSOL
|
||||
cmp #6 ; START KEY
|
||||
beq ?nowait
|
||||
?zero LDA VCOUNT
|
||||
beq ?zero
|
||||
bpl ?WA
|
||||
sbc #10 ; last lines correction
|
||||
?WA cmp VCOUNT
|
||||
beq ?WA
|
||||
bcc ?WA
|
||||
|
||||
+4
-1
@@ -1518,8 +1518,11 @@ noKey
|
||||
rts
|
||||
.endp
|
||||
.proc WaitOneFrame
|
||||
lda CONSOL
|
||||
cmp #6 ; START KEY
|
||||
beq @+
|
||||
wait
|
||||
rts
|
||||
@ rts
|
||||
.endp
|
||||
.proc PauseYFrames
|
||||
; Y - number of frames to wait (divided by 2)
|
||||
|
||||
BIN
Binary file not shown.
Reference in New Issue
Block a user