home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / coders / jËzyki_programowania / ace_basic / ace / include / hardware / intbits.h < prev   
C/C++ Source or Header  |  1977-12-31  |  2KB  |  55 lines

  1. #ifndef HARDWARE_INTBITS_H
  2. #define HARDWARE_INTBITS_H 1
  3. /*
  4. ** intbits.h for ACE Basic
  5. **
  6. ** Note: Translated to ACE by ConvertC2ACE
  7. **       @ MapMeadow Software, Nils Sjoholm
  8. **
  9. **
  10. ** Date: 09/03/95
  11. **
  12. **
  13. */
  14.  
  15.  
  16. #define  INTB_SETCLR    (15)  /* Set/Clear control bit. Determines if bits */
  17.         /* written with a 1 get set or cleared. Bits */
  18.         /* written with a zero are allways unchanged */
  19. #define  INTB_INTEN (14)  /* Master interrupt (enable only ) */
  20. #define  INTB_EXTER (13)  /* External interrupt */
  21. #define  INTB_DSKSYNC   (12)  /* Disk re-SYNChronized */
  22. #define  INTB_RBF   (11)  /* serial port Receive Buffer Full */
  23. #define  INTB_AUD3  (10)  /* Audio channel 3 block finished */
  24. #define  INTB_AUD2  (9)   /* Audio channel 2 block finished */
  25. #define  INTB_AUD1  (8)   /* Audio channel 1 block finished */
  26. #define  INTB_AUD0  (7)   /* Audio channel 0 block finished */
  27. #define  INTB_BLIT  (6)   /* Blitter finished */
  28. #define  INTB_VERTB (5)   /* start of Vertical Blank */
  29. #define  INTB_COPER (4)   /* Coprocessor */
  30. #define  INTB_PORTS (3)   /* I/O Ports and timers */
  31. #define  INTB_SOFTINT   (2)   /* software interrupt request */
  32. #define  INTB_DSKBLK    (1)   /* Disk Block done */
  33. #define  INTB_TBE   (0)   /* serial port Transmit Buffer Empty */
  34.  
  35.  
  36.  
  37. #define  INTF_SETCLR    (32768&)
  38. #define  INTF_INTEN (16384&)
  39. #define  INTF_EXTER (8192&)
  40. #define  INTF_DSKSYNC   (4096&)
  41. #define  INTF_RBF   (2048&)
  42. #define  INTF_AUD3  (1024&)
  43. #define  INTF_AUD2  (512&)
  44. #define  INTF_AUD1  (256&)
  45. #define  INTF_AUD0  (128&)
  46. #define  INTF_BLIT  (64&)
  47. #define  INTF_VERTB (32&)
  48. #define  INTF_COPER (16&)
  49. #define  INTF_PORTS (8&)
  50. #define  INTF_SOFTINT   (4&)
  51. #define  INTF_DSKBLK    (2&)
  52. #define  INTF_TBE   (1&)
  53.  
  54. #endif  /* HARDWARE_INTBITS_H */
  55.