/* Header file for the Setup Program - Cp/m 3.1 version (20_Jan_84) * ---------------------------------------------------------------- */ # include /* names for groups of things * -------------------------- */ # define PROTOCOL 0 # define CBAUD 1 # define PBAUD 2 # define PTYPE 3 /* baud rate codes * --------------- */ # define B110 0 # define B300 1 # define B600 2 # define B1200 3 # define B2400 4 # define B4800 5 # define B9600 6 # define B19200 7 # define LOWBAUD B110 # define HIGHBAUD B19200 # define NBAUD (HIGHBAUD - LOWBAUD + 1) /* types of printers * ----------------- */ # define SERIAL 0 # define CENTRONICS 1 /* protocols * --------- */ # define XONXOFF 0 # define HARDHAND 1 /* hardware handshaking */ /* CP/M system call numbers * ------------------------ */ # define CPUTC 2 /* Put a character to the console */ # define CGETC 1 /* Get a character from the console */ # define CPRS 9 /* Print a string on the console */ # define GETVER 12 /* Return cpm version number */ /* names of places on the screen * ----------------------------- */ # define CBAUDSPOT 3 # define TYPESPOT 5 # define PBAUDSPOT 7 # define PROTOSPOT 9 # define SELECTSPOT 13 /* names of specific ascii characters * ---------------------------------- */ # define ESC 033 unsigned char *baudname[], cent, hard, *pname[], /* table of printer interface names */ *protoname[], /* table of printer protocol names */ cbaud, pbaud, ptype, protocol,