home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 300-399 / ff345.lzh / X2X / x2x_amiga.h < prev    next >
C/C++ Source or Header  |  1990-04-16  |  2KB  |  74 lines

  1. /************************************************************************ 
  2. *                                                                       * 
  3. *                      Filename:        x2x_amiga.h                     *      
  4. *                       Version:        0.0                             * 
  5. *                       Author :        Gary Duncan                     * 
  6. *                    24 Inkster St                   *
  7. *                    Kambah ACT 2902                 *
  8. *                    Australia                       *
  9. *                                                                       * 
  10. *-----------------------------------------------------------------------* 
  11. * Modification record 
  12. * ------------------- 
  13. * Date         By whom             Change 
  14. * ----         -------             ------ 
  15. * 12 Apr 89     GMD                AMIGA'd
  16. *------------------------------------------------------------------------ 
  17. */
  18.  
  19. #ifndef AMIGA 
  20. #include <sys/file.h> 
  21. #else 
  22. #define   L_SET  0                  /* not def'd on PC AZTEC env */ 
  23. #include <fcntl.h> 
  24. #endif 
  25.  
  26. #include <stdio.h> 
  27. #include <sgtty.h> 
  28. #include <ctype.h> 
  29.  
  30.  
  31.  
  32. typedef unsigned char uchar ; 
  33.  
  34. struct aa {  
  35.             long addr ; 
  36.             uchar bite; 
  37.           } ; 
  38.  
  39.  
  40. #define TRUE     1 
  41. #define FALSE    0 
  42.  
  43. #define K64K    65536L
  44. #define IPLEN 1024                 /* > max DLL record data length */ 
  45. #define OPBUFLEN 2048 
  46.  
  47. #define IRLEN   1             /* INTEL dll offsets */ 
  48. #define IRADDR  3 
  49. #define IRTYPE  7 
  50. #define IRDATA  9 
  51.  
  52. #define TRLEN   5            /* TEKTRONIX dll offsets */ 
  53. #define TRSUM   7 
  54. #define TRADDR  1 
  55. #define TRDATA  9 
  56.  
  57. #define TRXLEN  1            /* TEKTRONIX - extended dll offsets */ 
  58. #define TRXTYPE 3 
  59. #define TRXSUM  4 
  60. #define TRXADDR  6 
  61. #define TRXDATA  15 
  62.  
  63. #define MRLEN   2             /* MOTOROLA  dll offsets */ 
  64. #define MRADDR  4             /*   */ 
  65. #define MRTYPE  1 
  66. #define MRDATA  8   
  67.  
  68. #define QLEN     1            /* QTAM dll offsets */ 
  69. #define QADDR    2         
  70.