1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-01 13:41:34 +00:00

kbhit added for telestrat target

This commit is contained in:
jede 2021-02-01 17:53:07 +01:00 committed by Oliver Schmidt
parent 6c59a6254f
commit f622783ae1

19
libsrc/telestrat/kbhit.s Normal file
View File

@ -0,0 +1,19 @@
;
; 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