Optimized based on https://github.com/cc65/cc65/pull/1393.
This commit is contained in:
@@ -10,12 +10,8 @@
|
|||||||
|
|
||||||
_kbhit:
|
_kbhit:
|
||||||
BRK_TELEMON XRD0
|
BRK_TELEMON XRD0
|
||||||
bcs @no_char_action
|
|
||||||
ldx #$00
|
ldx #$00
|
||||||
lda #$01
|
txa
|
||||||
|
rol
|
||||||
|
eor #$01
|
||||||
rts
|
rts
|
||||||
@no_char_action:
|
|
||||||
lda #$00
|
|
||||||
tax
|
|
||||||
rts
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user