Mail Archives: djgpp/2000/07/20/02:36:00
Hello!
If I recall correctly, I made the post about this subject and it gets
more and more interesting evertime I open a new reply. Anyway, here's
the reason behind the original post.
I am currently testing an implementation of a self-extracting executable
bound to PMODE/DJ. The current environments that I am testing the SFX in
include:
Win9x - Plain MS-DOS (Restart to MS-DOS mode) with himem.sys
- bootdisk with himem.sys
- Plain MS-DOS with himem CWSDPMI r4 (Where is r5 by the way?)
- Windows DOS box with settings:
Conventional Memory: Auto (not protected)
Initial Environment: 2048
EMS: Auto
XMS: Auto (Uses HMA)
DPMI: 65535
Tested under Win98 SE and Win95 OSR2
MS-DOS - 6.22 With himem.sys
- 6.22 Under Novell 4.0 still with himem.sys
- 6.22 with CWSDPMI r4
The SFX works fine, at least I think it does. The SFX stub is compressed
using UPX 1.01 (NRV) and it is prepended to the Zip archive. When the
executable is run, it reads in itself and unpacks the archive. The SFX
stub uses ZLIB 1.1.3 and C++ STL (the one that comes with DJGPP) vectors,
strings, and queues. Upon manipulation of the data, it uses at least 8K
(maybe more than this) buffers to facilitate decompression. These buffers
are allocated using STL vector<>. I compiled the thing using -O3 and
UPXed it with ``--best'' compression.
If anyone cares to try this program, you can find it on my webpage:
http:://www.geocities.com/n_abing/freezip.htm
Be warned, it's still in beta (one bug occurs only in pure MS-DOS with
archives containing LFN directories).
The program SFXGEN creates SFXers from Zip archives. The SFXers created
by this program is what I'm talking about.
Thanks.
----------------
_nimrod_a_abing_
------------------------------------------
Homepage: http://www.geocities.com/n_abing
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
- Raw text -