Fixet Esc bug (A5200) and VU meters timer set to 1minute

This commit is contained in:
Pecusx
2024-03-03 17:03:02 +01:00
parent 6312dec69e
commit 09a5459930
8 changed files with 6 additions and 7 deletions
+3 -5
View File
@@ -1288,6 +1288,7 @@ notpressed
.ENDIF
ldx TankNr ; for optimize
jsr GetKeyFast
mvy #00 EscFlag ; prevent for set EscFalg in GetKey! we checking this in CheckExitKeys!
and #%10111111 ; SHIFT elimination
cmp #@kbcode._atari ; Option key
@@ -1341,10 +1342,7 @@ jumpFromStick
.ELSE
cmp #@kbcode._help ; Help (# in A5200)
bne NoVdebugSwitch
sta pressTimer ; reset 0+@kbcode._help (tricky)
jsr WaitForKeyRelease.StillWait
lda pressTimer
cmp #(25+@kbcode._help) ; 1/2s - long press only
jsr WaitForLongPress
bcc NoVdebugSwitch
.ENDIF
lda Vdebug
@@ -1575,7 +1573,7 @@ pressedS
eor:sta noSfx
ReleaseAndLoop
jsr WaitForKeyRelease
mva #$80 pressTimer
; mva #$80 pressTimer
jmp BeforeFire
pressedSpace