crazii / SBEMU

legacy sound blaster emulation for DOS
GNU General Public License v2.0
608 stars 33 forks source link

Dos4GW crashing on HP T610 #128

Open Santorayo3 opened 1 month ago

Santorayo3 commented 1 month ago

First of all I want to say thank you for this great project!

SBEmu works fine with a bunch of games but crashes with each game that uses Dos4GW.

I'm using standard configuration with jemmex. When I don't load SBEmu the games start fine, but as soon as SBEmu is in memory they crash (in slightly different fashion. Sometimes freeze, someone Jennex Error, sometimes graphic glitches or strange custom errors)

I've tried Dos2a replacement for Dos4GW. For a few games that will let them start but then without any sound.

I've also used Limitmem.sys because the pc has 2gb ddr3 unfortunately.

I'm not sure if this supported, but it would be so amazing that I still wanted to ask.

Santorayo3 commented 1 month ago

Did some more digging. When I use the NOVCPI switch and run Raptor Call of Shadows with DOS2A it gets a bit further. The log shows that music and sound is enabled but the game still crashes before actually starting up. The log also shows an enourmous amount of memory, even though I used X2MAX=16384 for jemmex and -x1 for HDPMI32i

When I type "mem" in DOS it only shows 16gb, but it seems Raptor is getting its numbers elsewhere and might be confused about that.

chadr commented 1 month ago

That amount of RAM will cause issues with many DOS programs. I've found the only reliable way to limit DOS RAM is to use RLOEW's limitmem.sys before JEMMEX/QEMM. It was a paid utility, but after the author's death the family released it as freeware.

Santorayo3 commented 1 month ago

I'm already using it but it doesn't seem to do anything. I've put DEVICE=LIMITMEM.SYS 16 in the first line in the config.sys. Is that correct?

Santorayo3 commented 1 month ago

Ok, just removed everything but LIMITMEM 64 and double-checked... it does show 64mb extended memory, when I type in MEM. Still doesn't work with Dos4GW though and Raptor is still showing enormous memory amounts in its startup with Dos2A