;ADLIB			*PNPB005
;ADLIB OPL3		*PNPB020
;MPU401			*PNPB006
;SBMIDI			*PNPB007 
;SBMIDI			*PNPB008
;SBPROMIDI		*PNPB009
;SBPRO16MIDI		*PNPB00A
;MIDIMAPPER		*PNPB01D

[Version]
Signature = "$CHICAGO$"
Class = MEDIA
provider=%MSFT%
LayoutFile=layout.inf

[ClassInstall]
Addreg=MidiReg

[MidiReg]
HKR,,,,%MediaClassName%
HKR,,Icon,,0
HKR,,Installer,,MMSys.Cpl

[Manufacturer]
%MfgName%=Generic

[Generic]
%*PNPB005.DeviceDesc%=ADLIB, *PNPB005
%*PNPB020.DeviceDesc%=ADLIB.OPL3, *PNPB020
%*PNPB006.DeviceDesc%=MPU401, *PNPB006
%*PNPB007.DeviceDesc%=SBMIDI, *PNPB007
%*PNPB008.DeviceDesc%=SBMIDI, *PNPB008
%*PNPB009.DeviceDesc%=SBPROMIDI, *PNPB009
%*PNPB00A.DeviceDesc%=SB16MIDI, *PNPB00A
%*PNPB01D.DeviceDesc%=MIDIMAPPER, *PNPB01D

;---------------------------------------------------------------;

[DestinationDirs]
MPU401.CopyList = 11
SB.CopyList = 11
MIDIMAPPER.CopyList = 11
OPL2.Copy.Win = 10
OPL3.Copy.Win = 10
ADLIB.Copy.Sys = 11

[PreCopySection]
HKR,,NoSetupUI,,1

;---------------------------------------------------------------;

[Adlib]
LogConfig = *PNPB005.LogConfig
CopyFiles = ADLIB.Copy.Sys, OPL2.Copy.Win
addreg = ADLIB.addreg

[*PNPB005.LogConfig]
ConfigPriority = HARDWIRED
IOConfig = 388-38f		 ;Allocate 1 port at base 388

[*PNPB005.Det]
LogConfig=*PNPB005.LogConfig
AddReg=PreCopySection

;----------------------------------------------------------------;

[Adlib.OPL3]
LogConfig = *PNPB020.LogConfig
CopyFiles = ADLIB.Copy.Sys, OPL3.Copy.Win
addreg = ADLIB.addreg

[*PNPB020.LogConfig]
ConfigPriority = HARDWIRED
IOConfig = 388-38f		 ;Allocate 1 port at base 388

[*PNPB020.Det]
LogConfig=*PNPB020.LogConfig
AddReg=PreCopySection

;----------------------------------------------------------------;

[MPU401]
LogConfig = *PNPB006.LogConfig
CopyFiles=MPU401.CopyList
AddReg = MPU401.AddReg

[*PNPB006.LogConfig]
ConfigPriority = HARDRECONFIG
IOConfig = 300-301 , 310-311 , 320-321 , 330-331 , 332-333 , 334-335 , 336-337 , 3D0-3D1
IRQConfig = 2 , 3 , 4 , 5 , 7 , 10

[*PNPB006.Det]
LogConfig=*PNPB006.LogConfig
AddReg=PreCopySection

;---------------------------------------------------------------;

[SBMIDI]
CopyFiles=SB.CopyList
AddReg=SB.AddReg

[*PNPB007.Det]
AddReg=PreCopySection

[*PNPB008.Det]
AddReg=PreCopySection

;---------------------------------------------------------------;

[SBPROMIDI]
CopyFiles=SB.CopyList
AddReg=SB.AddReg

[*PNPB009.Det]
AddReg=PreCopySection

;---------------------------------------------------------------;

[SB16MIDI]
CopyFiles=SB.CopyList
AddReg=SB.AddReg

[*PNPB00A.Det]
AddReg=PreCopySection

;---------------------------------------------------------------;

[MPU401.CopyList]
msmpu401.drv,,

[ADLIB.Copy.Sys]
vadlibd.386,,
msadlib.drv,,

[OPL2.Copy.Win]
msadlib.mif,,

[OPL3.Copy.Win]
msadlib.mif,,
msadlib.pat,,

[SB.CopyList]
vsbd.386,,
mssblst.drv,,

