home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD v1.2 / amidev_cd_12.iso / inc&ad2.0 / includes / hardware / dmabits.h < prev    next >
C/C++ Source or Header  |  1992-09-01  |  1KB  |  52 lines

  1. #ifndef    HARDWARE_DMABITS_H
  2. #define    HARDWARE_DMABITS_H
  3. /*
  4. **    $Filename: hardware/dmabits.h $
  5. **    $Release: 2.04 Includes, V37.4 $
  6. **    $Revision: 36.2 $
  7. **    $Date: 90/07/10 $
  8. **
  9. **    include file for defining dma control stuff
  10. **
  11. **    (C) Copyright 1985-1991 Commodore-Amiga, Inc.
  12. **        All Rights Reserved
  13. */
  14.  
  15. /* write definitions for dmaconw */
  16. #define DMAF_SETCLR  0x8000
  17. #define DMAF_AUDIO   0x000F   /* 4 bit mask */
  18. #define DMAF_AUD0    0x0001
  19. #define DMAF_AUD1    0x0002
  20. #define DMAF_AUD2    0x0004
  21. #define DMAF_AUD3    0x0008
  22. #define DMAF_DISK    0x0010
  23. #define DMAF_SPRITE  0x0020
  24. #define DMAF_BLITTER 0x0040
  25. #define DMAF_COPPER  0x0080
  26. #define DMAF_RASTER  0x0100
  27. #define DMAF_MASTER  0x0200
  28. #define DMAF_BLITHOG 0x0400
  29. #define DMAF_ALL     0x01FF   /* all dma channels */
  30.  
  31. /* read definitions for dmaconr */
  32. /* bits 0-8 correspnd to dmaconw definitions */
  33. #define DMAF_BLTDONE 0x4000
  34. #define DMAF_BLTNZERO    0x2000
  35.  
  36. #define DMAB_SETCLR  15
  37. #define DMAB_AUD0    0
  38. #define DMAB_AUD1    1
  39. #define DMAB_AUD2    2
  40. #define DMAB_AUD3    3
  41. #define DMAB_DISK    4
  42. #define DMAB_SPRITE  5
  43. #define DMAB_BLITTER 6
  44. #define DMAB_COPPER  7
  45. #define DMAB_RASTER  8
  46. #define DMAB_MASTER  9
  47. #define DMAB_BLITHOG 10
  48. #define DMAB_BLTDONE 14
  49. #define DMAB_BLTNZERO    13
  50.  
  51. #endif    /* HARDWARE_DMABITS_H */
  52.