Select and Option keys works in game

This commit is contained in:
Pecusx
2022-08-22 21:39:16 +02:00
parent 90eff39dda
commit 701aff0435
5 changed files with 18 additions and 6 deletions
+5 -1
View File
@@ -1590,6 +1590,10 @@ getkeyend
lda SKSTAT
cmp #$ff
bne WaitForKeyRelease
lda CONSOL
and #%00000110 ; Select and Option only
cmp #%00000110
bne WaitForKeyRelease
rts
.endp
;--------------------------------------------------
@@ -1626,7 +1630,7 @@ noKey
.endp
.proc WaitOneFrame
lda CONSOL
cmp #6 ; START KEY
and #%00000001 ; START KEY
beq @+
wait
@ rts