source:
buchla-68k/orig/GEMDOS/SCANS.C@
f537c48
| Last change on this file since f537c48 was 3ae31e9, checked in by , 8 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.
![(please configure the [header_logo] section in trac.ini)](http://bob.lopatic.de/chrome/site/logo.png)