mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-20 22:34:21 +02:00
C64 code update
This commit is contained in:
@@ -30,6 +30,17 @@
|
||||
rts
|
||||
.endp
|
||||
|
||||
;--------------------------------------------------
|
||||
.proc WaitForLongPress
|
||||
;--------------------------------------------------
|
||||
lda #0
|
||||
sta pressTimer ; reset
|
||||
jsr WaitForKeyRelease.StillWait
|
||||
lda pressTimer
|
||||
cmp #25 ; 1/2s
|
||||
rts ; if CARRY is set then long press
|
||||
.endp
|
||||
|
||||
;--------------------------------------------------
|
||||
.proc WaitForKeyRelease
|
||||
;--------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user