Descent won't work in DOS

Getting old software/games running on older hardware.

Descent won't work in DOS

Postby Gahhhrrrlic » 2019-4-27 @ 18:23

I'm trying to get Descent 1 to run in real DOS (prior to OS boot using GUI = 0 option) on a WIndows 98 rig. However I'm getting a general protection fault 2001 at 0DH with DOS4GW. According to the internet this is not a rare problem or anything but I can't get a clear answer on how to fix it. There was some stuff about PATH length but I tried that solution and it didn't work. I'd run it under 98 except I can't get my midi wavetable working so I'd rather run it under DOS where it actually does work. Anybody had this error with Descent before?
Gahhhrrrlic
Member
 
Posts: 363
Joined: 2017-12-05 @ 00:39

Re: Descent won't work in DOS

Postby xjas » 2019-4-27 @ 18:38

Try replacing DOS4GW.exe with DOS32A - I did that on my Descent 2 install, but I can't remember the exact error I was getting that led me to do so.
User avatar
xjas
l33t
 
Posts: 2049
Joined: 2015-9-07 @ 02:29

Re: Descent won't work in DOS

Postby Gahhhrrrlic » 2019-4-27 @ 19:01

I believe that DOS4GW is compiled right into the binary, which is probably why I don't see the file in the game directory.
Gahhhrrrlic
Member
 
Posts: 363
Joined: 2017-12-05 @ 00:39

Re: Descent won't work in DOS

Postby Davros » 2019-4-27 @ 19:11

Try creating a dos boot disk and boot from that
Guardian of the Sacred Five Terabyte's of Gaming Goodness
User avatar
Davros
l33t
 
Posts: 2625
Joined: 2004-3-01 @ 03:08

Re: Descent won't work in DOS

Postby xjas » 2019-4-27 @ 19:51

Davros wrote:Try creating a dos boot disk and boot from that


^^ hmm, didn't realize it was different than Descent 2. Try just running 'dos32a descentr.exe' which should(?) do the same thing. IIRC there's also a patcher available that replaces bundled in DOS4GW with DOS32A.

Note: I'm not *sure* this will solve your problem, just curious if it works.
User avatar
xjas
l33t
 
Posts: 2049
Joined: 2015-9-07 @ 02:29

Re: Descent won't work in DOS

Postby aleksej » 2019-4-27 @ 20:52

Try to playing with EMM386 or replace it with JEMM386.
aleksej
Member
 
Posts: 316
Joined: 2006-4-30 @ 05:27
Location: Moscow

Re: Descent won't work in DOS

Postby Gahhhrrrlic » 2019-4-27 @ 21:02

But this is whatever version of DOS comes with 98. It doesn't even call a mem manager in the config sys.
Gahhhrrrlic
Member
 
Posts: 363
Joined: 2017-12-05 @ 00:39

Re: Descent won't work in DOS

Postby retardware » 2019-4-27 @ 21:23

Early DOS extenders had difficulties not only with whateverEMMbleh, but sometimes even with HIMEM, too.
retardware
Oldbie
 
Posts: 642
Joined: 2019-1-30 @ 02:00

Re: Descent won't work in DOS

Postby akula65 » 2019-4-28 @ 11:02

Make certain you have updated Descent to at least Version 1.4a. The following links have the Version 1.0=>Version 1.4a and Version 1.4a=>Version 1.5 patches:

http://www.dfiles.de/download/d1/patches/d1_14a.exe
http://www.dfiles.de/download/d1/patches/d1_15.exe

Avoid the Version 1.0=>Version 1.5 patch as it introduces problems with music after Level 7.
User avatar
akula65
Oldbie
 
Posts: 534
Joined: 2004-9-28 @ 01:29
Location: North Carolina

Re: Descent won't work in DOS

Postby Gahhhrrrlic » 2019-4-29 @ 03:03

I tried 1.4a and it still didn't work. I also just tried booting from a 6.22 floppy but now I can't access my c drive. Possibly because it's a different version of dos than what I formatted the c drive from? Not sure.
Gahhhrrrlic
Member
 
Posts: 363
Joined: 2017-12-05 @ 00:39

Re: Descent won't work in DOS

Postby retardware » 2019-4-29 @ 03:52

6.22 supports partitions only up to 2GB.
What about showing us your config.sys and autoexec.bat?
retardware
Oldbie
 
Posts: 642
Joined: 2019-1-30 @ 02:00

Re: Descent won't work in DOS

Postby canthearu » 2019-4-29 @ 05:47

Strange, never had any real issues with Descent 1 working in MSDOS, with or without the standard Microsoft memory managers.

Have you done a full memtest to see if the memory is working right?
canthearu
Oldbie
 
Posts: 686
Joined: 2018-5-26 @ 01:00

Re: Descent won't work in DOS

Postby dr_st » 2019-4-29 @ 06:03

So, it works under Win98, but not under Win98 pure DOS mode?

