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

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