Mail Archives: djgpp/2000/03/08/08:42:46
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 -