summaryrefslogtreecommitdiff
path: root/Kernel/KFloppyInt.HC
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/KFloppyInt.HC')
-rw-r--r--Kernel/KFloppyInt.HC9
1 files changed, 9 insertions, 0 deletions
diff --git a/Kernel/KFloppyInt.HC b/Kernel/KFloppyInt.HC
new file mode 100644
index 0000000..4c07656
--- /dev/null
+++ b/Kernel/KFloppyInt.HC
@@ -0,0 +1,9 @@
+// PURPOSE: Floppy disk IRQ handler
+// TO INSTALL: #include this file after the floppy header files in Kernel.PRJ.
+
+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
+} \ No newline at end of file