delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/31/09:15:15

From: "Florian X" <dos DOT fire AT aon DOT at>
Newsgroups: comp.os.msdos.djgpp
References: <39fbf11e$0$7492 AT SSP1NO25 DOT highway DOT telekom DOT at> <39fcc6ec DOT sandmann AT clio DOT rice DOT edu>
Subject: Re: CWSDPMI and UPX
Date: Wed, 1 Nov 2000 15:10:48 +0100
X-Newsreader: Microsoft Outlook Express 4.71.1712.3
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Lines: 41
Message-ID: <39fed2d1$0$13970@SSP1NO25.highway.telekom.at>
NNTP-Posting-Host: 212.183.94.21
X-Trace: newsreader01.vienna.highway.telekom.at 973001425 13970 212.183.94.21
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Thanks!!!

bye, florian

Charles Sandmann schrieb in Nachricht <39fcc6ec DOT sandmann AT clio DOT rice DOT edu>...
>> How can I use the stub version with UPX, because I need to compress my
exe
>> file?
>
>If you append the stub before UPX'ing the file, it should work fine.  You
>can also use the upx --coff qualifier to create a COFF output then do the
>COPY /B CWSDSTUB.EXE+coff_output new.exe ...
>
>> BTW: Does somebody know the difference between the memory which will be
used
>> from CWSDPMI and PMODE/DJ if they are started as TSR?
>
>The TSR versions behave about the same as the built in versions.  To get
>exact numbers I'd suggest just building an image which does a
>system("command.com") and running mem/c and/or mem/d from it.
>
>If you use the built in stub, the memory required for each stub depends on
>the amount of physical memory present on the system, and if it has EMM386
>enabled, etc.   For a VCPI system with relatively small amount of memory
>PMODE/DJ will use 20-30Kb less DOS memory.  For a raw environment system
>with 128Mb of memory PMODE will use around 140Kb less DOS memory (since it
>does not enable paging or use page tables to support virtual memory).
>
>I do know of a couple of problems with PMODE/DJ however - since PMODE can't
>nest any programs running nested can mess things up.  It also don't seem
>to handle "novcpi" on an EMM386 line well.  The lack of virtual memory is
>can be a problem - so I recommend you determine the worse case stack size
>and stubedit that in - the default of 256Kb can be a problem on small
>memory machines.  And you need to be aware the default stack size is
>smaller (256Kb) than on the standard stub (512Kb) which could cause
problems
>if you aren't careful.
>
>If you plan to mess with PMODE/DJ, please get the 1.3 beta.


- Raw text -


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