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

  1.  
  2. /*
  3. >>:yamsys.h 9-01-81
  4.  *
  5.  * global equates for specific installation and modem ports
  6.  * Other modem specific stuff is in yam5.c
  7.  *
  8.  */
  9.  
  10. /* files have single letter ext so pip yam?????.? gets all source but no crl */
  11. #define HELPFILE "YAMHELP.T"
  12. #define PHONES "YAMPHONE.T"
  13. #define CPM
  14. #define CDOS    /* a variant of cp/m, perhaps better, certainly different! */
  15. #define BDSC
  16. char inp();        /* for tighter compiled code ... */
  17. #define CLKMHZ 4
  18. #define SECPBLK 8    /* standard 1k blocks on 4fdc */
  19. /* ********* following string must be in UPPER case ********* */
  20. #define DISKS "AB"    /* legal disks for default selection */
  21. #define MAXUSER 1
  22.  
  23. #define T4014        /* for the big flash ... */
  24. /* defines for TU-ART board with modem port at 0x60 */
  25. #define TUART                /* type of modem port */
  26. #define DEFBAUD 19200    /* initial baud rate setting */
  27. #define SPORT 0x60
  28. #define DPORT 0x61
  29. #define MIREADY (inp(Sport)&0100)    /* value != 0 if char available */
  30. #define MIERROR (inp(Sport)&03)    /* != 0 if any error condx */
  31. #define MICHAR (inp(Dport))        /* get char assuming miready */
  32.  
  33. #define MOREADY (inp(Sport)&0200)    /* modem ready to load next char */
  34. /* It would be nice to have parameterized macros to do the following */
  35. #define MODATA (Dport)            /* modem data output port */
  36.  
  37. char bios();
  38. #define POREADY bios(15,0)
  39.  
  40. #define CIREADY (inp(CSTAT)&CIMASK)
  41. #define CICHAR (inp(CDATA))
  42.  
  43. #define COREADY (inp(CSTAT)&COMASK)
  44.  
  45. #include "bdsciotu.h"
  46. ine CLKMHZ 4
  47. #define SECPBLK 8    /* standard 1k blocks on 4fdc */
  48. /*