mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
Better description
This commit is contained in:
+8
-8
@@ -377,9 +377,9 @@ NoRMT_PALchange
|
|||||||
|
|
||||||
.proc SetJoystickPort
|
.proc SetJoystickPort
|
||||||
sta JoystickNumber
|
sta JoystickNumber
|
||||||
.IF TARGET = 800
|
.IF TARGET = 800 ; second joy button state update only on A800
|
||||||
jsr WaitOneFrame
|
jsr WaitOneFrame ; is necessary for update shadow registers (PADDL0) in VBI
|
||||||
jmp GetKey.Check2button ; update state second joy button
|
jmp GetKey.Check2button ; update state second joy button
|
||||||
.ELSE
|
.ELSE
|
||||||
rts
|
rts
|
||||||
.ENDIF
|
.ENDIF
|
||||||
@@ -515,7 +515,7 @@ KeyReleased
|
|||||||
and #%00000100
|
and #%00000100
|
||||||
beq @+
|
beq @+
|
||||||
lda #1
|
lda #1
|
||||||
@ and STRIG0
|
@ and STRIG0
|
||||||
rts
|
rts
|
||||||
.endp
|
.endp
|
||||||
;--------------------------------------------------
|
;--------------------------------------------------
|
||||||
@@ -560,9 +560,9 @@ MakeDarkScreen
|
|||||||
; Y - number of frames to wait (divided by 2)
|
; Y - number of frames to wait (divided by 2)
|
||||||
; pauses for maximally 510 frames (255 * 2)
|
; pauses for maximally 510 frames (255 * 2)
|
||||||
;--------------------------------------------------
|
;--------------------------------------------------
|
||||||
@ jsr WaitOneFrame
|
@ jsr WaitOneFrame
|
||||||
jsr WaitOneFrame
|
jsr WaitOneFrame
|
||||||
dey
|
dey
|
||||||
bne @-
|
bne @-
|
||||||
rts
|
rts
|
||||||
.endp
|
.endp
|
||||||
@@ -618,7 +618,7 @@ nokeys
|
|||||||
ldy flyDelay
|
ldy flyDelay
|
||||||
DelayLoop
|
DelayLoop
|
||||||
lda VCOUNT
|
lda VCOUNT
|
||||||
@ cmp VCOUNT
|
@ cmp VCOUNT
|
||||||
beq @-
|
beq @-
|
||||||
dey
|
dey
|
||||||
bne DelayLoop
|
bne DelayLoop
|
||||||
|
|||||||
Reference in New Issue
Block a user