home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / cbm / os-include.lha / os-include / hardware / intbits.h < prev    next >
C/C++ Source or Header  |  1993-10-15  |  2KB  |  52 lines

  1. #ifndef    HARDWARE_INTBITS_H
  2. #define    HARDWARE_INTBITS_H
  3. /*
  4. **    $VER: intbits.h 39.1 (18.9.92)
  5. **    Includes Release 40.15
  6. **
  7. **    bits in the interrupt enable (and interrupt request) register
  8. **
  9. **    (C) Copyright 1985-1993 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    (1L<<15)
  35. #define  INTF_INTEN    (1L<<14)
  36. #define  INTF_EXTER    (1L<<13)
  37. #define  INTF_DSKSYNC    (1L<<12)
  38. #define  INTF_RBF    (1L<<11)
  39. #define  INTF_AUD3    (1L<<10)
  40. #define  INTF_AUD2    (1L<<9)
  41. #define  INTF_AUD1    (1L<<8)
  42. #define  INTF_AUD0    (1L<<7)
  43. #define  INTF_BLIT    (1L<<6)
  44. #define  INTF_VERTB    (1L<<5)
  45. #define  INTF_COPER    (1L<<4)
  46. #define  INTF_PORTS    (1L<<3)
  47. #define  INTF_SOFTINT    (1L<<2)
  48. #define  INTF_DSKBLK    (1L<<1)
  49. #define  INTF_TBE    (1L<<0)
  50.  
  51. #endif    /* HARDWARE_INTBITS_H */
  52.