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

  1. /*
  2. >>:yamsys.h 9-06-81
  3.  *
  4.  * global equates for specific installation and modem ports
  5.  * Other modem specific stuff is in yam5.c
  6. ********* Version for TRS or other unit.  Check definitions carefully, I am
  7. gussing here!!!   please upload this file when corrected CAF
  8.  *
  9.  */
  10.  
  11. /* files have single letter ext so pip yam?????.? gets all source but no crl */
  12. #define HELPFILE "B:YAMHELP.T"
  13. #define PHONES "A:YAMPHONE.T"
  14.  
  15. #define CPM
  16. #define BDSC
  17. #define CLKMHZ 4
  18. #define SECPBLK 16    /* 2k blocks on Magnolia DD controller 8" disk */
  19. /* ********* following string must be in UPPER case ********* */
  20. #define DISKS "ABEFIJ"    /* legal disks for default selection */
  21. #define MAXUSER 0    /* maximum user number */
  22.  
  23. #define DEFBAUD 1200    /* initial baud rate setting */
  24. #define DPORT 0320
  25. #define SPORT 0325
  26.  
  27. char inp();                /* for fastest 8080 code */
  28. #define MIREADY (inp(Sport)&1)        /* value != 0 if char available */
  29. #define MIERROR FALSE            /* != 0 if any error condx */
  30. #define MICHAR (inp(Dport))        /* get char assuming miready */
  31.  
  32. #define MOREADY (inp(Sport)&040)    /* modem ready to load next char */
  33. /* It would be nice to have parameterized macros to do the following */
  34. #define MODATA Dport             /* modem data output port */
  35.  
  36. char bios();
  37. #define POREADY bios(15,0)
  38.  
  39. #define CIREADY (bios(2,0))
  40. #define CICHAR (bios(3,0))
  41.  
  42. #define COREADY TRUE
  43.  
  44. /* STDIO file included here to simplify cross-compiles of cyams */
  45. #include "a:bdscio.h"
  46. #define BDSC
  47. #define CLKMHZ 4
  48. #define SECPBLK 16    /* 2k blocks on Ma