summaryrefslogtreecommitdiff
path: root/Kernel/BlkDev
diff options
context:
space:
mode:
authorHarley Travis <harleytravis123@outlook.com>2026-06-22 02:19:16 -0500
committerHarley Travis <harleytravis123@outlook.com>2026-06-22 02:19:16 -0500
commit028a74b6ce3f889de88053d84e15f3d3d6fb2819 (patch)
tree4d65a6bcf7970b61c1f37cedec6a4140e2b2d730 /Kernel/BlkDev
parent0c200b792090cda95e3fd17ba4de334227b5755b (diff)
downloadtempleos-floppy-driver-028a74b6ce3f889de88053d84e15f3d3d6fb2819.tar.gz
Split floppy IRQ handler into separate file
Since KInts.HC is compiled before DskFDC.HC, undefined symbol issues could possibly occur. when attempting to compile the interrupt set-up code because the IRQ handler is not yet compiled. To prevent this, I separated the IRQ handler into another file that is included immediately after the headers. The instructions have been updated to reflect this change.
Diffstat (limited to 'Kernel/BlkDev')
-rw-r--r--Kernel/BlkDev/DskFDC.HC7
1 files changed, 0 insertions, 7 deletions
diff --git a/Kernel/BlkDev/DskFDC.HC b/Kernel/BlkDev/DskFDC.HC
index b24c916..9b14e4e 100644
--- a/Kernel/BlkDev/DskFDC.HC
+++ b/Kernel/BlkDev/DskFDC.HC
@@ -7,13 +7,6 @@
// PURPOSE: Adds support for std PC floppy dsk ctrlrs to TempleOS
// TO INSTALL: #include this file after DskATA in MakeBlkDev.HC.
-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
-}
-
U0 FDCDMAInit(U16 len)
{
U64 buf_lo, buf_hi, page, cnt_lo, cnt_hi;