VOGONS


First post, by Soupdragon

User metadata
Rank Member
Rank
Member

Which order should I have the sound card setup lines in my dos 6.22 autoexec.bat file

I have 2 sound cards a jumpered sb32 with real opl3 and a gravis ultrasound max plus a mpu-ipc-t midi interface.

The reason I ask is some times I will install a game and go to set up the sound and as i go through the sound blaster set up options it will default to odd settings not the standard a220, irq 5 and dma 1.

Below is my autoexec.bat at the moment any other tweaks are welcome:

@ECHO OFF
LH C:\DOS\SMARTDRV.EXE /X
LH C:\DOS\MSCDEX.EXE /D:CDROM1 /L:E
LH C:\DOS\KEYB UK,,C:\DOS\KEYBOARD.SYS
LH C:\DOS\DOSKEY.COM
LH C:\DRIVERS\CTMOUSE\CTMOUSE.EXE /P
PROMPT $P$G
SET DIRCMD=/O
SET PATH=C:\ULTRASND;C:\DOS
SET TMP=C:\TEMP
SET TEMP=C:\TEMP
SET ULTRASND=240,3,3,7,7
SET ULTRADIR=C:\DRIVERS\ULTRASND
SET ULTRA16=34C,0,0,1,0
C:\DRIVERS\ULTRASND\ULTRINIT.EXE -DJ
SET SOUND=C:\DRIVERS\SB16
SET BLASTER=A220 I5 D1 H5 P300 E620 T6
SET MIDI=SYNTH:1 MAP:E MODE:0
C:\DRIVERS\SB16\DIAGNOSE /S
C:\DRIVERS\SB16\AWEUTIL /S
C:\DRIVERS\SB16\MIXERSET /P /Q

Reply 1 of 6, by Mau1wurf1977

User metadata
Rank l33t++
Rank
l33t++

Put a REM + space before the line with SET ULTRASND and see if it makes a difference.

REM skips that line, so it's easy for testing!

Isn't is possible to configure the Ultrasound without SB emulation?

My website with reviews, demos, drivers, tutorials and more...
My YouTube channel

Reply 2 of 6, by Soupdragon

User metadata
Rank Member
Rank
Member

I removed the setblaster line the GUS setup put in for the sb emultation when I installed the sb32 I assume that turned it off.

Is the line SET ULTRA16=34C,0,0,1,0 even needed what does it do?

Reply 3 of 6, by Jolaes76

User metadata
Rank Oldbie
Rank
Oldbie

It must be the Windows Sound System configuration line. Can be remmed out again. But why do you have two ultrasnd directories, one in the root and another in a subdir...?

"Ita in vita ut in lusu alae pessima iactura arte corrigenda est."

Reply 5 of 6, by elianda

User metadata
Rank l33t
Rank
l33t

Usually SMARTDRV should be loaded after all logical drives are installed, so it should appear after MSCDEX. I would also set the cache sizes manually.
For a low memory system maybe 512 256 or high memory 4096 256.
If you don't want the cd drive read cached use /U.

I commonly move all the DOS related SETs to the beginning of the file. You can use the PATH setting then already for loading drivers f.e.
Then I tend to put soundcard initialization into separate batches and just call them.

A config.sys dump would also add more insight to the drivers loaded. As you use LH I guess you loaded EMM386.EXE but did you use RAM AUTO ?

Retronn.de - Vintage Hardware Gallery, Drivers, Guides, Videos. Now with file search
Youtube Channel
FTP Server - Driver Archive and more
DVI2PCIe alignment and 2D image quality measurement tool

Reply 6 of 6, by Soupdragon

User metadata
Rank Member
Rank
Member

Thanks elianda, I have updated the files alittle

Autoexec.bat

@ECHO OFF
LH C:\DOS\MSCDEX.EXE /D:CDROM1
LH C:\DOS\KEYB UK,,C:\DOS\KEYBOARD.SYS
LH C:\DOS\DOSKEY.COM
C:\DRIVERS\CTMOUSE\CTMOUSE.EXE
PROMPT $P$G
SET DIRCMD=/O
SET PATH=C:\DRIVERS\ULTRASND;C:\DOS
SET TMP=C:\TEMP
SET TEMP=C:\TEMP

SET ULTRASND=240,3,3,7,7
SET ULTRADIR=C:\DRIVERS\ULTRASND
C:\DRIVERS\ULTRASND\ULTRINIT.EXE -DJ

SET SOUND=C:\DRIVERS\SB16
SET BLASTER=A220 I5 D1 H5 P300 E620 T6
SET MIDI=SYNTH:1 MAP:E MODE:0
C:\DRIVERS\SB16\DIAGNOSE /S
C:\DRIVERS\SB16\AWEUTIL /S
C:\DRIVERS\SB16\MIXERSET /P /Q

Config.sys

SWITCHES /F
DEVICE=C:\DOS\HIMEM.SYS /TESTMEM:OFF
DOS=HIGH,UMB
DEVICE=C:\DOS\EMM386.EXE RAM AUTO
DEVICEHIGH=C:\DRIVERS\CDROM\QCDROM.SYS /D:CDROM1
FILES=40
BUFFERS=40
STACKS=9,256
LASTDRIVE=Z
FCBS=4,0
COUNTRY=044,,C:\DOS\COUNTRY.SYS