Hi,

On Sun, Jun 28, 2015 at 3:59 PM, Mateusz Viste <mate...@viste.fr> wrote:
> On 28/06/2015 20:03, Eric Auer wrote:
>> As mentioned earlier, all those tricks are just working around
>> annoying limitations of the totally outdated DOS extender used
>> by DOOM. The better solution is to replace that: Use DOS32A or
>> load a resident instance of CWSDPMI while playing DOOM :-)

If I try to manually load CWSDPMI r7 on this 6 GB machine, it returns
"4 GB free" while CWSDPMI r5 only gives me "1.8 GB free". But Doom
(1.9 shareware) gets confused with r7 and won't load at all (not
enough memory). Presumably this (different bug) is a "signed long"
error (same as UHexen2 had until semi-recently). Unfortunately,
setting "DOS16M" doesn't work as (apparently) memory ranges are
ignored under DPMI.

Even running under QEMU (1 GB free for the VM), CWSDPMI chokes with
"not enough swap" because it needs to swap the page tables out of low
RAM. (Normally I only use 128 MB, which is fine.) So (IIRC) I had to
use "cwsdpmi -s%RAMDRIVE%:\cwsdpmi.swp" just to run at all.

Actually, running raw (press F5 at boot, without any external memory
managers) works just fine on this 6 GB machine (with the built-in
DOS4G). So mouse and PC speaker work fine, no hang at exit.

BTW, neither OpenWatcom 1.9's DOS4GW.EXE 1.97 nor CWSTUB.EXE will run
this particular .EXE (by default, without unknown manual adjustments).
However, as mentioned, "dos32a doom.exe" works fine.

> While I do agree with the raw technical argument that DOS32A seems
> superior to DOS4GW, it's still my opinion that it's saner to have a
> system that can accommodate such XMS requirements rather than "patching"
> the game/program with third-party bits.

The DOSBox developers (which, as I keep reminding us, is explicitly
meant only for games) have directly recommended DOS32A to many people
who insist on trying to play old DOS4GW games. Heck, they have even
made hardcoded fixes in their emulator (fake DOS) for buggy games
(e.g. BioMenace). It's not like MS never did the same (e.g. Win95 and
SimCity)! BTW, there's a reason that DOSBox only goes up to maximum 64
MB of RAM (with only 16 MB enabled by default): using more would break
a lot of old games!

This game is too old to be directly supported, even though they still
sell it. You can't rely on Windows to work by default for DOS games
anymore (which was, by far, the most popular target of most DOS
software, esp. for DPMI). Even DJGPP (e.g. 2.03p2) had to work around
unfixed bugs in 2000/XP's NTVDM. Everything since Vista has been much
worse. The days of having DOS extenders be well-supported and working
under all environments (raw, XMS, VCPI, DPMI) are long gone, esp. on
modern hardware with gigs of RAM.

I'm not sure what Steam uses, but it's probably DOSBox or a newer
Win32 port (PrBoom?). That's as good as you can expect these days
(unless you like to fiddle with arcane setups like we do).

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to