mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
Fixet Esc bug (A5200) and VU meters timer set to 1minute
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ space = 0 ; space in screencodes
|
||||
KeyRepeatSpeed = 8 ; (max 127 !!!)
|
||||
FirstKeySpeed = 8 ; additional delay for first keypress
|
||||
|
||||
VuMeterTime = 4 ; Time of inactivity for VU Meter (1=5sec)
|
||||
VuMeterTime = 12 ; Time of inactivity for VU Meter (1=5sec)
|
||||
|
||||
;character codes for symbols (tank, parachute, etc. )
|
||||
; characters from tanks.fnt (graphics screen)
|
||||
|
||||
+1
-1
@@ -234,7 +234,7 @@ FirstZpageVariable = $50
|
||||
_M = $0d
|
||||
_S = $0e
|
||||
_atari = $fd ; not used in 5200
|
||||
_ret = $fd ; not used in 5200
|
||||
_ret = $0c ; fire in 5200
|
||||
_none = $0f
|
||||
.ende
|
||||
.ENDIF
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -14,6 +14,7 @@
|
||||
; if 1 - activates faster graphics routines
|
||||
; (direct writes to screen memory - C64 only :) )
|
||||
;---------------------------------------------------
|
||||
.def VU_METER = 0 ; allways 0! (works only on Atari)
|
||||
|
||||
|
||||
opt h-f+
|
||||
|
||||
Binary file not shown.
Binary file not shown.
+3
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user