www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/08/11/13:12:25

Xref: news-dnh.mv.net comp.os.msdos.djgpp:1473
Path: news-dnh.mv.net!mv!news.sprintlink.net!sunic!sunic.sunet.se!news.uni-c.dk!diku.dk!terra
From: terra AT diku DOT dk (Morten Welinder)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Idea: compressed COFF
Date: 10 Aug 1995 18:34:51 GMT
Organization: Department of Computer Science, U of Copenhagen
Lines: 23
Sender: terra AT tyr DOT diku DOT dk
References: <DCzGM6 DOT 7zz AT cyf-kr DOT edu DOT pl> <30275b50 DOT sandmann AT clio DOT rice DOT edu> <DD2ywv DOT MpH AT jade DOT mv DOT net>
Nntp-Posting-Host: odin.diku.dk
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

mat AT ardi DOT com (Mat Hostetter) writes:

>Interestingly, gzip is GPL'd, but "inflate.c" in the gzip distribution
>is prefaced with:

>/* inflate.c -- Not copyrighted 1992 by Mark Adler
>   version c10p1, 10 January 1993 */

>/* You can do whatever you like with this source file, though I would
>   prefer that if you modify it and redistribute it that you include
>   comments to that effect with your name and the date.  Thank you.
>   [The history has been moved to the file ChangeLog.]
> */

>Rewriting this code in djasm would be tough.  It would be nice to be
>able to link this C code into the executable (uncompressed of course),
>and let it uncompress the rest of the binary from protected mode.

We can link 32 bit code generated by gcc into the stub.  (djasm can
link-in coff object files.)  I don't see anything very difficult in
this approach, just more work as usual.

Morten

- Raw text -


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