SBEMU icon indicating copy to clipboard operation
SBEMU copied to clipboard

Is there a way to reduce the impact on convential memory SBEmu has?

Open Santorayo3 opened this issue 1 year ago • 7 comments

After loading HDPMI32i, QPIEMU and SBEMU I only have 580kb of conventional memory left... not enough for many games (like Space Quest 4&5 or Lands of Lore).

Is there any way to free up for conventional memory or to get these games to load?

Santorayo3 avatar Aug 15 '24 09:08 Santorayo3

Have you tried loading these high with the LH or LOADHIGH command? Note that this requires you to have a high memory manager such as HIMEM.SYS, HIMEMX.SYS or JEMMEX.EXE loaded in your CONFIG.SYS (or FDCONFIG.SYS in the case of FreeDOS).

In AUTOEXEC.BAT (or FDAUTO.BAT in the case of FreeDOS), you can then try loading these high as follows:

LH HDPMI32i.EXE
LH SBEMU.EXE

(If I'm not mistaken, you don't have to prefix JLOAD QPIEMU.DLL with LH, since Jemm should load its modules in extended memory, since it's running in Protected Mode.)

See also https://home.mnet-online.de/willybilly/fdhelp-internet/en/hhstndrd/batch/loadhigh.htm#see

Please let me know if this helps!

volkertb avatar Aug 18 '24 15:08 volkertb

Yeah I did try that (with jenmex) but it didn't make a difference.

Santorayo3 avatar Aug 18 '24 16:08 Santorayo3

Do you also have the line DOS=HIGH,UMB in your CONFIG.SYS or FDCONFIG.SYS?

Other than ensuring that DOS and as many TSRs as possible are loaded in the HMA and UMBs, I don't have any other suggestions. Perhaps @crazii has an idea on how to possibly reduce the conventional memory footprint of SBEMU. Let's ask him when he resumes work on SBEMU.

I do remember being able to run SBEMU with quite a bit more conventional memory left than that, though.

Do you have the same problem with VSBHDA?

volkertb avatar Aug 18 '24 16:08 volkertb

That's my config.sys: DEVICE=jemmex.exe X2MAX=8192 DOS=HIGH,UMB

That's my autoexec.bat: SET PATH=C:\DOS
LH DOS\MOUSE LH JLOAD.EXE QPIEMU.DLL LH HDPMI32i -r -x1 LH SBEMU

I'm running DOS 7. This is the result: 20240819_153308

(I've removed the LIMITMEM.SYS for testing conventional memory, that's why 1,6gb of extended memory show up)

Santorayo3 avatar Aug 19 '24 13:08 Santorayo3

Post output of mem /c /p

chadr avatar Aug 20 '24 22:08 chadr

Here: 20240822_160317

Santorayo3 avatar Aug 22 '24 14:08 Santorayo3

Ok I've tried CuteMouse instead of mouse.com and that helped to get Space Quest 4 and 5 running at least. :D

Santorayo3 avatar Aug 24 '24 05:08 Santorayo3