[Version]
Signature="$WINDOWS 95$"
Class=MEDIA
Provider=%GRVS%

[DestinationDirs]
DefaultDestDirs=11
GUSSB64.CopyList=11

[ControlFlags]
ExcludeFromSelect=MF\GF1_Device
ExcludeFromSelect=MF\ESS_Device

;;
;; Parent Device - UltraSound Extreme
;;
[Manufacturer]
%GRAVIS%=Gravis

[Gravis]
%GUSSB64_DeviceDesc%=GUSSB64_Device
%MF_GF1_DeviceDesc%=MF_GF1, MF\GF1_Device
%MF_ESS_DeviceDesc%=MF_ESS, MF\ESS_Device

[GUSSB64_Device]
LogConfig=GUSSB64.LC1
CopyFiles=GUSSB64.CopyList
AddReg=GUSSB64_Device.AddReg

[GUSSB64_Device.HW]
AddReg=GUSSB64_Device.RegHW

[GUSSB64_Device.RegHW]
HKR,Child0000,HardwareID,,*PNPB02F
HKR,Child0000,ResourceMap,1,00
HKR,Child0000,MFFlags,1,02,00,00,00

HKR,Child0001,HardwareID,,MF\GF1_Device
HKR,Child0001,ResourceMap,1,01,02,06,09

HKR,Child0002,HardwareID,,MF\ESS_Device
HKR,Child0002,ResourceMap,1,03,04,05,07,08,0A

[GUSSB64_Device.AddReg]
HKR,,DevLoader,,*CONFIGMG
HKR,,Enumerator,,*CONFIGMG
HKR,,DeviceDriver,,Extreme.VxD
HKR,,CMDrivFlags,1,03,00,00,00
HKR,,EnumPropPages,,Extreme.DLL

[GUSSB64.CopyList]
Extreme.Vxd,,
Extreme.Dll,,
;;[MF_GF1.CopyList]
grvsultr.vxd,,
ultrasnd.drv,,
;;[MF_ESS.CopyList]
es1688.drv,,
es1688.vxd,,
esfm.drv,,
essmpu.drv,,


[GUSSB64.LC1]
ConfigPriority=NORMAL
IOConfig=201-201
IOConfig=240-24F, 220-22F, 230-23F, 240-24F, 250-25F
IOConfig=340-34F, 320-32F, 330-33F, 340-34F, 350-35F
IOConfig=220-22F , 230-23F , 240-24F , 250-25F
IOConfig=388-38B
IOConfig=300-301 , 310-311 , 320-321 , 330-331
IRQConfig=7, 5, 11, 12, 15
IRQConfig=5 , 7
IRQConfig=9 , 10, 11
DMAConfig=6, 1, 3, 5, 7
DMAConfig=1, 3, 0

;;
;; Child Device - UltraSound Portion
;;
[MF_GF1]
DelFiles=MF_GF1.DelList
CopyFiles=MF_GF1.CopyList
AddReg=MF_GF1.AddReg
UpdateInis=MF_GF1.UpdateSysIni

[MF_GF1.AddReg]
HKR,,Driver,,grvsultr.vxd
HKR,,DevLoader,,mmdevldr.vxd
HKR,Drivers,MIGRATED,,0
HKR,Drivers,SubClasses,,"wave,midi"
HKR,Configuration,PlaybackBufferSize,1,00,10,00,00
HKR,Configuration,RecordBufferSize,1,00,10,00,00
HKR,Configuration,Active Voices,1,16,00,00,00
HKR,Configuration,Linear Volume,1,01,00,00,00
HKR,Configuration,PlaybackDMA,1,00,00,00,00
HKR,Configuration,RecordDMA,1,01,00,00,00
HKR,Configuration,16BitPatches,1,01,00,00,00

HKR,Drivers\wave\ultrasnd.drv,Description,,%MF_GF1_DeviceDesc%
HKR,Drivers\midi\ultrasnd.drv,Description,,%MF_GF1_DeviceDesc%

HKR,Drivers\wave\ultrasnd.drv,Driver,,ultrasnd.drv
HKR,Drivers\wave,,,

HKR,Drivers\midi\ultrasnd.drv,Driver,,ultrasnd.drv
HKR,Drivers\midi,,,


[MF_GF1.DelList]
grvsultr.386,,,1
ultrasnd.drv,,,1

[MF_GF1.UpdateSysIni]
system.ini,386Enh,"device=grvsultr.386",,1
system.ini,drivers,"wave*=ultrasnd.drv",,1
system.ini,drivers,"midi*=ultrasnd.drv",,1
system.ini,drivers,"midi*=ultmport.drv",,1
system.ini,drivers,"aux*=ultrasnd.drv",,1
system.ini,drivers,"mixer*=ultrasnd.drv",,1

