Int signal reset by command??

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
srg

Int signal reset by command??

Post 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
Tim

Re:Int signal reset by command??

Post 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.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Int signal reset by command??

Post 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 ;-)
Post Reply