1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-28 22:30:12 +00:00

Fix X register for kbhit

This commit is contained in:
jede 2021-02-02 12:32:42 +01:00 committed by Oliver Schmidt
parent b52ee25385
commit a9dac3b1ef

View File

@ -11,9 +11,11 @@
_kbhit:
BRK_TELEMON XRD0
bcs @no_char_action
ldx #$00
lda #$01
rts
@no_char_action:
lda #$00
lda #$00
tax
rts