home *** CD-ROM | disk | FTP | other *** search
/ FreeWare Collection 2 / FreeSoftwareCollection2pd199x-jp.img / av / crossam.h < prev    next >
Text File  |  1990-06-14  |  843b  |  42 lines

  1. /*        crossam.c    1990.02.11    Programmed by MSどす        */
  2. /*        last update    1990.04.24                                */
  3.  
  4. #define UCHAR    unsigned char
  5. #define UINT    unsigned int
  6. #define USHORT    unsigned short
  7. #define SHORT    short int
  8. #define OK    0
  9. #define NG    1
  10. #define ON    1
  11. #define OFF    0
  12. #define PARA_ERR_M    2
  13. #define PARA_ERR_D    3
  14. #define PARA_ERR_K    4
  15. #define PARA_ERR_T    5
  16. #define TRUE    1
  17. #define FALSE    0
  18.  
  19. #define    PADOUT    0x04d6
  20. #define    PADIN    0x04d2
  21. /*    0x04d0 */
  22. #define    STB_ON    0x2c
  23. /*    0x13 */
  24. #define    STB_OFF    0x20
  25. /*    0x10 */
  26. #define    DATA_SET    0x24
  27. /*    0x11 */
  28. #define    TIMEOUT    1024
  29. #define    LWAIT    100000
  30. #define    MWAIT    45000
  31. #define    SWAIT    256
  32.  
  33. #define    FSET    (UCHAR)0x01
  34. #define    KSET    (UCHAR)0x02
  35. #define    COUT    (UCHAR)0x03
  36. #define    SADR    (UCHAR)0x04
  37. #define    PLON    (UCHAR)0x07
  38. #define    PLOF    (UCHAR)0x08
  39. #define    IKEY    (UCHAR)0x0a
  40. #define    ZERO    (UCHAR)0x00
  41.  
  42.