www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/11/03/04:11:20

Date: Sat, 03 Nov 2001 10:55:45 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: elj AT sky1 DOT elj DOT org (Edwin Johnson)
Message-Id: <2950-Sat03Nov2001105545+0200-eliz@is.elta.co.il>
X-Mailer: emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <slrn9u5g6a.2sj.elj@sky1.elj.org>
Subject: Re: Interrupt handled RS232
References: <slrn9u2jt7 DOT se DOT elj AT sky1 DOT elj DOT org> <5137-Fri02Nov2001111121+0200-eliz AT is DOT elta DOT co DOT il> <slrn9u5g6a DOT 2sj DOT elj AT sky1 DOT elj DOT org>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Newsgroups: comp.os.msdos.djgpp
> From: elj AT sky1 DOT elj DOT org (Edwin Johnson)
> Date: 2 Nov 2001 21:47:11 GMT
> 
> I have the protected mode handler working, so the long post of code can be
> ignored for now. As of yet the real mode handler doesn't work, but I suspect
> it has to do with my transferring it to low memory, which I don't understand
> fully.

Hardware interrupts are by default always reflected to the PM
handler.  So the only way you could see your RM handler called is if
the interrupt happens while the CPU is in real mode (like while the
foreground program is writing to disk).

Also, please note that the FAQ advises a specific order of hooking the
interrupt if you install both a PM and an RM handlers.  If you don't
follow that order, you might not get real-mode handler called.

- Raw text -


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