Option key fix and opty

This commit is contained in:
Pecusx
2023-10-27 08:47:50 +02:00
parent 2c0132fd9f
commit 0320b000b3
3 changed files with 3 additions and 8 deletions
+1
View File
@@ -484,6 +484,7 @@ checkSelectKey
beq SelectPressed
lda CONSOL
and #%00000100 ; Option
beq OptionPressed
.ENDIF
lda #@kbcode._none
bne getkeyend
BIN
View File
Binary file not shown.
+2 -8
View File
@@ -1224,17 +1224,11 @@ notpressed
spl:rts ; exit if pressed 'Exit keys'
ldx TankNr ; for optimize
; Select and Option
lda CONSOL
tay
and #%00000100
beq callActivation ; Option key
tya
and #%00000010
jeq pressedTAB ; Select key
jsr GetKeyFast
and #%10111111 ; SHIFT elimination
cmp #@kbcode._atari ; Option key
beq callActivation
cmp #@kbcode._A ; $3f ; A
bne @+
callActivation