home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / cbm / nduk-v37.lha / V37 / include / hardware / intbits.h < prev    next >
C/C++ Source or Header  |  1991-11-27  |  2KB  |  54 lines

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