;;
;; Child Device - ESS portion
;;

[MF_ESS]
DelFiles=MF_ESS.DelList
CopyFiles=MF_ESS.CopyList
AddReg=MF_ESS.AddReg, MF_ESSCheck.AddReg
UpdateInis=MF_ESS.UpdateInis
UpdateIniFields=Drivers.fields

[MF_ESSCheck.AddReg]
HKLM,%KEY_FIL%\PostInstall,UpdateIniFields,,"UpdateIniFields=fl.UpdateIniFields"
HKLM,%KEY_FIL%\fl.UpdateIniFields,,,"1"
HKLM,%KEY_FIL%\fl.UpdateIniFields,msmixmgr,,"system.ini,boot,drivers,msmixmgr.dll"

[MF_ESS.AddReg]
HKR,,Driver,,es1688.vxd
HKR,Drivers\wave\es1688.drv,Description,,%MF_ESS_DeviceDesc%
HKR,Drivers\wave\es1688.drv,Driver,,es1688.drv
HKR,Drivers\midi\esfm.drv,Description,,%V_INTERNAL%
HKR,Drivers\midi\esfm.drv,Driver,,esfm.drv
HKR,Drivers\midi\essmpu.drv,Description,,%V_EXTERNAL%
HKR,Drivers\midi\essmpu.drv,External,1,01,00,00,00
HKR,Drivers\midi\essmpu.drv,Driver,,essmpu.drv
HKR,Drivers\mixer\es1688.drv,Description,,%MF_ESS_DeviceDesc%
HKR,Drivers\mixer\es1688.drv,Driver,,es1688.drv
HKR,Drivers\aux\es1688.drv,Description,,%MF_ESS_DeviceDesc%
HKR,Drivers\aux\es1688.drv,Driver,,es1688.drv
HKR,Drivers,SubClasses,,"wave,midi,aux,mixer"
HKR,"Config\Port Selections",Default,,"220,230,240,250"
HKR,"Config\IRQ Selections",Default,,"9,5,7,10"
HKR,"Config\DMA Selections",Default,,"0,1,3"
HKR,"Config\MPU401 IRQ Selections",Default,,"9,5,7,10,11"
HKR,"Config\MPU401 Port Selections",Default,,"300,310,320,330"

;; Mixer

HKLM,Software\Microsoft\Windows\CurrentVersion\Run,SystemTray,,"SysTray.Exe"
HKLM,%KEY_IOC%\Vol,,,

;; Wave

HKR,,DevLoader,,mmdevldr.vxd
HKR,Drivers,MIGRATED,,0
HKR,Drivers\midi,,,
HKR,Drivers\wave,,,
HKR,Drivers\mixer,,,
HKR,Drivers\aux,,,
HKLM,%KEY_IOC%\acm,,,
HKLM,%KEY_IOC%\Rec,,,
HKLM,%KEY_IOC%\MPlay,,,

[MF_ESS.DelList]
vaudrv.386,,,1
es488win.386,,,1
es688win.386,,,1
es1481wn.386,,,1
es1688wn.386,,,1
auddrive.drv,,,1
es488win.drv,,,1
es688win.drv,,,1
es1481wn.drv,,,1
es1688wn.drv,,,1
audmpio.drv,,,1
audmpu.drv,,,1
auddrive.hlp,,,1
audmpu.hlp,,,1
nullwave.drv,,,1

[Drivers.fields]
system.ini,boot,drivers,msmixmgr.dll
system.ini,boot,drivers,mmmixer.dll

;;
;; Misc
;;

[Det.DevINFs]
*PNPB02F=joystick.inf

[SourceDisksFiles]
grvsultr.vxd=1
ultrasnd.drv=1

es1688.drv=1
es1688.vxd=1
esfm.drv=1
essmpu.drv=1

extreme.vxd=1
extreme.dll=1

[SourceDisksNames]
1="UltraSound Extreme CD-ROM",,

[Strings]
GRVS="Advanced Gravis"
GRAVIS="Advanced Gravis Computer Technology Ltd."
GUSSB64_DeviceDesc="UltraSound Extreme Sound Card"
MF_GF1_DeviceDesc="UltraSound Compatible Hardware"
MF_ESS_DeviceDesc="SoundBlaster Compatible Hardware"

KEY_FIL="SYSTEM\CurrentControlSet\Control\MediaResources\FilterList"
KEY_IOC="SYSTEM\CurrentControlSet\Control\MediaResources\InstallOptionalComponents"
V_INTERNAL="Internal OPL2/OPL3 FM Synthesis"
V_EXTERNAL="External MIDI Port"
