/* >>:yamsys.h 10-4-81 * * global equates for specific installation and modem ports * Other modem specific stuff is in yam5.c * This version is for 2651 USART chip * */ /* files have single letter ext so pip yam?????.? gets all source but no crl */ #define HELPFILE "A:YAMHELP.T" #define PHONES "A:YAMPHONE.T" #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 "ABCDEF" /* legal disks for default selection */ #define MAXUSER 15 /* maximum user number */ #define DEFBAUD 300 #define FLAVOR "Lyle's YAM" #defune U2651 /* for eventual baud-rate routines, etc. */ #define DPORT 0x8 #define SPORT 0x9 char inp(); /* for fastest 8080 code */ #define MIREADY (inp(Sport)&02) /* value != 0 if char available */ #define MIREADYERROR /* rx data ready and error bits in smae reg */ #define CDO FALSE /* don't bother with carrier detect */ #define MIREADYMASK 02 /* rx character available */ #define MIERRORMASK 0 /* rx error condition */ #define MICHAR (inp(Dport)) /* get char assuming miready */ #define MOREADY (inp(Sport)&01) /* modem ready to load next char */ /* It would be nice to have parameterized macros to do the following */ #define MODATA (Dport+4) /* modem data output port */ char bios(); #define POREADY bios(15,0) #define CIREADY bios(2,0) #define CICHAR bios(3,0) #define COREADY TRUE #undef CDATA /* STDIO file included here to simplify cross-compiles of cyams */ #include "a:bdscio.h"