1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-05 23:05:24 +00:00
cc65/libsrc/geos/conio/kbhit.s

19 lines
246 B
ArmAsm
Raw Normal View History

;
; Maciej 'YTM/Elysium' Witkowiak
;
; 27.10.2001
; unsigned char kbhit (void);
.export _kbhit
.import return0, return1
.include "../inc/geossym.inc"
_kbhit:
lda pressFlag
bmi L1
jmp return0
L1: jmp return1