blob: 57dba79e3b3fbbc804853a241a8f863ab0397311 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// PURPOSE: Floppy disk IRQ handler
// TO INSTALL: #include this file after the floppy header files in Kernel.PRJ.
Bool fdc_int_semaphore;
interrupt U0 IRQ_FDC()
{
// On IRQ6, set a semaphore for anything waiting for an FDC int
fdc_int_semaphore = TRUE;
OutU8(0x20,0x20); // Send EOI to PIC
}
|