/* >>:xyamdyna.h used as yamsys.h 6-16-83 * * global equates for specific installation and modem ports * Other modem specific stuff is in yam5.c * */ #define XMODEM #define RESTRICTED /* files have single letter ext so pip yam?????.? gets all source but no crl */ #define HELPFILE "YAMXHELP.T" #define PHONES "YAMPHONE.T" #define LOGFILE "XYAM.LOG" #define CPM #define BDSC char inp(); /* for tighter compiled code ... */ #define CLKMHZ 4 #define SECPBLK 8 /* ??????standard 1k blocks on 4fdc */ /* ********* following string must be in UPPER case ********* */ #define DISKS "ABCEF" /* legal disks for default selection */ #define MAXUSER 4 /* defines for DYNABYTE board with modem port at 0x80 */ #define DYNABYTE /* type of modem port */ #define DEFBAUD 300 /* initial baud rate setting */ #define SPORT 0x83 /* modem status port # */ #define DPORT 0x80 /* modem data port # */ #define MIREADY (inp (Sport) & 0X08) /* value != 0 if char available */ #define MIERROR (inp (Sport) & 03) /* != 0 if any error condx */ #define MICHAR (inp (Dport)) /* get char assuming miready */ #define MOREADY (inp (SPORT) & 0X10) /* modem ready to load next char */ /* It would be nice to have parameterized macros to do the following */ #define MODATA (DPORT + 6) /* modem data output port */ char bios(); #define POREADY bios(15,0) /* printer out ready status */ #define CIREADY bios (2, 0) /* console input ready == 0XFF, else == 0 */ #define CICHAR bios (3, 0) /* read console input char */ #define COREADY (inp (0X93) & 0X10) /* console output ready status != 0 ready for more char, == 0 not ready for more char */ #include "b:bdscio.h"