summaryrefslogtreecommitdiff
path: root/Kernel/Patches
diff options
context:
space:
mode:
authorHarley Travis <harleytravis123@outlook.com>2026-06-27 15:29:55 -0500
committerHarley Travis <harleytravis123@outlook.com>2026-06-27 15:29:55 -0500
commit3e0d5c028b5972c0611e656ab324f5780540297b (patch)
treedd46427cd32f9a34b2306a85c360dac2aec504b2 /Kernel/Patches
parent634f214699fc5d806e16490b1a75a0ac2f777b2a (diff)
downloadtempleos-floppy-driver-3e0d5c028b5972c0611e656ab324f5780540297b.tar.gz
Update IntsInitFDC.HC
Through an oversight, I forgot to change the I/O write that sets the IRQ mask so that bit 6 (which masks IRQ6) is cleared. As a result, IRQ6 is never unmasked, and the floppy drive interrupt does not work.
Diffstat (limited to 'Kernel/Patches')
-rw-r--r--Kernel/Patches/IntsInitFDC.HC2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Patches/IntsInitFDC.HC b/Kernel/Patches/IntsInitFDC.HC
index 5cd3254..ce167b0 100644
--- a/Kernel/Patches/IntsInitFDC.HC
+++ b/Kernel/Patches/IntsInitFDC.HC
@@ -14,6 +14,6 @@ U0 IntsInit()
OutU8(0x21,0x0D); //IW4
OutU8(0xA1,0x09); //IW4
//Mask all but IRQ0 (timer), IRQ2 Cascade, and IRQ6 (floppy).
- OutU8(0x21,0xFA);
+ OutU8(0x21,0xBA);
OutU8(0xA1,0xFF);
} \ No newline at end of file