This commit is contained in:
2022-05-22 10:59:06 -04:00
parent ec5838ebaf
commit 9a3cf1251f
3 changed files with 9 additions and 11 deletions
+3
View File
@@ -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
View File
Binary file not shown.
+6 -11
View File
@@ -30,13 +30,10 @@ OptionsMainLoop
jsr OptionsInversion jsr OptionsInversion
jsr getkey jsr getkey
cmp #28 ; ESC ldx escFlag
seq:rts
bne @+
mva #1 escFlag
rts
@ cmp #$f ;cursor down 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