source:
buchla-68k/orig/GEMDOS/SCANS.C@
6888aa2
Last change on this file since 6888aa2 was 3ae31e9, checked in by , 7 years ago | |
---|---|
|
|
File size: 197 bytes |
Rev | Line | |
---|---|---|
[3ae31e9] | 1 | #include "osbind.h" |
2 | #include "stdio.h" | |
3 | #include "stddefs.h" | |
4 | ||
5 | #define CON_DEV 2 | |
6 | ||
7 | main() | |
8 | { | |
9 | int c; | |
10 | ||
11 | while ('\033' NE (0x00FF & (c = Bconin(CON_DEV)))) { | |
12 | ||
13 | printf("%08x\n", c); | |
14 | } | |
15 | } |
Note:
See TracBrowser
for help on using the repository browser.