floppy driver problem(interrupt), pls give me some advise
Posted: Tue Jul 15, 2008 12:46 am
If I send RESET OR RECALIBRATE command to FDC seperately, the interrupt can be received normally.
But if I first send RESET, and then send RECALIBRATE command to FDC, only one interrupt can be received.
I think 2 interrupts should be received during this proceduce.(one is for RESET command, one is for RECALIBRATE command.)
I set the trap gate type for floppy's interrupt and I also found the behaviors of the following virtual machines are different.
Virtual BOX1.6 : ONLY received the interrupt triggered by RESET command
Qemu manager3.0: ONLY received the interrupt triggered by RESET command
Bochs2.3.6 : ONLY received the interrupt triggered by RECALIBRATE command
Can anybody give me some ideas about this problem? I just only want to reset the FDC.
But if I first send RESET, and then send RECALIBRATE command to FDC, only one interrupt can be received.
I think 2 interrupts should be received during this proceduce.(one is for RESET command, one is for RECALIBRATE command.)
I set the trap gate type for floppy's interrupt and I also found the behaviors of the following virtual machines are different.
Virtual BOX1.6 : ONLY received the interrupt triggered by RESET command
Qemu manager3.0: ONLY received the interrupt triggered by RESET command
Bochs2.3.6 : ONLY received the interrupt triggered by RECALIBRATE command
Can anybody give me some ideas about this problem? I just only want to reset the FDC.