🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #627

Re: Smart linking of data segments

#627
From: david nugent
Date: Wed, 06 Jun 1990 06:22
29 lines
1848 bytes
> In article <1205@tuewsd.win.tue.nl> wsineel@lso.win.tue.nl (e.vriezekolk) writes:

> >How can I convince MASM/link that she doesn't have to include
> >the data segements?
> 
> Probably what you want is to allocate the memory dynamically at run
> time, by asking DOS for memory blocks.  But you can do what you
> are currently doing and EXEPACK the resulting EXE.  EXEPACK will
> run encode the EXE and eliminate the redundant info in the EXE file.
> EXEPACK is a linker option in recent MS linkers and a separate program
> shipped with older language products.


While I agree with the above, I'd just like to alert anyone to a better
alternative.  LZEXE by Fabrice Bellard does full LZW compression with
an extremely fast decompressor.  It is in the public domain (FREEWARE),
and can be used without restriction.

I've found through personal use of LZEXE that it typically reduces the
size of most executables (it can only handle true .EXE files) by more
than 50% - they can even be as small as 4K.  Unlike similar products
(such as SEA's AXE), it doesn't take forever to load - in fact, it
normally loads in around the same speed that DOS would run the raw
executable.

david
-- 
  Unique Computing Pty Ltd, Melbourne, Aust.
  david@csource.oz.au  3:632/348@fidonet  28:4100/1@signet
Technical Details
Message-ID: <12@csource.OZ.AU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!uunet!munnari.oz.au!csource!david
References: <1094.266605B1@onebdos.UUCP> <980@soleil.UUCP> <55056@microsoft.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!uunet!munnari.oz.au!csource!david
From: david@csource.OZ.AU (david nugent)
Newsgroups: comp.sys.ibm.pc.programmer
Subject: Re: Smart linking of data segments
Summary: Compression of executables
Message-ID: <12@csource.OZ.AU>
Date: 6 Jun 90 06:22:31 GMT
References: <1094.266605B1@onebdos.UUCP> <980@soleil.UUCP> <55056@microsoft.UUCP>
Organization: Unique Computing Pty Ltd, Melb, Aust.
Lines: 29