source: buchla-68k/orig/GEMDOS/SCANS.C@ f40d52b

Last change on this file since f40d52b was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Imported original source code.

  • Property mode set to 100755
File size: 197 bytes
Line 
1#include "osbind.h"
2#include "stdio.h"
3#include "stddefs.h"
4
5#define CON_DEV 2
6
7main()
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.