
Now back on the topic... the not working floppy interrupt.
Moderator:Moderators
Code: Select all
// Install handler
i86_irq_install_handler(6, i86_floppy_handler);
halofreak1990 wrote:I was going through the code you posted in your first post, and I found this bit:Now I'm wondering; how does your i86_irq_install_handler() work, because in my OS, and the tutorials here as well, IR vector 6 is the 'invalid opcode fault' handler.Code: Select all
// Install handler i86_irq_install_handler(6, i86_floppy_handler);
I have the floppy drive tied to IR 38, which corresponds to PIC IRQ 6, and it works.