Fix X register for kbhit
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user