delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/16/12:00:32

From: Damian Yerrick <MYNAMEISd_yerrick AT hotmail DOT comNO2CANNEDHAM>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Untrapping Ctrl-C in DJGPP
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <eialas4stai9p1s79p0o226b9ikce3fcg2@4ax.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000215094753 DOT 23996J-100000 AT is> <200002151908 DOT OAA27752 AT envy DOT delorie DOT com> <86p4sb963c3 DOT fsf AT sirppi DOT helsinki DOT fi>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 32
X-Trace: /bQNubzbFIwH9lBprllwPPEA+V8PwDuMIQ7iPYidmqECZlH39i8A1uzET8IbjZAqyXwrSd6+j9sC!tQ7IpXLQmmOh6tIDTmRU+VR5a1BBM46jKy5i+GQOUaIq+miI7jl/mqSzBtROW6ZN86zciKWKoIlo!Wq3Z1s0=
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Wed, 16 Feb 2000 13:49:07 GMT
Distribution: world
Date: Wed, 16 Feb 2000 13:49:07 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On 16 Feb 2000 08:58:36 +0200, Esa A E Peuha <peuha AT cc DOT helsinki DOT fi>
wrote:

>DJ Delorie <dj AT delorie DOT com> writes:
>
>> You can put in *any* dos program
>> (except djgpp programs, which already have something after the stub)
>> as the PE stub.
>
>You can use even djgpp programs: first a slightly modified djgpp stub,
>then the PE executable, _then_ the djgpp COFF image.
>
>Now that I think about it, you might even be able to make a dual
>DOS/Windows program that shares most of its code in both environments:
>first the aforementioned real-mode stub that loads a COFF stub, then PE
>stub that loads the actual COFF image and provides necessary interface
>to native Windows system calls, then the COFF stub that also loads the
>actual COFF image and provides interface to DPMI and DOS calls, then the
>actual COFF image which runs on both DOS and Windows and uses the
>interface provided by the stub for system calls.  Now wouldn't _that_
>be nice? ;-)

If Allegro could do this...

-- 
Damian Yerrick  http://yerricde.tripod.com/
Comment on story ideas: http://home1.gte.net/frodo/quickjot.html
AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/
View full sig: http://www.rose-hulman.edu/~yerricde/sig.html

This is McAfee VirusScan. Add these two lines to your .sig to
prevent the spread of .sig viruses.  http://www.mcafee.com/

- Raw text -


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