C64 code update
This commit is contained in:
@@ -30,6 +30,17 @@
|
|||||||
rts
|
rts
|
||||||
.endp
|
.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
|
.proc WaitForKeyRelease
|
||||||
;--------------------------------------------------
|
;--------------------------------------------------
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user