Mail Archives: djgpp/1999/08/18/15:14:18
On Sun, 15 Aug 1999, Martin Peach wrote:
> Although I enabled the receive character interrupt in the IER register of
> the UART and set the PIC interrupt mask, I am not sure if the UART is
> generating interrupts to the 8259 PIC. Is there a way to check for this?
One way of doing this would be to read the Interrupt Request Register and
Interrupt In-Service Register of the PIC, and check whether the bit
corresponding to IRQ3 is set.
> Is it OK to use a protected mode handler for the COM ports?
Yes.
> Is something else getting to my interrupts before I get there?
No, hardware interrupts are always sent to the protected-mode handler
first.
- Raw text -