Does interrupts totally disappear with CLI?
Does interrupts totally disappear with CLI?
Or are they "suspended" until next "sti" and will occur immedietly after???
Re:Does interrupts totally disappear with CLI?
Deleted: I stand corrected.
Every good solution is obvious once you've found it.
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Does interrupts totally disappear with CLI?
actually, they do not "disappear" ... The CPU will ignore any external IRQ request until you STI. When you STI, it will acknowledge the IRQ request and receive interrupts that were pending at the Programmable Interrupt Controller.
Btw, even when IF is cleared, you can still issue interrupts with INT nn instruction or receive exceptions.
Oh, for completeness, CLI doesn't mask "Non-maskable Interrupts", but unless you activate "issue NMI when memory checksum fails" and have memory chips with ECC, i dunno how you could even get an NMI ...
Btw, even when IF is cleared, you can still issue interrupts with INT nn instruction or receive exceptions.
Oh, for completeness, CLI doesn't mask "Non-maskable Interrupts", but unless you activate "issue NMI when memory checksum fails" and have memory chips with ECC, i dunno how you could even get an NMI ...
Re:Does interrupts totally disappear with CLI?
Well, you don't need chips with ECC just shorting some pins of the ISA bus gives an NMI :-[Pype.Clicker wrote: Oh, for completeness, CLI doesn't mask "Non-maskable Interrupts", but unless you activate "issue NMI when memory checksum fails" and have memory chips with ECC, i dunno how you could even get an NMI ...
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Does interrupts totally disappear with CLI?
shorting pins ?? you mean cutting them, or wire-strap them or something ??
Re:Does interrupts totally disappear with CLI?
well, you take a wire, connect them and the system says: Memory parity error. System halted.Pype.Clicker wrote: shorting pins ?? you mean cutting them, or wire-strap them or something ??
At least, on a 8088 we tried it on . We tried to get some pins connected normally so we could make our own 8-bit ISA cards... didn't work out as we had hoped