Add dummy kbhit(), remove redundant documentation for cgetc().

This commit is contained in:
Stephan Mühlstrasser
2015-02-12 22:54:21 +01:00
parent 3601c3fb9b
commit 88df129215
2 changed files with 13 additions and 2 deletions

11
libsrc/osic1p/kbhit.s Normal file
View File

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