delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/08/08:42:46

Date: Wed, 8 Mar 2000 12:15:49 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: steven mann <steve DOT mann AT gecm DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: How do I get INT 11 (vector 73h) to work in protected mode
In-Reply-To: <38c50cce$1@pull.gecm.com>
Message-ID: <Pine.SUN.3.91.1000308121526.6599N-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 7 Mar 2000, steven mann wrote:

> I have looked at all the FAQ's for DJGPP edition 2.11 for DJGPP 2.01.

I suggest to upgrade both to DJGPP v2.03 and FAQ v2.30.  I cannot
promise that it will magically solve all your problems, but at least
you will have a better library and a FAQ with better, clearer, more
up-to-date info...

> The interrupt handler does not get
> called when  I run the program despite all, my efforts. I can see interrupts
> being generated by the hardware and thats it.

The code you posted is very incomplete.  The interrupt handler itself
is missing; without looking at its code, it's impossible to say
whether the handler is the reason you don't get interrupts (perhaps
you don't EOI the Interrupt Controllers).  The code which installs the
handler lacks the parts which enable IRQ 11 in the master and slave
Interrupt Controllers.  If the code you posted is all that you have,
it's no surprise it doesn't work.

Btw, the issues I mentioned have nothing to do with DJGPP per se; it's
basic PC interrupt-handling stuff.  That's why it isn't in the DJGPP
FAQ list (but the User Guide on www.delorie.com has a chapter on it).
If you have never before written a program which handles hardware
interrupts from peripheral devices, perhaps you should consider
reading a good book which explains how to do that.

- Raw text -


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