home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / TRSICAT.LZX / CATS_CD2_TRSI / Inc&AD1.3 / Includes / hardware / intbits.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-12  |  1.7 KB  |  52 lines

  1. #ifndef HARDWARE_INTBITS_H
  2. #define HARDWARE_INTBITS_H
  3. /*
  4. **    $Filename: hardware/intbits.h $
  5. **    $Release: 1.3 $
  6. **
  7. **    bits in the interrupt enable (and interrupt request) register 
  8. **
  9. **    (C) Copyright 1985,1986,1987,1988 Commodore-Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. #define     INTB_SETCLR    (15)  /* Set/Clear control bit. Determines if bits */
  14.         /* written with a 1 get set or cleared. Bits */
  15.         /* written with a zero are allways unchanged */
  16. #define     INTB_INTEN    (14)  /* Master interrupt (enable only ) */
  17. #define     INTB_EXTER    (13)  /* External interrupt */
  18. #define     INTB_DSKSYNC    (12)  /* Disk re-SYNChronized */
  19. #define     INTB_RBF    (11)  /* serial port Receive Buffer Full */
  20. #define     INTB_AUD3    (10)  /* Audio channel 3 block finished */
  21. #define     INTB_AUD2    (9)   /* Audio channel 2 block finished */
  22. #define     INTB_AUD1    (8)   /* Audio channel 1 block finished */
  23. #define     INTB_AUD0    (7)   /* Audio channel 0 block finished */
  24. #define     INTB_BLIT    (6)   /* Blitter finished */
  25. #define     INTB_VERTB    (5)   /* start of Vertical Blank */
  26. #define     INTB_COPER    (4)   /* Coprocessor */
  27. #define     INTB_PORTS    (3)   /* I/O Ports and timers */
  28. #define     INTB_SOFTINT    (2)   /* software interrupt request */
  29. #define     INTB_DSKBLK    (1)   /* Disk Block done */
  30. #define     INTB_TBE    (0)   /* serial port Transmit Buffer Empty */
  31.  
  32.  
  33.  
  34. #define     INTF_SETCLR    (1<<15)
  35. #define     INTF_INTEN    (1<<14)
  36. #define     INTF_EXTER    (1<<13)
  37. #define     INTF_DSKSYNC    (1<<12)
  38. #define     INTF_RBF    (1<<11)
  39. #define     INTF_AUD3    (1<<10)
  40. #define     INTF_AUD2    (1<<9)
  41. #define     INTF_AUD1    (1<<8)
  42. #define     INTF_AUD0    (1<<7)
  43. #define     INTF_BLIT    (1<<6)
  44. #define     INTF_VERTB    (1<<5)
  45. #define     INTF_COPER    (1<<4)
  46. #define     INTF_PORTS    (1<<3)
  47. #define     INTF_SOFTINT    (1<<2)
  48. #define     INTF_DSKBLK    (1<<1)
  49. #define     INTF_TBE    (1<<0)
  50.  
  51. #endif    /* HARDWARE_INTBITS_H */
  52.