Fix X register for kbhit
This commit is contained in:
parent
b52ee25385
commit
a9dac3b1ef
1 changed files with 3 additions and 1 deletions
|
@ -11,9 +11,11 @@
|
||||||
_kbhit:
|
_kbhit:
|
||||||
BRK_TELEMON XRD0
|
BRK_TELEMON XRD0
|
||||||
bcs @no_char_action
|
bcs @no_char_action
|
||||||
|
ldx #$00
|
||||||
lda #$01
|
lda #$01
|
||||||
rts
|
rts
|
||||||
@no_char_action:
|
@no_char_action:
|
||||||
lda #$00
|
lda #$00
|
||||||
|
tax
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue