On 11/02/26 at 21:39, Curtis Matz via Freedos-user wrote:
I use UTM on a Mac and built an iso of the game attached to cdrom and installed
to c:. Ran the game and sound worked but I was in a loop as I couldn’t figure
out what the fire button was in the game. This was on a stock FreeDos 1.4
build. Underneath the hood UTM uses Qemu so it should work if you load FreeDos
under Qemu.
YEAH! SOUND!!!
Just casually I've discovered that it exists a fork of SBEMU called
VSBHDA and it is bundled in FreeDOS 1.4 under the directory
"C:\FreeDOS\DRIVER" so I gave it a try and it worked!!
In VirtualBox 7.2.6 I've set the "ICH AC97" sound card that it was
detected by VSBHDA (also SBEMU detects that sound card but it didn't
work). Here the fdconfig.sys and fdauto.bat files with the working setup
for Space Ace:
FDCONFIG.SYS:
~~~ ~~~ ~~~ ~~~ ~~~ ~~~ ~~~ ~~~ ~~~
SET DOSDIR=C:\FreeDOS
!COUNTRY=001,850,C:\FreeDOS\BIN\COUNTRY.SYS
LASTDRIVE=Z
BUFFERS=40
FILES=99
STACKS=9,256
!MENUCOLOR=7,0
MENUDEFAULT=2,5
MENU 1 - Load FreeDOS with JEMM386 (no EMS, max RAM free)
MENU 2 - Load FreeDOS with JEMM386 (Expanded Memory and Sound Emu for
SpaceAce)
MENU 3 - Load FreeDOS low with some drivers (Safe Mode)
MENU 4 - Load FreeDOS without drivers (Emergency Mode)
MENU 5 - Load FreeDOS with JEMM386 (Expanded Memory)
; --- Memory Manager Loading ---
1235?DEVICE=C:\FreeDOS\BIN\HIMEMX.EXE
; Menu 1: Standard JEMM386 (No EMS)
1?DEVICE=C:\FreeDOS\BIN\JEMM386.EXE NOEMS X=TEST I=TEST I=B000-B7FF
NOVME NOINVLPG
; Menu 2: JEMM386 for Space Ace (NOVDS option required)
2?DEVICE=C:\FreeDOS\BIN\JEMM386.EXE RAM SB NOVDS
2?DEVICE=C:\FreeDOS\BIN\JLOAD.EXE -q C:\FreeDOS\DRIVERS\VSBHDA\QPIEMU.DLL
2?DEVICE=C:\FreeDOS\BIN\JLOAD.EXE -q C:\FreeDOS\DRIVERS\VSBHDA\JHDPMI.DLL
; Menu 5: JEMM386 Expanded memory for the other programs
5?DEVICE=C:\FreeDOS\BIN\JEMM386.EXE X=TEST I=TEST I=B000-B7FF NOVME NOINVLPG
; --- Kernel Settings ---
125?DOS=HIGH
125?DOS=UMB
125?DOSDATA=UMB
; --- Shell and Startup ---
34?SHELL=C:\FreeDOS\BIN\COMMAND.COM C:\FreeDOS\BIN /E:1024 /P=C:\FDAUTO.BAT
125?SHELLHIGH=C:\FreeDOS\BIN\COMMAND.COM C:\FreeDOS\BIN /E:1024
/P=C:\FDAUTO.BAT
~~~ ~~~ ~~~ ~~~ ~~~ ~~~ ~~~ ~~~ ~~~
FDAUTO.BAT:
~~~ ~~~ ~~~ ~~~ ~~~ ~~~ ~~~ ~~~ ~~~
@ECHO OFF
REM - Updated AUTOEXEC file, for VirtualBox
REM - set basic environment
set DOSDRV=C:
set DOSDIR=C:\FreeDOS
path %DOSDIR%\BIN
if not exist %DOSDIR%\LINKS\NUL goto NOLINKS
path %PATH%;%DOSDIR%\LINKS
:NOLINKS
set NLSPATH=%DOSDIR%\NLS
set HELPPATH=%DOSDIR%\HELP
set TEMP=%DOSDIR%\TEMP
set TMP=%TEMP%
set LANG=IT
set TZ=UTC
REM Emergency Mode, no drivers should be loaded
if "%CONFIG%"=="4" goto END
REM keyboard settings
mkeyb IT
MODE CON RATE=32 DELAY=1
set OS_NAME=FreeDOS
set OS_VERSION=1.4
REM - cfgfile and autofile might be deprecated in future
REM - At boot, FreeDOS can use CONFIG.SYS, but it prefers FDCONFIG.SYS
set CFGFILE=%DOSDRV%\CONFIG.SYS
if exist %DOSDRV%\FDCONFIG.SYS set CFGFILE=%DOSDRV%\FDCONFIG.SYS
set AUTOFILE=%0
alias cfg=edit %CFGFILE%
alias auto=edit %AUTOFILE%
if "%CONFIG%"=="3" goto DOSLOW
goto DOSHIGH
:DOSLOW
ctmouse
goto CONFIGS
:DOSHIGH
REM - SoundBlaster emulation setup
if not "%CONFIG%"=="2" goto NOSND
set BLASTER=A220 I7 D1 H5 T6
lh %DOSDIR%\DRIVERS\VSBHDA\HDPMI32I.EXE /X2
%DOSDIR%\DRIVERS\VSBHDA\VSBHDA.EXE
:NOSND
lh fdapm APMDOS
lh ctmouse
if not exist %DOSDIR%\BIN\DOSLFN.COM goto NOLFN
lh %DOSDIR%\BIN\DOSLFN.COM
REM - Add other stuff here once LFN is loaded..
:NOLFN
if not exist %DOSDIR%\BIN\CDROM.BAT goto NOCDROM
call %DOSDIR%\BIN\CDROM.BAT
REM - Add other stuff here once CDROM is loaded..
:NOCDROM
if not exist %DOSDIR%\BIN\FDNET.BAT goto NONET
call %DOSDIR%\BIN\FDNET.BAT
REM - if errorlevel 1 goto NONET
REM - Add other stuff here once FDNET is loaded..
:NONET
:CONFIGS
REM - load other configs using external BAT files
if not exist %DOSDIR%\BIN\FDASSIST.BAT goto NOASSIST
REM call %DOSDIR%\BIN\FDASSIST.BAT
:NOASSIST
REM - additional customization and local settings
set DIRCMD=/O:GNE /Y
set COPYCMD=/-Y
alias reset=fdisk /reboot
alias reboot=fdapm warmboot
alias halt=fdapm poweroff
alias sd=fdapm poweroff
MEM /C /N
if not "%CONFIG%"=="5" goto END
echo.
echo Reminder: In VirtualBox sets the sound card to SoundBlaster 16
echo.
:END
~~~ ~~~ ~~~ ~~~ ~~~ ~~~ ~~~ ~~~ ~~~
--
Franco Martelli
_______________________________________________
Freedos-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-user