Did you try to start up Win98 DOS with startup files skipped (F5 at startup), as opposed to creating DOS 6.22 bootdisk?
User avatar
dr_st
Oldbie
 
Posts: 1942
Joined: 2015-4-09 @ 07:18

Re: Descent won't work in DOS

Postby Gahhhrrrlic » 2019-4-29 @ 14:58

dr_st wrote:So, it works under Win98, but not under Win98 pure DOS mode?

Did you try to start up Win98 DOS with startup files skipped (F5 at startup), as opposed to creating DOS 6.22 bootdisk?


I suppose I could try that (I think it's called DOS Safe Mode or something).

I didn't mean that it doesn't work with 6.22. However if I can't access my drives with 6.22 there's no way to load the game since it won't fit on a floppy.
Gahhhrrrlic
Member
 
Posts: 363
Joined: 2017-12-05 @ 00:39

Re: Descent won't work in DOS

Postby Gahhhrrrlic » 2019-4-30 @ 18:43

Fixed the problem. It was the fact that Win98 by default does not use any memory managers for DOS. As soon as I called HIMEM and EMM386, Descent started working. Interesting to point out that it broke other games though like operation neptune.

I also have problems with Jazz and Towers but apparently that's a CRT? bug. I'll figure that out.
Gahhhrrrlic
Member
 
Posts: 363
Joined: 2017-12-05 @ 00:39

Re: Descent won't work in DOS

Postby retardware » 2019-4-30 @ 19:00

Gahhhrrrlic wrote:I also have problems with Jazz and Towers but apparently that's a CRT? bug. I'll figure that out.


Late PCI, early and middle AGP video chips DOS game compatibility test results
retardware
Oldbie
 
Posts: 642
Joined: 2019-1-30 @ 02:00

Re: Descent won't work in DOS

Postby Gahhhrrrlic » 2019-4-30 @ 19:10

retardware wrote:
Gahhhrrrlic wrote:I also have problems with Jazz and Towers but apparently that's a CRT? bug. I'll figure that out.


Late PCI, early and middle AGP video chips DOS game compatibility test results


I think CRT might be a misnomer or it's not as it seems. The bug I'm referring to is the programming language used to compile games like Jazz and Towers. Apparently there was a bug in the code that would cause the game to crash if the CPU was faster than 200MHz. How this relates to a CRT is beyond me but the fix involves some sort of patch which rewrites the exe files to fix the bug and allow them to play again.
Gahhhrrrlic
Member
 
Posts: 363
Joined: 2017-12-05 @ 00:39

Re: Descent won't work in DOS

Postby zyga64 » 2019-4-30 @ 19:35

CRT is the name of the unit in Borland/Turbo Pascal. It provides functions for screen handling , keyboard etc.
Something like stdio.h in C or iostream in C++. In this unit somwhere there is a loop which causes overflow error on fast CPU (well faster than 200MHz).

It seems that those games are created using Borland Pascal...
1) SCAMP /286@20 /4MB /TVGA9000C /CMI8330
2) i420EX /486DX33 /8MB /Trio64V+ /YMF718
3) i430HX /P233MMX /64MB /VirgeDX+3Dfx /Vibra16s
4) i440BX /P!!! 450 /256MB /TNT /AWE64
5) i865G /E3200 /1GB /Ti4200 /YMF724
zyga64
Member
 
Posts: 158
Joined: 2014-3-12 @ 14:38
Location: Poland

Re: Descent won't work in DOS

Postby gdjacobs » 2019-5-01 @ 05:06

zyga64 wrote:It seems that those games are created using Borland Pascal...


Certainly Jazz Jackrabbit was.
User avatar
gdjacobs
l33t++
 
Posts: 6498
Joined: 2015-11-03 @ 05:51
Location: The Great White North

Re: Descent won't work in DOS

Postby ssokolow » 2019-5-11 @ 06:16

zyga64 wrote:CRT is the name of the unit in Borland/Turbo Pascal. It provides functions for screen handling , keyboard etc.
Something like stdio.h in C or iostream in C++. In this unit somwhere there is a loop which causes overflow error on fast CPU (well faster than 200MHz).

It seems that those games are created using Borland Pascal...


...and there are various patchers for that too, with names like CRTFIX.EXE and PATCHCRT.EXE.

As I remember, it's some kind of CPU speed measuring loop. (Similar problem to why the first Unreal engine doesn't like it if your CPU's clock speed varies while you're playing.)
Internet Archive: My Uploads
My Blog: DOS & Win16 programming resources, Free Installer Creators for All Eras
My Rose-Coloured-Glasses Builds

I also try to announce anything retro-relevant on on Twitter.
User avatar
ssokolow
Newbie
 
Posts: 57
Joined: 2018-6-14 @ 19:59
Location: Canada

Next

Return to Software

Who is online

Users browsing this forum: No registered users and 4 guests