home *** CD-ROM | disk | FTP | other *** search
/ AMIGA PD 1 / AMIGA-PD-1.iso / Programme_zum_Heft / Programmieren / Kurztests / PascalPCQ / Include / Hardware / ADKBits.i next >
Text File  |  1990-08-28  |  2KB  |  48 lines

  1. {
  2.     ADKBits.i for PCQ Pascal
  3.  
  4.     bit definitions for adkcon register
  5. }
  6.  
  7. Const
  8.  
  9.     ADKB_SETCLR        = 15;    { standard set/clear bit }
  10.     ADKB_PRECOMP1    = 14;    { two bits of precompensation }
  11.     ADKB_PRECOMP0    = 13;
  12.     ADKB_MFMPREC    = 12;    { use mfm style precompensation }
  13.     ADKB_UARTBRK    = 11;    { force uart output to zero }
  14.     ADKB_WORDSYNC    = 10;    { enable DSKSYNC register matching }
  15.     ADKB_MSBSYNC    = 9;    { (Apple GCR Only) sync on MSB for reading }
  16.     ADKB_FAST        = 8;    { 1 -> 2 us/bit (mfm), 2 -> 4 us/bit (gcr) }
  17.     ADKB_USE3PN        = 7;    { use aud chan 3 to modulate period of ?? }
  18.     ADKB_USE2P3        = 6;    { use aud chan 2 to modulate period of 3 }
  19.     ADKB_USE1P2        = 5;    { use aud chan 1 to modulate period of 2 }
  20.     ADKB_USE0P1        = 4;    { use aud chan 0 to modulate period of 1 }
  21.     ADKB_USE3VN        = 3;    { use aud chan 3 to modulate volume of ?? }
  22.     ADKB_USE2V3        = 2;    { use aud chan 2 to modulate volume of 3 }
  23.     ADKB_USE1V2        = 1;    { use aud chan 1 to modulate volume of 2 }
  24.     ADKB_USE0V1        = 0;    { use aud chan 0 to modulate volume of 1 }
  25.  
  26.     ADKF_SETCLR        = $8000;
  27.     ADKF_PRECOMP1    = $4000;
  28.     ADKF_PRECOMP0    = $2000;
  29.     ADKF_MFMPREC    = $1000;
  30.     ADKF_UARTBRK    = $0800;
  31.     ADKF_WORDSYNC    = $0400;
  32.     ADKF_MSBSYNC    = $0200;
  33.     ADKF_FAST        = $0100;
  34.     ADKF_USE3PN        = $0080;
  35.     ADKF_USE2P3        = $0040;
  36.     ADKF_USE1P2        = $0020;
  37.     ADKF_USE0P1        = $0010;
  38.     ADKF_USE3VN        = $0008;
  39.     ADKF_USE2V3        = $0004;
  40.     ADKF_USE1V2        = $0002;
  41.     ADKF_USE0V1        = $0001;
  42.  
  43.     ADKF_PRE000NS    = 0;            { 000 ns of precomp }
  44.     ADKF_PRE140NS    = ADKF_PRECOMP0;    { 140 ns of precomp }
  45.     ADKF_PRE280NS    = ADKF_PRECOMP1;    { 280 ns of precomp }
  46.     ADKF_PRE560NS    = ADKF_PRECOMP0 + ADKF_PRECOMP1; { 560 ns of precomp }
  47.  
  48.