summaryrefslogtreecommitdiff
path: root/Kernel/Patches/IntInit2FDC.HC
diff options
context:
space:
mode:
authorHarley Travis <harleytravis123@outlook.com>2026-06-22 02:10:42 -0500
committerHarley Travis <harleytravis123@outlook.com>2026-06-22 02:10:42 -0500
commit0c200b792090cda95e3fd17ba4de334227b5755b (patch)
treea4f569049a0582850846439c5f859da686d3d1a0 /Kernel/Patches/IntInit2FDC.HC
parent88f61e315e77e4b427d2479f603fd59e27e1f2be (diff)
downloadtempleos-floppy-driver-0c200b792090cda95e3fd17ba4de334227b5755b.tar.gz
Add patches to enable the FDC IRQ on startup
Diffstat (limited to 'Kernel/Patches/IntInit2FDC.HC')
-rw-r--r--Kernel/Patches/IntInit2FDC.HC5
1 files changed, 5 insertions, 0 deletions
diff --git a/Kernel/Patches/IntInit2FDC.HC b/Kernel/Patches/IntInit2FDC.HC
new file mode 100644
index 0000000..0046fb0
--- /dev/null
+++ b/Kernel/Patches/IntInit2FDC.HC
@@ -0,0 +1,5 @@
+// PATCH: Make IntInit2() set up the IDT to handle FDC IRQ's
+// FILE: ::/Kernel/KInts.HC
+// TO INSTALL: #include this file after the line that sets the wake int handler.
+
+IntEntrySet(I_FDC,&IRQ_FDC); \ No newline at end of file