First post, by ruthan
- Rank
- Oldbie
Hello,
i wonder its possible to make Dosbox with MS-DOS 6+ choice menu in Dosbox?
I know that is possible to use multiple *.conf files and run them with bat, problem is that i would have to copy autoexec settings and keep synchronized multiple autoexecs, unless its possible to include some external autoexec file in *.conf and even then i would have to have open and edit multiple files, instead nice 1 config with all.
I wrote some testing code with Dosbox-X , its not failing, but im not really sure if really working and enablign and disabling soundcards on the fly..
Other distros have some start up *.conf parsing window, but its seems that Dosbox it does not.
I know that this is not best example, because SB16 + GUS, can work fine together..
@RuThaN im trying to create menu as on Physical machine, to not have edit conf itself because of Soundcard change - proven
#ECHO OFF
CLS
ECHO 1) Sound Blaster 16 (Default)
ECHO 2) Gravis Ultrasound (GUS Only)
ECHO 3) No Sound / Clean Boot
ECHO.
CHOICE /C:123 /N Choose your sound configuration:
IF ERRORLEVEL 3 GOTO NOSOUND
IF ERRORLEVEL 2 GOTO GRAVIS
IF ERRORLEVEL 1 GOTO SB16
:SB16
# DOSBox-X command to set sound card type at runtime
CONFIG -set "sblaster sbtype=sb16"
CONFIG -set "gus gus=false"
SET BLASTER=A220 I7 D1 T6
ECHO Sound Blaster 16 Enabled!
GOTO END
:GRAVIS
# Disable Sound Blaster to avoid conflicts - its should be possible with Dosbox staging, other AI claims that is not supperted..
#Still not define SB variables can make SB invisible for some games / setup
CONFIG -set "sblaster sbtype=none" # disable SB to avoid conflicts
SET ULTRADIR=C:\ULTRASND
SET ULTRASND=240,3,3,5,5
ECHO Gravis Ultrasound Enabled
GOTO END
:NOSOUND
CONFIG -set "sblaster sbtype=none"
CONFIG -set "gus gus=false"
ECHO Sound Disabled.
GOTO END
:END
Im old goal oriented goatman, i care about facts and freedom, not about egos+prejudices. Hoarding=sickness. If you want respect, gain it by your behavior. I hate stupid SW limits, SW=virtual world, everything should be possible if you have enough raw HW.