VOGONS


First post, by vanfanel

User metadata
Rank Member
Rank
Member

SOLUTION
In the end, it was fixed by loading SMARTDRV in CONFIG.SYS like this:

DEVICE=C:\DOS\SETVER.EXE
DEVICE=C:\DOS\HIMEM.SYS /TESTMEM:OFF
DEVICE=C:\DOS\SMARTDRV.EXE /DOUBLE_BUFFER
DEVICE=C:\DOS\EMM386.EXE RAM I=B000-B7FF
DOS=HIGH,UMB
FILES=30

Yep, SMARTDRV was the key to bring the compatibility up to pair with the Vertex86 DX!

ORIGINAL POST:

Lemmings 2 works, Elder Scrolls: Arena works, etc.

Hi there,

Trying to make Lemmings 2 working with the QEMM memory manager (because that's the most compatible memory manager on my computer) I get:

Exception 6: Your computer has attempted to execute an unvalid instruction due to an error in one of your programs (etc..)
This is not a QEMM error (etc..)

Exception #6 at C35E:000F, error code: 0000
AX=0088 BX=0000 CX=0001 DX=F000 SI=0001 DI=3818 BP=0000
DS=0428 ES=0428 SS=40B8 SP=761E Flags=3086
Instruction: 63 00 18 18 18 7E 18 18 18 00 00 00 00 00

With EMM386, the game hangs with:

Sound Loading.
Sound Initializing.

...And stays there forever.

Without any EMS manager, the game works fine, just without digital sound effects.

This computer has 128MB of RAM and a Vortex86 CPU, tried limiting available memory with HIMEMX, etc, but made no difference...

Any ideas, please?

Last edited by vanfanel on 2025-04-23, 09:53. Edited 1 time in total.

Reply 1 of 21, by dominusprog

User metadata
Rank Oldbie
Rank
Oldbie

Try UMBPCI.

https://www.uwe-sieber.de/umbpci_e.html

Duke_2600.png
A-Trend ATC-1020 V1.1 ❇ Cyrix 6x86 150+ @ 120MHz ❇ 32MiB EDO RAM (8MiBx4) ❇ A-Trend S3 Trio64V2 2MiB
Aztech Pro16 II-3D PnP ❇ 8.4GiB Quantum Fireball ❇ Win95 OSR2 Plus!

Reply 2 of 21, by Gmlb256

User metadata
Rank l33t
Rank
l33t

Hello.

Do you have Stealth Mode enabled? Is F000-FFFF mapped for UMB?

If they are, strange issues arise.

dominusprog wrote on 2024-06-29, 12:06:

UMBPCI doesn't provide EMS and some DOS games uses it to handle digitized sounds. 😜

VIA C3 Nehemiah 1.2A @ 1.46 GHz | ASUS P2-99 | 256 MB PC133 SDRAM | GeForce2 GTS 32 MB | Voodoo2 12 MB | SBLive! | AWE64 | SBPro2 | GUS

Reply 3 of 21, by vanfanel

User metadata
Rank Member
Rank
Member
Gmlb256 wrote on 2024-06-29, 14:00:

Hello.

Do you have Stealth Mode enabled? Is F000-FFFF mapped for UMB?

If they are, strange issues arise.

How can I find out if I have Stealth Mode enabled or F000-FFFF mapped for UMB, please?

The game does, indeed, need EMS for digital audio effects.

Reply 4 of 21, by Gmlb256

User metadata
Rank l33t
Rank
l33t
vanfanel wrote on 2024-06-29, 16:41:

How can I find out if I have Stealth Mode enabled or F000-FFFF mapped for UMB, please?

In CONFIG.SYS, on the line where QEMM gets loaded, check the parameters.

There should be ST:M or ST:F if Stealth Mode is enabled.

As for F000-FFFF, QEMM by default will try to map that memory region which is reserved for the motherboard BIOS ROM. To exclude it, add X=F000-FFFF parameter.

VIA C3 Nehemiah 1.2A @ 1.46 GHz | ASUS P2-99 | 256 MB PC133 SDRAM | GeForce2 GTS 32 MB | Voodoo2 12 MB | SBLive! | AWE64 | SBPro2 | GUS

Reply 5 of 21, by vanfanel

User metadata
Rank Member
Rank
Member
Gmlb256 wrote on 2024-06-29, 16:52:

In CONFIG.SYS, on the line where QEMM gets loaded, check the parameters.

There should be ST:M or ST:F if Stealth Mode is enabled.

As for F000-FFFF, QEMM by default will try to map that memory region which is reserved for the motherboard BIOS ROM. To exclude it, add X=F000-FFFF parameter.

I had no mention to ST:M or ST:F in config.sys, so I added X=F000-FFFF to QEMM.
My config.sys looks like this:

DEVICE=C:\QEMM\DOSDATA.SYS                                                                                                             
SET LOADHIDATA=C:\QEMM\LOADHI.RF
DEVICE=C:\QEMM\QEMM386.SYS RAM BE:N RF X=F000-FFFF
DEVICE=C:\QEMM\DOS-UP.SYS @C:\QEMM\DOS-UP.DAT
SHELL=C:\QEMM\LOADHI.COM /RF C:\COMMAND.COM /E:2048 /P
DOS=HIGH,UMB
FILES=60
BUFFERS=40
STACKS=9,256

But game keeps crashing. After adding X=F000-FFFF, with exception 13 instead of 6.

Reply 6 of 21, by wbahnassi

User metadata
Rank Oldbie
Rank
Oldbie

Ahhh Lemmings 2... my bane... As much as I love this game as much as it hates me.

Yes, it's one of the toughest to get to run with proper music and SFX. Back in its days I was only able to run it with QEMM on my 386 DX-33. Now, I find I'm able to run it with EMM386 on various systems from slow to fast. I guess it really depends on the memory layout of each machine.

I was able to get it to run with SB, SBPro, SB16, and YMF-744 (PCI). That last one was a surprise actually given how finicky the game is. What is your audio hardware? Also, how are you running the game? Is it the copy with L2-FIX.COM? That one will hang if it's run via L2.EXE.

Turbo XT 12MHz, 8-bit VGA, Dual 360K drives
Intel 386 DX-33, TSeng ET3000, SB 1.5, 1x CD
Intel 486 DX2-66, CL5428 VLB, SBPro 2, 2x CD
Intel Pentium 90, Matrox Millenium 2, SB16, 4x CD
HP Z400, Xeon 3.46GHz, YMF-744, Voodoo3, RTX2080Ti

Reply 7 of 21, by vanfanel

User metadata
Rank Member
Rank
Member
wbahnassi wrote on 2024-06-29, 19:23:

Ahhh Lemmings 2... my bane... As much as I love this game as much as it hates me.

Yes, it's one of the toughest to get to run with proper music and SFX. Back in its days I was only able to run it with QEMM on my 386 DX-33. Now, I find I'm able to run it with EMM386 on various systems from slow to fast. I guess it really depends on the memory layout of each machine.

I was able to get it to run with SB, SBPro, SB16, and YMF-744 (PCI). That last one was a surprise actually given how finicky the game is. What is your audio hardware? Also, how are you running the game? Is it the copy with L2-FIX.COM? That one will hang if it's run via L2.EXE.

Hello wbahnassi! Another Lemmings 2 lover here (liked 1 better, but 2 has an special place on my heart because of how I unexpectedly got the game and liked it back in the day)

My sound hardware is an SBPro compatible card in the form of on-board CS4237B chip. I think it's 100% SBPro compatible, no other game seems to have problems with it.
The game DOES work without EMS, but then there are no audio effects, since those depend on EMS.

About how I run it: I use a version that says "This has been a +/FED-X/+ assisted production" when quitting the game. I believe it's the version included in EXODOS.
I also tried the version with l2-fix.com, which must be run by executing l2-fix.com instead of l2.exe, but it hangs on the same exact "Initializing sound." message.

I also tried the CD version (it was released here in Europe along with Lemmings 1 on CD) which doesn't need to be cracked, but hangs in the exact same manner.

Reply 8 of 21, by wbahnassi

User metadata
Rank Oldbie
Rank
Oldbie

Ok. Things to try:
* Limit EMS memory to 2MB (2048 in EMM386)
* Change IRQ of sound chip (if possible)
* Remove any drivers except QEMM/EMM and mouse
* Try another mouse driver (a far possibility, but hey)
* Slow down machine (disable L1 cache)

Turbo XT 12MHz, 8-bit VGA, Dual 360K drives
Intel 386 DX-33, TSeng ET3000, SB 1.5, 1x CD
Intel 486 DX2-66, CL5428 VLB, SBPro 2, 2x CD
Intel Pentium 90, Matrox Millenium 2, SB16, 4x CD
HP Z400, Xeon 3.46GHz, YMF-744, Voodoo3, RTX2080Ti

Reply 9 of 21, by vanfanel

User metadata
Rank Member
Rank
Member
wbahnassi wrote on 2024-06-30, 12:50:
Ok. Things to try: * Limit EMS memory to 2MB (2048 in EMM386) * Change IRQ of sound chip (if possible) * Remove any drivers exce […]
Show full quote

Ok. Things to try:
* Limit EMS memory to 2MB (2048 in EMM386)
* Change IRQ of sound chip (if possible)
* Remove any drivers except QEMM/EMM and mouse
* Try another mouse driver (a far possibility, but hey)
* Slow down machine (disable L1 cache)

How do I limit EMS memory to 2048 in EMM386?
I can' see It on the parameters. Using Himemx it's possible, but that's introducing another variable...

Reply 11 of 21, by vanfanel

User metadata
Rank Member
Rank
Member
keropi wrote on 2024-06-30, 15:10:

it is very easy, just write 2048 after emm386.exe , example: device=c:\dos\emm386.exe 2048 <and whatever other options you might use>

Ah, thanks. Yes, with that, mem reports 2048 KB of EMS only.
However, Lemmings 2 still hangs with "Sound Initialising" 🙁
Since this is a Pentium-class CPU, I disabled it's caches, but it didn't help either.

So, as per wbahnassi's suggestions:
* Limit EMS memory to 2MB (2048 in EMM386) - Done, same problem
* Change IRQ of sound chip (if possible) -Changed to IRQ 5 (UNISOUND uses the IRQ that I specify on the BLASTER env variable, and if I don't specify any, it uses IRQ 5. But it didn0t help either.
* Remove any drivers except QEMM/EMM and mouse -Done, same problem. I removed all except the UNISOUND driver, but game hangs at the same spot.
* Try another mouse driver (a far possibility, but hey) -Well, it hangs without any mouse driver loaded, so...
* Slow down machine (disable L1 cache) - Done, same problem.

I believe there's something wrong with the Vortex86 SOM memory layout, but that's something I don't know how to debug or what can be done.

Reply 12 of 21, by wbahnassi

User metadata
Rank Oldbie
Rank
Oldbie

Yes the game requires a mouse. I was suggesting trying a different driver rather than disabling the driver. If you were using ctmouse, try GMouse (most compatible with Lemmings 2), or MOUSE.COM (Microsoft). Anyways, it's a slim chance that this would be your problem.

Turbo XT 12MHz, 8-bit VGA, Dual 360K drives
Intel 386 DX-33, TSeng ET3000, SB 1.5, 1x CD
Intel 486 DX2-66, CL5428 VLB, SBPro 2, 2x CD
Intel Pentium 90, Matrox Millenium 2, SB16, 4x CD
HP Z400, Xeon 3.46GHz, YMF-744, Voodoo3, RTX2080Ti

Reply 13 of 21, by MasterO

User metadata
Rank Newbie
Rank
Newbie
wbahnassi wrote on 2024-06-29, 19:23:

Ahhh Lemmings 2... my bane... As much as I love this game as much as it hates me.

Yes, it's one of the toughest to get to run with proper music and SFX. Back in its days I was only able to run it with QEMM on my 386 DX-33. Now, I find I'm able to run it with EMM386 on various systems from slow to fast. I guess it really depends on the memory layout of each machine.

I was able to get it to run with SB, SBPro, SB16, and YMF-744 (PCI). That last one was a surprise actually given how finicky the game is. What is your audio hardware? Also, how are you running the game? Is it the copy with L2-FIX.COM? That one will hang if it's run via L2.EXE.

You can run Lemmings 2 without needing L2-FIX.COM. Do the following:

1. Navigate to your Lemmings 2: The Tribes game folder.

2. Open the file L2.INI in your text editor of choice.

3. Change the Bios value to 732 and the Boot value to 0.

4. Save L2.INI and close the file.

5. Run L2.EXE in Dosbox as normal.

This is also documented at https://www.dosbox.com/comp_list.php?showID=383&letter=L.

Reply 14 of 21, by Malik

User metadata
Rank l33t
Rank
l33t
MasterO wrote on 2024-07-18, 03:18:
You can run Lemmings 2 without needing L2-FIX.COM. Do the following: […]
Show full quote
wbahnassi wrote on 2024-06-29, 19:23:

Ahhh Lemmings 2... my bane... As much as I love this game as much as it hates me.

Yes, it's one of the toughest to get to run with proper music and SFX. Back in its days I was only able to run it with QEMM on my 386 DX-33. Now, I find I'm able to run it with EMM386 on various systems from slow to fast. I guess it really depends on the memory layout of each machine.

I was able to get it to run with SB, SBPro, SB16, and YMF-744 (PCI). That last one was a surprise actually given how finicky the game is. What is your audio hardware? Also, how are you running the game? Is it the copy with L2-FIX.COM? That one will hang if it's run via L2.EXE.

You can run Lemmings 2 without needing L2-FIX.COM. Do the following:

1. Navigate to your Lemmings 2: The Tribes game folder.

2. Open the file L2.INI in your text editor of choice.

3. Change the Bios value to 732 and the Boot value to 0.

4. Save L2.INI and close the file.

5. Run L2.EXE in Dosbox as normal.

This is also documented at https://www.dosbox.com/comp_list.php?showID=383&letter=L.

I think he is trying to run in a real system. Not within Dosbox.

5476332566_7480a12517_t.jpgSB Dos Drivers

Reply 15 of 21, by Malik

User metadata
Rank l33t
Rank
l33t

Seems like this whole issue is a compatibility error with the Vortex86 CPU..

5476332566_7480a12517_t.jpgSB Dos Drivers

Reply 16 of 21, by Cyberdyne

User metadata
Rank Oldbie
Rank
Oldbie

Try using only Himem.sys and EMSMAGIC.

I am aroused about any X86 motherboard that has full functional ISA slot. I think i have problem. Not really into that original (Turbo) XT,286,386 and CGA/EGA stuff. So just a DOS nut.
PS. If I upload RAR, it is a 16-bit DOS RAR Version 2.50.

Reply 17 of 21, by vanfanel

User metadata
Rank Member
Rank
Member
Cyberdyne wrote on 2024-07-20, 09:37:

Try using only Himem.sys and EMSMAGIC.

That was a very good idea.
Doing that, the game doesn't hang in the sound initialization anymore, but then it shows corrupt graphics instead and hangs there.
I have to pass "/frame=dc00" to emsmagic, other frame addresses like c000 have similar results... Corrupt graphics.

Also, it says things like:
Page frame at DC00h
(WARNING: Page frame is not writable!)

If I don't pass a /frame parameter, emsmagic puts the ems page frame in conventional memory, which is then reduced to 545KB free, and the game won't run because of the lack of conventional memory.

Maybe the UMA is full on the Vortex86 SOM? Is there a way to tell?

JEMMEX puts it's frame in dc00, so it should be a free address...shouldn't it?

Reply 18 of 21, by vanfanel

User metadata
Rank Member
Rank
Member

I have attached a picture of the memory status of this machine according to the MEMSTAT tool from the JEMM project.

Do you guys see something strange that could be preventing EMS to work correctly?

Reply 19 of 21, by Cyberdyne

User metadata
Rank Oldbie
Rank
Oldbie

UMBPCI + HIRAM + HIMEM + if needed EMSMAGIC. This confoguration works for me for most DOS games. Only Windows 1.x/2.x somehow do not like the EMS that emsmagic provides.

I am aroused about any X86 motherboard that has full functional ISA slot. I think i have problem. Not really into that original (Turbo) XT,286,386 and CGA/EGA stuff. So just a DOS nut.
PS. If I upload RAR, it is a 16-bit DOS RAR Version 2.50.