Actually I have a more serious problem now, any interrupt causes my machine to reset, it looks like it is the EOI commands but they are coded identical to the linux ones??
Weird!
Floppy
RE:Floppy
No, just because something works in an emulator doesn't necessarily mean it will work on the real thing.
I'd try adding infinite loop code at strategic places to see if the system locks up or still reboots. The first four places I'd try are just before enabling interrupts (to make sure that the problem doesn't happen earlier), just after enabling interrupts (to make sure that the problem is in the interrupt path), the start of the interrupt handler (to make sure that the problem isn't in the IDT or related tables), the end of the interrupt handler (to see if the problem is in the interrupt return path).
I'd try adding infinite loop code at strategic places to see if the system locks up or still reboots. The first four places I'd try are just before enabling interrupts (to make sure that the problem doesn't happen earlier), just after enabling interrupts (to make sure that the problem is in the interrupt path), the start of the interrupt handler (to make sure that the problem isn't in the IDT or related tables), the end of the interrupt handler (to see if the problem is in the interrupt return path).