mirror of
https://github.com/cc65/cc65.git
synced 2024-07-24 09:29:06 +00:00
20 lines
276 B
ArmAsm
20 lines
276 B
ArmAsm
;
|
|
; Jede, 2021-02-01
|
|
;
|
|
; int kbhit (void);
|
|
;
|
|
|
|
.export _kbhit
|
|
|
|
.include "telestrat.inc"
|
|
|
|
_kbhit:
|
|
BRK_TELEMON XRD0
|
|
bcs @no_char_action
|
|
lda #$01
|
|
rts
|
|
@no_char_action:
|
|
lda #$00
|
|
rts
|
|
|