There is one more thing i forgot to mention about NMI:
I want to generate NMI just for the sake of testing if port 0x70 mask really work.0462 w Software NMI register. writing to this register causes an NMI
if NMI's are enabled
bit 7 = 1 generates an NMI
I have my own isr of vector 2, i write to this port (byte, word, dword, 0x80, 0xFF, 0x8000, 0xFFFF, ...) and none of it work, my isr is never called.
I use bochs, this list is from bochs, so it should work.
Concerning PIC and eoi, i dont get one thing.
When i reporft EOI i use ocw2 (bit3 = 0, if 1 its ocw3). I use 'non specyfic EOI'.
However ocw2 has a field 'interrupt request to which the command applies' meaning i can select wich irq to reset.
PIC can send me only 1 interrupt at time, is it just for compatibility with cpus that can service many irqs at same time or what?
I more thinbg, does xt/at/ps2 describe overall machine architecture (like avaiability of certain devices, cpu type) or just cpu type
XT = 8088?
AT = ?
PS/2 = 8086?