viti95 / FastDoom

Doom port for DOS, optimized to be as fast as possible!
527 stars 33 forks source link

Audio startup bug #190

Closed xxxShiftUpxxx closed 5 months ago

xxxShiftUpxxx commented 6 months ago

When i select SB/Adlib as a sound/music card and try to start any DOOM version it crashes with this code: Error initializing Music device: -1

Here are my laptop specs: Dell Inspiron 1525 CPU:Intel(R) Core(TM)2 Duo processor 1 GB of DDR2 RAM Video controller:Intel Crestline graphics Video memory:8MB Audio controller:Sigmatel 9205 500 GB Hard drive

I use SBEMU But it crashes even when SBEMU is disabled Original shareware DOOM works perfectly with the same configurations

viti95 commented 6 months ago

Have you tried to disable VCPI before running FastDoom?

jemmex novcpi
fdoom.exe
xxxShiftUpxxx commented 6 months ago

Yes, but it makes it even worse SBEMU can't load and the game crashes with this error code: DOS/32A fatal (0002): system software does not follow VPCI/DPMI specifications i tried disabling audio but the same error appeared...

viti95 commented 6 months ago

Can you send your autoexec/config? I've never seen this error before so I'll try to replicate it myself. Also which SBEMU version are you using?

xxxShiftUpxxx commented 6 months ago

I use the 1.0-beta4 version of SBEMU here are the files: autoexec: @ECHO OFF REM Standard AutoExec Batch File

set DOSDRV=C: set DOSDIR=C:\FreeDOS set LANG=EN set TZ=UTC set PATH=%dosdir%\BIN if exist %dosdir%\LINKS\NUL set PATH=%path%;%dosdir%\LINKS set NLSPATH=%dosdir%\NLS set HELPPATH=%dosdir%\HELP set TEMP=%dosdir%\TEMP set TMP=%TEMP% set BLASTER=A220 I5 D1 H5 P330 set DIRCMD=/P /OGN /Y set COPYCMD=/-Y set OS_NAME=FreeDOS set OS_VERSION=1.3 set autofile=C:\FDAUTO.BAT set cfgfile=C:\FDCONFIG.SYS alias cfg=edit %cfgfile% alias auto=edit %autofile% alias reboot=fdapm warmboot alias reset=fdisk /reboot alias halt=fdapm poweroff alias shutdown=fdapm poweroff

if "%config%"=="5" goto END

if not exist %dosdir%\bin\vinfo.com goto Only8086 vinfo /m if errorlevel 3 goto Support386 if errorlevel 2 goto Support286

:Only8086 MEM /C /N goto FINAL

:Support286 FDAPM APMDOS CTMOUSE MEM /C /N goto FINAL

:Support386

rem codepage settings REM NLSFUNC %dosdir%\BIN\COUNTRY.SYS REM DISPLAY CON=(EGA),858,2) REM MODE CON CP PREP=((858) %dosdir%\CPI\EGA.CPX) REM KEYB US,858,%dosdir%\bin\keyboard.sys REM CHCP 858 REM MKEYB UK rem keyboard settings

if "%config%"=="4" goto Support386Low

LH FDAPM APMDOS rem LH SHARE

rem if EXIST %DOSDIR%\BIN\DOSLFN.COM goto UseLFN goto NoLFN :UseLFN LH %DOSDIR%\BIN\DOSLFN.COM set DIRCMD=%DIRCMD% /LFN :NoLFN

JLOAD.EXE QPIEMU.DLL HDPMI32i -r -x SBEMU /a220 /i5 /d1 /t4 /o1 /vol9 CTMOUSE goto InitCDROM

:Support386Low FDAPM APMDOS CTMOUSE

:InitCDROM if not exist %dosdir%\bin\cdrom.bat FINAL echo. call %dosdir%\bin\cdrom.bat

:FINAL MEM /C /N echo. if not exist %dosdir%\bin\fdnet.bat goto NoNetwork call %dosdir%\bin\fdnet.bat start if errorlevel 1 goto NoNetwork REM Custom networking stuff once packet driver has loaded

:NoNetwork

if exist %dosdir%\bin\fdassist.bat call %dosdir%\bin\fdassist.bat if exist %dosdir%\bin\cdrom.bat call %dosdir%\bin\cdrom.bat display if exist %dosdir%\bin\welcome.bat call %dosdir%\bin\welcome.bat

:END

config: SET DOSDIR=C:\FreeDOS

!COUNTRY=001,858,C:\FreeDOS\BIN\COUNTRY.SYS !LASTDRIVE=Z !BUFFERS=20 !FILES=40 !MENUCOLOR=7,0

MENUDEFAULT=2,5 MENU 1 - Load FreeDOS with JEMMEX, no EMS (most UMBs), max RAM free MENU 2 - Load FreeDOS with JEMMEX (more compatible) MENU 3 - Load FreeDOS with JEMM386 (Expanded Memory) MENU 4 - Load FreeDOS low with some drivers (Safe Mode) MENU 5 - Load FreeDOS without drivers (Emergency Mode)

123?DOS=HIGH 123?DOS=UMB 123?DOSDATA=UMB

1?DEVICE=C:\FreeDOS\BIN\JEMMEX.EXE X2MAX=8192 NOEMS X=TEST I=TEST NOVME NOINVLPG 2?DEVICE=C:\FreeDOS\BIN\JEMMEX.EXE X2MAX=8192 X=TEST NOVME NOINVLPG 34?DEVICE=C:\FreeDOS\BIN\HIMEMX.EXE 3?DEVICE=C:\FreeDOS\BIN\JEMM386.EXE X=TEST NOVME NOINVLPG

12?SHELLHIGH=C:\FreeDOS\BIN\COMMAND.COM C:\FreeDOS\BIN /E:1024 /P=C:\FDAUTO.BAT 345?SHELL=C:\FreeDOS\BIN\COMMAND.COM C:\FreeDOS\BIN /E:1024 /P=C:\FDAUTO.BAT SET DOSDIR=C:\FreeDOS

!COUNTRY=001,858,C:\FreeDOS\BIN\COUNTRY.SYS !LASTDRIVE=Z !BUFFERS=20 !FILES=40 !MENUCOLOR=7,0

MENUDEFAULT=2,5 MENU 1 - Load FreeDOS with JEMMEX, no EMS (most UMBs), max RAM free MENU 2 - Load FreeDOS with JEMMEX (more compatible) MENU 3 - Load FreeDOS with JEMM386 (Expanded Memory) MENU 4 - Load FreeDOS low with some drivers (Safe Mode) MENU 5 - Load FreeDOS without drivers (Emergency Mode)

123?DOS=HIGH 123?DOS=UMB 123?DOSDATA=UMB

1?DEVICE=C:\FreeDOS\BIN\JEMMEX.EXE X2MAX=8192 NOEMS X=TEST I=TEST NOVME NOINVLPG 2?DEVICE=C:\FreeDOS\BIN\JEMMEX.EXE X2MAX=8192 X=TEST NOVME NOINVLPG 34?DEVICE=C:\FreeDOS\BIN\HIMEMX.EXE 3?DEVICE=C:\FreeDOS\BIN\JEMM386.EXE X=TEST NOVME NOINVLPG

12?SHELLHIGH=C:\FreeDOS\BIN\COMMAND.COM C:\FreeDOS\BIN /E:1024 /P=C:\FDAUTO.BAT 345?SHELL=C:\FreeDOS\BIN\COMMAND.COM C:\FreeDOS\BIN /E:1024 /P=C:\FDAUTO.BAT

xxxShiftUpxxx commented 5 months ago

I managed to change some settings and it works.