Mail Archives: djgpp/1999/11/03/22:37:47
On Wed, 3 Nov 1999, Rob Kramer wrote:
> It's IRQ 10 decimal..
IRQ 10 requires to set up both the Master and the Slave Interrupt
Controllers, and send the EOI command to both of them. Make sure your
code does this.
> This seems like a good idea, but I couldn't find any info on how to read
> those registers. I found some docs that show that I first have to set 2 bits, so
> that the next read will give me the IRR or the ISR. But how do I chose which
> of the Command Words will be written?
You read these registers of the slave controller by reading port 0Ah. You
specify what register to read by sending a command (writing) to port 0Ah
before reading it. A command value of 0Ah selects the IRR, the Interrupt
Request Register, while the value 0Bh selects the ISR, the Interrupt
In-Service Register.
- Raw text -