Mail Archives: djgpp/1998/09/09/04:28:36
On Tue, 8 Sep 1998 you wrote:
> I'm attempting to translate some code I had originally written in RM
> that uses a couple of HW interrupts into PM using DJGPP. I'm having
> trouble getting the serial ports to respond, though. Not knowing
> otherwise, I've attempted to programming the UARTS in the conventional
> manner, and then attempt to hook both the PM and RM interrupts using
> almost all combinations of __dpmi and __go32-style routines for both
> assembly and C ISRs.
Did you read section 18.9 of the FAQ? It explicitly tells you that
you shouldn't need to hook both RM and PM interrupts.
I suggest that you try to hook the PM interrupt only, then, if that
doesn't work, describe in more details what problems do you see
(``having trouble getting the serial ports to respond'' is too vague),
and maybe even post some code fragments.
- Raw text -