home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
BEEHIVE
/
COMMS
/
YAMBEE.ARC
/
HARDWARE.MB
< prev
next >
Wrap
Text File
|
1990-09-20
|
1KB
|
32 lines
/* This header file contains hardware-dependent definitions for C programs. */
/* specifically for the Microbee */
/* Some console (video) terminal characteristics: */
#define TWIDTH 80 /* # of columns */
#define TLENGTH 24 /* # of lines */
#define CLEARS "\0x1a" /* String to clear screen on console */
#define BELL '\007' /* String to ring the bell */
#define INTOREV "\033)" /* String to switch console to highlight video */
#define OUTAREV "\033(" /* String to switch console OUT of highlight video */
#define CURSOROFF "" /* String to turn cursor off */
#define CURSORON "" /* String to turn cursor on */
#define ESC '\033' /* Standard ASCII 'escape' character */
/* console & printer defs */
#define CON_TBE TRUE /* Console out always ready */
#define CON_RDA bios(2,0) /* keyboard status */
#define CON_TDATA bios(4,byte) /* VDU driver */
#define CON_RDATA bios(3,0) /* char in */
#define PO_READY bios(15,0) /* printer ready? */
/* modem defs */
#define MOD_TBE (TRUE) /* bee does not return until finished output */
#define MOD_TDATA(byte) beeout(byte) /* output to modem */
#define MOD_RDA miready() /* any data on input? */
#define MOD_RDATA beein() /* in from modem */
/* some ports we use */
#define dial_port 0x00 /* modem dialling port */
#define UPORT 0xE0 /* unused port for yam */
/* end of file */