[SB.AddReg]
HKR,,Devloader,,mmdevldr.386
HKR,SubClasses\mssblst,Driver,,mssblst.drv
HKR,SubClasses\mssblst,Class,,MIDI
HKR,SubClasses\mssblst\Instruments\In\GeneralMidiInstrument:0,,,"General MIDI Instrument"
HKR,SubClasses\mssblst\Instruments\In\GeneralMidiInstrument:0\File,,,general.mif
HKR,SubClasses\mssblst\Instruments\In\GeneralMidiInstrument:0\Channels,,,"1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16"
HKR,SubClasses\mssblst\Instruments\In\GeneralMidiInstrument:0\Port,,,0
HKR,SubClasses\mssblst\Instruments\In\GeneralMidiInstrument:0\Active,,,0
HKR,SubClasses\mssblst\Instruments\Out\GeneralMidiInstrument:0,,,"General MIDI Instrument"
HKR,SubClasses\mssblst\Instruments\Out\GeneralMidiInstrument:0\File,,,general.mif
HKR,SubClasses\mssblst\Instruments\Out\GeneralMidiInstrument:0\Channels,,,"1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16"
HKR,SubClasses\mssblst\Instruments\Out\GeneralMidiInstrument:0\Port,,,0
HKR,SubClasses\mssblst\Instruments\Out\GeneralMidiInstrument:0\Active,,,0

[MPU401.AddReg]
HKR,,Devloader,,mmdevldr.386
HKR,SubClasses\msmpu401,Driver,,msmpu401.drv
HKR,SubClasses\msmpu401,Class,,MIDI
HKR,SubClasses\msmpu401\Instruments\In\GeneralMidiInstrument:0,,,"General MIDI Instrument"
HKR,SubClasses\msmpu401\Instruments\In\GeneralMidiInstrument:0\File,,,general.mif
HKR,SubClasses\msmpu401\Instruments\In\GeneralMidiInstrument:0\Channels,,,"1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16"
HKR,SubClasses\msmpu401\Instruments\In\GeneralMidiInstrument:0\Port,,,0
HKR,SubClasses\msmpu401\Instruments\In\GeneralMidiInstrument:0\Active,,,0
HKR,SubClasses\msmpu401\Instruments\Out\GeneralMidiInstrument:0,,,"General MIDI Instrument"
HKR,SubClasses\msmpu401\Instruments\Out\GeneralMidiInstrument:0\File,,,general.mif
HKR,SubClasses\msmpu401\Instruments\Out\GeneralMidiInstrument:0\Channels,,,"1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16"
HKR,SubClasses\msmpu401\Instruments\Out\GeneralMidiInstrument:0\Port,,,0
HKR,SubClasses\msmpu401\Instruments\Out\GeneralMidiInstrument:0\Active,,,0

[ADLIB.addreg]
HKR,,Devloader,,mmdevldr.386
HKR,SubClasses\msadlib,Driver,,msadlib.drv
HKR,SubClasses\msadlib,Class,,MIDI
HKR,SubClasses\msadlib\Instruments\out\MSAdLib:0,,,%AL.OutputInstrument%
HKR,SubClasses\msadlib\Instruments\out\MSAdLib:0\File,,,msadlib.mif
HKR,SubClasses\msadlib\Instruments\out\MSAdLib:0\Port,,,0
HKR,SubClasses\msadlib\Instruments\out\MSAdLib:0\Active,,,1
HKR,SubClasses\msadlib\Instruments\out\MSAdLib:0\Channels,,,"1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16"

;---------------------------------------------------------------;

[MIDIMAPPER]
CopyFiles=MIDIMAPPER.CopyList
AddReg=MIDIMAPPER.AddReg

[MIDIMAPPER.CopyList]
midimap.drv,,

[MIDIMAPPER.AddReg]
HKR,,Devloader,,mmdevldr.386
HKR,SubClasses\midimap,Driver,,midimap.drv
HKR,SubClasses\midimap,Class,,MIDI
HKR,SubClasses\midimap,mapper,,

[*PNPB01D.Det]
AddReg=PreCopySection

;---------------------------------------------------------------;

[strings]
MSFT="Microsoft"
MfgName="Microsoft"
*PNPB005.DeviceDesc="AdLib Compatible (MIDI)"
*PNPB020.DeviceDesc="AdLib OPL3 Compatible (MIDI)"
*PNPB006.DeviceDesc="MPU-401 Compatible (MIDI)"
*PNPB007.DeviceDesc="Sound Blaster Compatible (MIDI)"
*PNPB008.DeviceDesc="Sound Blaster Compatible (MIDI)"
*PNPB009.DeviceDesc="Sound Blaster Pro Compatible (MIDI)"
*PNPB00A.DeviceDesc="Sound Blaster 16 Compatible (MIDI)"
*PNPB01D.DeviceDesc="MIDI Mapper"
MediaClassName="Media Devices"
AL.OutputInstrument="AdLib Output Instrument"
