mirror of
https://github.com/cc65/cc65.git
synced 2024-11-09 04:08:11 +00:00
19 lines
246 B
ArmAsm
19 lines
246 B
ArmAsm
|
|
||
|
;
|
||
|
; 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
|