Page 1 of 1

Int signal reset by command??

Posted: Thu Apr 10, 2003 5:57 am
by srg
Hi

Reading through the Intel Manuals on the Floppy Disk Drive controller about the sence interrupt status command (i'm trying to get it to work without joy at the mo).

I'm finding that it says "The SENSE INTERRUPT STATUS command resets the interrupt signal".

Is this that same as sending an EOI and then an IRET.
It's just that after sending that command, the my program hangs.

Thanks

Re:Int signal reset by command??

Posted: Thu Apr 10, 2003 10:35 am
by Tim
No. When the floppy drive controller gives you an interrupt, you need to acknowledge it by giving it a SENSE INTERRUPT command before it will give you any more interrupts. You also need to send an EOI and use the IRET instruction.

Re:Int signal reset by command??

Posted: Thu Apr 10, 2003 3:27 pm
by Pype.Clicker
correct me if i'm wrong, the "SENSE INTERRUPT" command is for the floppy controller, and the EOI for the Programmable Interrupt Controller (PIC).

IRET is just for ... well ... the CPU ;-)