delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/02/23:29:56

Message-ID: <20000703032934.75812.qmail@hotmail.com>
X-Originating-IP: [208.160.246.197]
From: "Nimrod Abing" <n_abing AT hotmail DOT com>
To: djgpp AT delorie DOT com
Subject: Any other PMODE/DJ users out there???
Date: Mon, 03 Jul 2000 11:29:34 PHT
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com

Hello all!

I need help from any other users of PMODE/DJ who happen to be reading
this message. An explanation of what the following means and its
significance to any program bound to PMODSTUB.EXE will be very helpful.

This is an excerpt from the PMODE/DJ documentation:

"If you want to compress the stub, you will have to pad the
compressed exefile on a 512 byte boundary.  Otherwise you
cannot execute the file, at least not from other DJGPP
programs.  You have to change both the filesize and
the exeheader!"

Now, I've this executable that I bound to PMODSTUB.EXE via ``cat'', then
I compressed it with UPX current version. I ran the program under plain
DOS and it still worked. Then still in plain DOS, I ran BASH 2.03. From
the statement above, the program should *not* run, since BASH is a DJGPP
program. But to my surprise, it still ran. The program is a free PKUNZIP
replacement that I am developing. It uses ZLIB (which to my knowledge
uses plenty of memory) and it is written in C++. The reason I bound the
program to PMODSTUB is because I want plain DOS users to be able to run
my program (yep plenty of them around here). BTW the program size is not
aligned on a 512 byte boundary. Are there any other PMODE/DJ users with
similar experiences out there? Please share any information that you
know.

Thanks in advance.

----------------
_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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019