VOGONS


First post, by tranceman

User metadata
Rank Newbie
Rank
Newbie

I am attempting to Run Doom Construction Kit for DOS. It's a really old Map editor and WAD archiver for DOom and Doom2. I think the Program uses an extender but I'm not sure if it does.

I have heard of an Extender that can Detach an embedded DOS extender off of an Executable and patch it's self, and I waqnt to check it out, but I want to know if it will work on DCK first.

Other question, is VESA video mode set automatically by DOSbox or do I have to configure it?

-Trance

Reply 2 of 13, by tranceman

User metadata
Rank Newbie
Rank
Newbie

it's a big screen full of junk. the instruction referenced illegal address 000CF014
then a hex address...
then 32 Loader runtime error... and this may be because the dos extender that DCK uses is not supported by the emulator...

this occurred when trying to loar BGI32.DLL

and I think I have actually managed to get this error in actual DOS... so it may be because there is no VESA driver loaded... but I may be totally wrong about that if you say VESA is present by default.

any hel would be much appreciated!
thanks
-Trance

Reply 5 of 13, by tranceman

User metadata
Rank Newbie
Rank
Newbie

I did what you said, and I got a differnt error message. I researched the error message and discovered that XMS was required. SO I turned on XMS, and got the original message again.

I looked in the DCK helpfile and found out that HIMEM.SYS was required.
at any rate I have a copy of the Help Document that came with DCK. I will post it here just in case the solution to the problem can be found here.
---------------------------------------------------------------------------------------
--------------------------------------------------------------------
DCK - DOOM Construction Kit
Version 2.x (386 Protected Mode)
Code and design by Ben Morris / Zerius Development
--------------------------------------------------------------------
Troubleshooting bmorris@islandnet.com
--------------------------------------------------------------------

Although DCK will work fine on most systems, it might not work on
yours. I guess that's why you're reading this - this file might
help you solve the problem before you need to contact me.

--------
Terms
--------

CONFIG.SYS and AUTOEXEC.BAT are files used by your computer when it's
starting up. They can be found in the ROOT directory of your C:
drive, ie: "C:\CONFIG.SYS" and "C:\AUTOEXEC.BAT".

TSR - "Terminate and Stay Resident" (or "Device Driver".) This is the
term given to those programs that are loaded when your system starts
up and stay active in memory. Programs like Mouse Drivers and Memory
Managers are TSRs.

-----------------
What DCK Needs
-----------------

Make sure your system has the following resources available:

- 25 "file handles." This is the number in CONFIG.SYS under the
"FILES=" setting - make sure the number after FILES= is at least 25.

- HIMEM.SYS, or a device driver that provides similar capabilities.

- About one and a half megs (1,500k) of free memory. If you don't
have this much memory, follow the directions below.

---------
Memory
---------

If you can't spare the "real thing", DCK can optionally use your hard
drive as memory storage. This might be a little slow, but if you're
running DCK on a 4 meg system with a disk cache and all, it might not
have enough of the real stuff to run smoothly. So, here's how:

In your AUTOEXEC.BAT file, add the following line to the bottom of
the file:

SET DPMI32=SWAPFILE C:\DCK\DCK.SWP

This will use the file "C:\DCK\DCK.SWP" as temporary storage. Of course,
you can use any disk and filename for the swapfile, so "D:\DCK\DCK.SWP"
might be valid too.

---------------
VESA Drivers
---------------

If your VESA driver does not work with DCK, it could be because it's
out-of-date. Make sure the driver supports "VESA Implementation 1.2"
(or higher than 1.2.) This information should be displayed when you
load the driver - if not, or the driver is indeed old, contact the
card's manufacturer and get an update for the driver.

If they do not supply one, tell them they're going to HELL for
hindering development of levels for DOOM, the evillest game ever to
run on PCs. That'll get 'em.

---------
EMM386
---------

EMM386 has been known to cause problems with DCK. If your CONFIG.SYS
file loads EMM386.EXE, follow the instructions listed under "Other
Problems" a couple pages down.

Or, just remove the driver.

-------
QEMM
-------

When you install QEMM 7.0+, it places a device driver called QDPMI.SYS
in your CONFIG.SYS file. This driver is incompatible with DCK -
luckily, it's not necessary to install it in most cases. Simply
remove or comment the line in CONFIG.SYS that says:

DEVICE=C:\QEMM\QDPMI.SYS

To comment out the line, put the word "REM" in front of it.

--------------
Windows 3.1
--------------

Note: This is applicable only for Windows 3.1 - DCK should run under
Windows NT without any problem.

To run DCK under Windows, you need to do the following:

1. Copy the file WINDPMI.386 into the \WINDOWS\SYSTEM subdirectory.
2. Add the following line to the [386Enh] section of SYSTEM.INI:

device=windpmi.386

If you have any problems, please let me know.

Note: I've included DCK.PIF - you should use this instead of DCK.BAT
or DCK32.EXE when you add DCK to the program manager.

-----------------
Other Problems
-----------------

If you can't find a solution above, read this section.

Many TSRs and other programs loaded at startup can cause problems with
DCK because of its use of system resources. Unfortunately, this is
not something I can do much about - the standards developed by the
"big software companies" to allow programs like DCK and the TSRs to
coexist on a system are not entirely robust and can present many minor
problems depending on your system's setup.

Therefore, if you're having a problem that you can't find a workaround
for, I suggest the following course of action:

1. Rename autoexec.bat and config.sys to some other names, like
"autoexec.dck" and "config.dck".
2. Create a new config.sys with the following statements in it:

FILES=25
DEVICE=C:\DOS\HIMEM.SYS

3. Reboot your machine.
4. Try out DCK again.

If you still have problems, please contact me using the email address
at the top of the file.

If DCK works properly, the culprit is one of the programs loaded at
startup; the only way to figure out exactly WHICH program is to add
lines back into config.sys and autoexec.bat, one by one, and rebooting
your machine and testing DCK after you've made each change. This
method is a last resort, but in most cases the problem will be found
and you'll be able to use DCK with a slightly modified configuration.
I wish there were an easier way!

Reply 7 of 13, by milicognj

User metadata
Rank Newbie
Rank
Newbie

I started debugging this. I hope I will have luck and return soon with results.

Game runs in DPMI with 32RTM.exe and loads drivers dpmi32vm.ovl bgi32.dlll (Borlands 1.0 veresion) and acc.dll.

P.S. Instruction FRSTOR (code DD /4) is not shown in the debugger, but it is executed properly of course.

Ognjen

Reply 10 of 13, by milicognj

User metadata
Rank Newbie
Rank
Newbie

Hi on first sight I got this. I used dynamic core.

32 loader runtime error: Unhandled exception
Exception 0E at 0197:65f1 error code 2

///Then processor context is displayed

The invalid instruction was executed at 65f1

///Then some memory dump from where is instruction

The instruction referenced illegal address 00122000

Module 'C:\IGRE\PUCACKE\DOOMCK\ACC.DLL' section '.realloc' offset 1000.
Unhandled exception 000e at 0020:2aba ErrCode 0000

When I start it with normal core within debug release in VS2005 i get this

Access violation reading location 0x0000f157

This happens in function
INLINE Bit32u host_readd(HostPt off)

and variable off can not be calculated wich is understandable.

What this could mean?

Ognjen