home *** CD-ROM | disk | FTP | other *** search
/ Intermedia 1998 January / inter1_98.iso / www / rozi / MOD2.ZIP / DETECT.DOC next >
Text File  |  1995-05-20  |  1KB  |  40 lines

  1.  
  2.   DETECT.TPU
  3.  
  4.   Soundblaster autodetect routine.
  5.   Based on TINY MOD v0.1b by Carlos Hasan, (C) 1993.
  6.   Supplemented and recoded for PASCAL by TSC-Software, 1995.
  7.  
  8.   --------------------------------------------------------------------------
  9.  
  10.   When you link this unit into your program, it will automaticly detect the
  11.   Soundblaster's base address, interrupt channel and DSP version as soon as
  12.   your program is being executed.
  13.  
  14.   It defines the following interface data:
  15.  
  16.  
  17.   Const                              { CardType values }
  18.    NONE          = 0;
  19.    SB            = 1;
  20.    SBPRO         = 2;
  21.    SB16          = 3;
  22.  
  23.   Type                               { nessecarry Soundblaster data }
  24.    SbDataRec     = Record
  25.     CardType:    Byte;               { type of SB card (s.a.)       }
  26.     DSPNum:      Word;               { version of DSP               }
  27.     SbAddr:      Word;               { base address                 }
  28.     SbIrq:       Word;               { irq channel                  }
  29.    End;
  30.  
  31.   Var
  32.    SBData:       SBDataRec;
  33.  
  34.  
  35.   The units MODULES.TPU and VOCS.TPU need these data in their initialisation
  36.   routines. So make sure, that DETECT.TPU is available, if  you want to  use
  37.   one of these libraries.
  38.  
  39.  
  40.