home *** CD-ROM | disk | FTP | other *** search
/ AMIGA PD 1 / AMIGA-PD-1.iso / Programme_zum_Heft / Programmieren / Kurztests / PascalPCQ / Include / Hardware / DMABits.i < prev    next >
Text File  |  1990-08-28  |  994b  |  46 lines

  1. {
  2.     DMABits.i for PCQ Pascal
  3.  
  4.     include file for defining dma control stuff
  5. }
  6.  
  7. Const
  8.  
  9. { write definitions for dmaconw }
  10.  
  11.     DMAF_SETCLR        = $8000;
  12.     DMAF_AUDIO       = $000F;    { 4 bit mask }
  13.     DMAF_AUD0        = $0001;
  14.     DMAF_AUD1        = $0002;
  15.     DMAF_AUD2        = $0004;
  16.     DMAF_AUD3        = $0008;
  17.     DMAF_DISK        = $0010;
  18.     DMAF_SPRITE      = $0020;
  19.     DMAF_BLITTER     = $0040;
  20.     DMAF_COPPER      = $0080;
  21.     DMAF_RASTER      = $0100;
  22.     DMAF_MASTER      = $0200;
  23.     DMAF_BLITHOG     = $0400;
  24.     DMAF_ALL         = $01FF;    { all dma channels }
  25.  
  26. { read definitions for dmaconr }
  27. { bits 0-8 correspnd to dmaconw definitions }
  28.  
  29.     DMAF_BLTDONE     = $4000;
  30.     DMAF_BLTNZERO    = $2000;
  31.  
  32.     DMAB_SETCLR      = 15;
  33.     DMAB_AUD0        = 0;
  34.     DMAB_AUD1        = 1;
  35.     DMAB_AUD2        = 2;
  36.     DMAB_AUD3        = 3;
  37.     DMAB_DISK        = 4;
  38.     DMAB_SPRITE      = 5;
  39.     DMAB_BLITTER     = 6;
  40.     DMAB_COPPER      = 7;
  41.     DMAB_RASTER      = 8;
  42.     DMAB_MASTER      = 9;
  43.     DMAB_BLITHOG     = 10;
  44.     DMAB_BLTDONE     = 14;
  45.     DMAB_BLTNZERO    = 13;
  46.