VOGONS


First post, by Niezgodka

User metadata
Rank Member
Rank
Member

So I have two soundcards in my computer (SB and GUS, 486SX4 with DOS 6.22) and for a while now I was thinking about making config sys and autoexec option select, but it does not work.
Here are the files:

autoexec:

@ECHO OFF
PROMPT $p$g
SET PATH=C:\TEMP\GRAVIS\ULTRAS~1;C:\TOOLS\SOUND\ULTRAS;C:\PROGRAMS\SYSTEM\DOS;C:\TOOLS;C:\TOOLS\BAT
SET TEMP=C:\TEMP
GoTo %config%

:EMS_SB
echo settings for SB
@SET BLASTER=A220 I5 D1 T1
GOTO EXIT

:EMS_GUS
echo settings for GUS
@SET ULTRASND=220,3,3,3,5
@SET ULTRADIR=C:\TEMP\GRAVIS\ULTRAS~1
GOTO EXIT

:EMS_NO
echo settings no card
GOTO EXIT

:XMS_SB
echo settings for SB
@SET BLASTER=A220 I5 D1 T1
GOTO EXIT

:EMS_GUS
echo settings for GUS
@SET ULTRASND=220,3,3,3,5
@SET ULTRADIR=C:\TEMP\GRAVIS\ULTRAS~1
GOTO EXIT

:XMS_NO
echo settings no card
GOTO EXIT

:EXIT
ct.com
dn.com

config:

[COMMON]
DEVICEHIGH=C:\PROGRAMS\SYSTEM\DOS\setver.exe
DEVICEHIGH=C:\PROGRAMS\SYSTEM\DOS\ansi.sys
COUNTRY=001,437,C:\PROGRAMS\SYSTEM\DOS\country.sys

SHELL=COMMAND.COM /P /E:640
DOS=HIGH,UMB,AUTO
FCBS=4,0
FILES=40
BUFFERS=20,0
LASTDRIVE=H
STACKS=9,256

[MENU]
menucolor=9,0
submenu=EMS, EMS........Expanded Memory
submenu=XMS, XMS... Conventional Memory
menuitem=STANDARD, 640KB system memory
rem menudefault=EMC_SB,15

[EMS]
menuitem=EMS_SB, Start with SoundBlaster (Default)
menuitem=EMS_GUS, Start with Gravis Ultra Sound
menuitem=EMS_NO, Start with no sound card drivers
submenu=MENU, Return to previous menu

[XMS]
menuitem=XMS_SB, Start with SoundBlaster (Default)
menuitem=XMS_GUS, Start with Gravis Ultra Sound
menuitem=XMS_NO, Start with no sound card drivers
submenu=MENU, Return to previous menu

[STANDARD]
DOS=HIGH,UMB

[EMC_SB]
DEVICE=C:\PROGRAMS\SYSTEM\DOS\himem.sys /TESTMEM:OFF
DEVICE=C:\PROGRAMS\SYSTEM\DOS\emm386.exe RAM

[EMC_GUS]
DEVICE=C:\PROGRAMS\SYSTEM\DOS\himem.sys /TESTMEM:OFF
DEVICE=C:\PROGRAMS\SYSTEM\DOS\emm386.exe RAM

[EMC_NO]
DEVICE=C:\PROGRAMS\SYSTEM\DOS\himem.sys /TESTMEM:OFF
DEVICE=C:\PROGRAMS\SYSTEM\DOS\emm386.exe RAM

[XMC_SB]
DEVICE=C:\PROGRAMS\SYSTEM\DOS\himem.sys /TESTMEM:OFF

[XMC_GUS]
DEVICE=C:\PROGRAMS\SYSTEM\DOS\himem.sys /TESTMEM:OFF

[XMC_NO]
DEVICE=C:\PROGRAMS\SYSTEM\DOS\himem.sys /TESTMEM:OFF

However, it shows me error, instead of submenus 🙁
How to make it right? Feel free to tell me if I should change anything in it (I was moding my old autoexec and config files)

Reply 1 of 1, by weedeewee

User metadata
Rank Oldbie
Rank
Oldbie

the one thing that jumps out to me is the EMS_... ,XMS_... and EMC_... ,XMC_... references.
Seems like those EMC and XMC should be EMS and XMS.

Right to repair is fundamental. You own it, you're allowed to fix it.
How To Ask Questions The Smart Way
Do not ask Why !