mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
ESC updt #74
This commit is contained in:
@@ -1175,6 +1175,9 @@ nextishigher
|
|||||||
|
|
||||||
lda kbcode
|
lda kbcode
|
||||||
and #$3f ;CTRL and SHIFT ellimination
|
and #$3f ;CTRL and SHIFT ellimination
|
||||||
|
cmp #28 ; ESC
|
||||||
|
bne getkeyend
|
||||||
|
mvx #1 escFlag
|
||||||
bne getkeyend
|
bne getkeyend
|
||||||
|
|
||||||
checkJoyGetKey
|
checkJoyGetKey
|
||||||
|
|||||||
BIN
Binary file not shown.
+6
-11
@@ -30,13 +30,10 @@ OptionsMainLoop
|
|||||||
|
|
||||||
jsr OptionsInversion
|
jsr OptionsInversion
|
||||||
jsr getkey
|
jsr getkey
|
||||||
cmp #28 ; ESC
|
ldx escFlag
|
||||||
|
seq:rts
|
||||||
|
|
||||||
bne @+
|
cmp #$f ;cursor down
|
||||||
mva #1 escFlag
|
|
||||||
rts
|
|
||||||
|
|
||||||
@ cmp #$f ;cursor down
|
|
||||||
bne OptionsNoDown
|
bne OptionsNoDown
|
||||||
inc:lda OptionsY
|
inc:lda OptionsY
|
||||||
cmp #maxoptions
|
cmp #maxoptions
|
||||||
@@ -879,11 +876,9 @@ endOfTankName
|
|||||||
|
|
||||||
CheckKeys
|
CheckKeys
|
||||||
jsr getkey
|
jsr getkey
|
||||||
cmp #28 ; ESC
|
ldx escFlag
|
||||||
bne @+
|
seq:rts
|
||||||
mva #1 escFlag
|
|
||||||
rts
|
|
||||||
@
|
|
||||||
; is the char to be recorded?
|
; is the char to be recorded?
|
||||||
ldx #keycodesEnd-keycodes ;table was 38 chars long
|
ldx #keycodesEnd-keycodes ;table was 38 chars long
|
||||||
IsLetter
|
IsLetter
|
||||||
|
|||||||
Reference in New Issue
Block a user