home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / hamradio / netspy.zip / GESTSER.H < prev    next >
Text File  |  1989-07-24  |  982b  |  31 lines

  1. /*******************************************************
  2.  *     include  : gestser.h                            *
  3.  *     data     : 12/4/1989                            *
  4.  *     vers.    : 1.0                                  *
  5.  *     contenuto: utili costanti per l'uso dei regi-   *
  6.  *                stri della RS232.                    *
  7.  *     note     :                                      *
  8.  *******************************************************/
  9.  
  10.  
  11. #define    BUFSIZE        10000  /* dimensione buffer seriale in ricezione */
  12.  
  13. #define    com1_int    0x0c
  14. #define    com2_int    0x0b
  15. #define    com1_lcr    0x3fb
  16. #define    com2_lcr    0x2fb
  17. #define    com1_ier    0x3f9
  18. #define    com2_ier    0x2f9
  19. #define    com1_mcr    0x3fc
  20. #define    com2_mcr    0x2fc
  21. #define    com1_data    0x3f8
  22. #define    com2_data    0x2f8
  23. #define pic_mask      0x21
  24. #define pic_eoi       0x20
  25. #define com1_stat     0x3fd
  26. #define int1_mask     0x10
  27. #define com2_stat     0x2fd
  28. #define int2_mask     0x08
  29. #define    com1_msr    0x3fe
  30. #define    com2_msr    0x2fe
  31.