Article View: comp.os.msdos.programmer
Article #7601Re: LOADFIX and low-memory EXE loading
From: Fuzzy Fox
Date: Tue, 12 Jan 1993 00:52
Date: Tue, 12 Jan 1993 00:52
27 lines
1592 bytes
1592 bytes
jjarrett@csugrad.cs.vt.edu (James Jarrett) writes: >My DOS manual does not mention LOADFIX, so all I have is the HELP LOADFIX >documentation. How does it work and why is it necessary? LOADFIX allocates memory up to the first 64K segment, then loads your program at that point, avoiding the problems that occur when the code segment is below the 64K boundary. Normally only DOS is below this boundary, but DOS 5 can load high and thus allow programs to run there. >Next, how can I write a program so it doesn't need LOADFIX? You must be doing something strange to generate a program that fails. The only problems I have heard of are a buggy version of PKLITE and an old bug appearing in the EXEPACK module from Microsoft. Are you linking with the /EXEPACK (or /PACK or whatever) option on your linker? You might just stop using that option, and see. A program called LOWFIX (available at Simtel-20 and other archive sites) will patch programs to fix their problems when loading below 64K. See what it thinks of your program. -- #ifdef TRUE | Fuzzy Fox (a.k.a. David DeSimone) fuzzy@netcom.com #define TRUE 0 | #define FALSE 1 | "911 Emergency Rescue Service - Can you hold, please?" #endif |
Technical Details
Message-ID:
<1993Jan12.005245.9608@rei.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!rei2!foxReferences:
<C0ozzJ.DJA@csugrad.cs.vt.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!rei2!fox From: fox@rei.com (Fuzzy Fox) Subject: Re: LOADFIX and low-memory EXE loading Message-ID: <1993Jan12.005245.9608@rei.com> Date: Tue, 12 Jan 1993 00:52:45 GMT References: <C0ozzJ.DJA@csugrad.cs.vt.edu> Organization: Recognition Equipment, Inc. Lines: 27