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

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