Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Santorayo3 opened this issue Aug 15, 2024 · 7 comments
Open

Comments

@Santorayo3
Copy link

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?

@volkertb
Copy link
Collaborator

volkertb commented Aug 18, 2024

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!

@Santorayo3
Copy link
Author

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

@volkertb
Copy link
Collaborator

volkertb commented Aug 18, 2024

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?

@Santorayo3
Copy link
Author

Santorayo3 commented Aug 19, 2024

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)

@chadr
Copy link

chadr commented Aug 20, 2024

Post output of mem /c /p

@Santorayo3
Copy link
Author

Here:
20240822_160317

@Santorayo3
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants