www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/03/14/12:14:33

Date: Tue, 14 Mar 1995 16:28:26 +0100 (GMT+0100)
From: Erik Laumb Jensen <jensen AT nora DOT gih DOT no>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Compressed executables

A thought just struck me while I was 'liting' some exe files on my drive 
the other day.  Has anyone ever made a pklite/lzexe-like extension to the 
go32 stub?  If not, wouldn't this be trivial to implement in the existing 
code?  An implementations could use either one of the existsting 'invisible' 
zip libraries or execute gunzip to uncompress the executable.  Programs 
compiled with DJGPP are often rather big (and the problem with large 
static arrays would be (almost) gone).  Anyway, just a thought..

While I'm on it, a slightly more complex issue..  We already have to use 
drivers to access graphics (dunno if the forthcoming grx20 uses them though).  
Would it be possible to use the driver concept for disk io and things like
soundcards etc.?  It would be great to have full 32-bit io-access (linux 
has it, and its code should be freely available).  Of course, if no driver 
is available, the standard real-mode interrupt calls should be used.  Then 
again, I have no idea how hard this would be to implement (and if anyone 
would bother to do it).  After all, DJGPP is just a compiler (a good one
at that I might add), not an OS.

Well.. that's it I suppose, (be kind, it's my first posting here <smiley>)

Erik


- Raw text -


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