delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/01/21/08:49:10

Date: Wed, 21 Jan 1998 15:48:54 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
cc: Anthony DOT Appleyard AT umist DOT ac DOT uk, djgpp-workers AT delorie DOT com
Subject: Re: MCLSSAA2 : hooking interrupt 9
In-Reply-To: <9801202139.AA13971@clio.rice.edu>
Message-ID: <Pine.SUN.3.91.980121154827.27671J-100000@is>
MIME-Version: 1.0

On Tue, 20 Jan 1998, Charles Sandmann wrote:

> If you are going to this much trouble, don't bother with the
> user handler as implemented, since just chaining the interrupt
> is about the same amount of code.
> 
> However, if you document the restriction that SS != DS in this
> routine, and thus you can't call many subroutines (fast simple
> rule) it will work fine.

I agree with Charles.  This facility is for simple and fast callbacks,
and should be documented and designed accordingly.  Users who want
fancier code to be called by the keyboard handler should write and
install their own handler in the first place.  There's no need to
punish everybody because of the needs of a few.

- Raw text -


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