www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/11/01:26:01

Date: Mon, 11 Nov 1996 08:13:44 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Mark Habersack <grendel AT ananke DOT amu DOT edu DOT pl>
Cc: Daniel Jungbluth <danju AT t-online DOT de>,
"'DJGPP Mailing List'" <djgpp AT delorie DOT com>
Subject: Re: TSR?
In-Reply-To: <32860D38.1540@ananke.amu.edu.pl>
Message-Id: <Pine.SUN.3.91.961111080848.9863B-100000@is>
Mime-Version: 1.0

On Sun, 10 Nov 1996, Mark Habersack wrote:

> Eli Zaretskii wrote:
> 
> > > Yes, it is possible. Check out Charles Sandmann sample TSR. It should be
> > > found on DJGPP ftp site (also available on WWW).
> > 
> > Note that a small change introduced with DJGPP v2.01 (in the definition
> > of the `_exit' library function) breaks what Charles wrote.
> At which point? I haven't compiled the TSR with 2.01 so far.

In v2.01, `_exit' toggles exceptions, so that programs that call `abort'
(which calls `_exit' instead of `exit') don't end up with their system
wedged because hardware interrupts point into the void.  Since the example
TSR disables exception setup, the toggle at exit will probably need to be
disabled too.  That means you will need to add a substitute for `_exit' to
the TSR source. 

Note that the above is purely theoretical; I never actually did anything 
with Charles' example except looking at its source.

- Raw text -


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