flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 24 Feb 2009, 02:38
IIRC EOI releases the INTR request at the hardware level and allows for the detection of the next lower priority request. If you don't release the INTR with EOI then you get stuck in a loop of servicing interrupt requests because the CPU thinks the interrupt is still active.
|
|||
![]() |
|
Japheth 26 Feb 2009, 19:21
revolution wrote: If you don't release the INTR with EOI then you get stuck in a loop of servicing interrupt requests because the CPU thinks the interrupt is still active. That's not quite correct. The EOI is intended for the PIC only. If no EOI is sent to the PIC then the PIC thinks the interrupt is still pending and the CPU will receive no further IRQs. You can easily test what's going on in the PIC by reading its IRR (interrupt request register) and ISR (interrupt service register). After EOI is sent to the PIC, the bit in the ISR of the currently handled IRQ will change. |
|||
![]() |
|
bitRAKE 27 Feb 2009, 16:47
It has been a long time since I read the docs, but isn't there some way to set the triggering to where the PIC assumes the IRQ will be handled? I thought there was four triggering modes, but one that is used by most everyone.
|
|||
![]() |
|
DOS386 28 Feb 2009, 12:36
Japheth wrote: That's not quite correct. The EOI is intended for the PIC only. If no EOI is sent to the PIC then the PIC thinks the interrupt is still pending and the CPU will receive no further IRQs. Thanks. CPU will receive no further what exactly ? IRQ's of same type ? Of lower priority ? Any IRQ at all ? |
|||
![]() |
|
bitRAKE 28 Feb 2009, 15:35
It would be same type or higher priority, iirc.
|
|||
![]() |
|
revolution 28 Feb 2009, 15:39
DOS386 wrote:
![]() |
|||
![]() |
|
bitRAKE 01 Mar 2009, 02:18
I miss read Japheth's reply:
If no EOI is sent then only higher priority IRQ's can be sent by the PIC - same and lower priority IRQ's will be blocked. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.