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

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

Imported original source code.

  • Property mode set to 100755
File size: 197 bytes
RevLine 
[3ae31e9]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.