🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #4217

Compressors and overlays (was: Executrix info wanted)

#4217
From: Duncan Murdoch
Date: Thu, 10 Jan 1991 16:16
25 lines
1670 bytes
In article <4383@mindlink.UUCP> a563@mindlink.UUCP (Dave Kirsch) writes:
>> kgowen@cie.uoregon.edu writes:
>> One last note, I would not recommend using one [LZEXE, PKLITE, etc] of these
>> compressors if your program uses overlays.
>
>Actually, you can use it if you are using Microsoft Link style overlays.  You
>can't compress the overlays, but you can compress the root EXE code.  

I've seen one program (Binkleyterm version 2.3) that's compiled with MSC and
has overlays included which won't run after PKLITE compresses it.  I don't
know which linker was used for it.  In just about every other case I've tried,
with the notable exception of protected mode programs, they've run fine after
compression.  In fact, there's no noticeable difference in load time, 
presumably because I've got such a slow disk.

> What's
>involved is after you link your application with MS link using overlays, you
>have to run a program to split the root code and the overlays into seperate
>files, then run something like LZEXE on the root code, then glue all the
>overlays back together.

With PKLITE, this isn't necessary:  it does the splitting and gluing for you.

Duncan Murdoch
dmurdoch@watstat.waterloo.edu
Technical Details
Message-ID: <1991Jan10.161641.13636@maytag.waterloo.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!maytag!watstat.waterloo.edu!dmurdoch
References: <4383@mindlink.UUCP>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!maytag!watstat.waterloo.edu!dmurdoch
From: dmurdoch@watstat.waterloo.edu (Duncan Murdoch)
Subject: Compressors and overlays (was: Executrix info wanted)
Message-ID: <1991Jan10.161641.13636@maytag.waterloo.edu>
Sender: daemon@maytag.waterloo.edu (Admin)
Organization: University of Waterloo
References: <4383@mindlink.UUCP>
Date: Thu, 10 Jan 91 16:16:41 GMT
Lines: 26