]> git.sur5r.net Git - cc65/blob - libsrc/cbm610/kbhit.s
TGI Implementation
[cc65] / libsrc / cbm610 / kbhit.s
1 ;
2 ; Ullrich von Bassewitz, 06.08.1998
3 ;
4 ; int kbhit (void);
5 ;
6
7         .export         _kbhit
8         .import         return0, return1
9
10         .include        "cbm610.inc"
11
12 .proc   _kbhit
13         lda     KeyIndex        ; Get number of characters
14         bne     L1
15         jmp     return0
16 L1:     jmp     return1
17 .endproc
18
19
20
21
22
23