Files
cc65/libsrc/osic1p/kbhit.s
2015-02-12 22:54:21 +01:00

12 lines
244 B
ArmAsm

;
; int kbhit (void);
;
; Currently a dummy function that returns always true
.export _kbhit
_kbhit:
lda #$01 ; load low byte with true value
ldx #$00 ; load high byte
rts