home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_100 / 110_01 / yamsys.h < prev    next >
Text File  |  1984-03-03  |  2KB  |  51 lines

  1. /*
  2. >>:yamsys.h 9-01-81
  3.  *
  4.  * global equates for specific installation and modem ports
  5.  * Other modem specific stuff is in yam5.c
  6.  *
  7.  */
  8.  
  9. /* files have single letter ext so pip yam?????.? gets all source but no crl */
  10. #define HELPFILE "B:YAMHELP.T"
  11. #define PHONES "A:YAMPHONE.T"
  12. #define CAFPERSONAL
  13. #define CPM
  14. #define BDSC
  15. #define CLKMHZ 2
  16. #define SECPBLK 16    /* 2k blocks on Magnolia DD controller 8" disk */
  17. /* ********* following string must be in UPPER case ********* */
  18. #define DISKS "ABEFIJ"    /* legal disks for default selection */
  19. #define MAXUSER 0    /* maximum user number */
  20.  
  21. /* defines for Heath Z89 aux board port at 0320 */
  22. #define STATLINE    /* do special status line information */
  23. #define Z19                /* terminal type */
  24. #define TERMRESET    "\033x1\033j\033Y8P\033K\033k\033v"
  25. #define Z89                /* type of modem port */
  26. #define DEFBAUD 19200    /* initial baud rate setting */
  27. #define DPORT 0340
  28. #define SPORT 0345
  29.  
  30. char inp();                /* for fastest 8080 code */
  31. #define MIREADY (inp(Sport)&1)    /* value != 0 if char available */
  32. #define MIERROR (inp(Sport)&0)        /* != 0 if any error condx */
  33. #define MICHAR (inp(Dport))        /* get char assuming miready */
  34.  
  35. #define MOREADY (inp(Sport)&040)    /* modem ready to load next char */
  36. /* It would be nice to have parameterized macros to do the following */
  37. #define MODATA Dport         /* modem data output port */
  38.  
  39. char bios();
  40. #define POREADY bios(15,0)
  41.  
  42. #define CIREADY (inp(CSTAT)&CIMASK)
  43. #define CICHAR (inp(CDATA))
  44.  
  45. #define COREADY (inp(CSTAT)&COMASK)
  46.  
  47. /* STDIO file included here to simplify cross-compiles of cyams */
  48. #include "a:bdscio.h"
  49. /
  50.  
  51. /* defines for Heath Z89 aux board por