home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Interactive Guide
/
c-cplusplus-interactive-guide.iso
/
c_ref
/
csource3
/
110_01
/
yamz89.h
< prev
next >
Wrap
Text File
|
1984-03-04
|
2KB
|
51 lines
/*
>>:yamsys.h 9-01-81
*
* global equates for specific installation and modem ports
* Other modem specific stuff is in yam5.c
*
*/
/* files have single letter ext so pip yam?????.? gets all source but no crl */
#define HELPFILE "B:YAMHELP.T"
#define PHONES "A:YAMPHONE.T"
#define CAFPERSONAL
#define CPM
#define BDSC
#define CLKMHZ 2
#define SECPBLK 16 /* 2k blocks on Magnolia DD controller 8" disk */
/* ********* following string must be in UPPER case ********* */
#define DISKS "ABEFIJ" /* legal disks for default selection */
#define MAXUSER 0 /* maximum user number */
/* defines for Heath Z89 aux board port at 0320 */
#define STATLINE /* do special status line information */
#define Z19 /* terminal type */
#define TERMRESET "\033x1\033j\033Y8P\033K\033k\033v"
#define Z89 /* type of modem port */
#define DEFBAUD 19200 /* initial baud rate setting */
#define DPORT 0340
#define SPORT 0345
char inp(); /* for fastest 8080 code */
#define MIREADY (inp(Sport)&1) /* value != 0 if char available */
#define MIERROR (inp(Sport)&0) /* != 0 if any error condx */
#define MICHAR (inp(Dport)) /* get char assuming miready */
#define MOREADY (inp(Sport)&040) /* modem ready to load next char */
/* It would be nice to have parameterized macros to do the following */
#define MODATA Dport /* modem data output port */
char bios();
#define POREADY bios(15,0)
#define CIREADY (inp(CSTAT)&CIMASK)
#define CICHAR (inp(CDATA))
#define COREADY (inp(CSTAT)&COMASK)
/* STDIO file included here to simplify cross-compiles of cyams */
#include "a:bdscio.h"
/
/* defines for Heath Z89 aux board por