From 420954060bc8bede578436f1459b856b5fff3e31 Mon Sep 17 00:00:00 2001 From: Harley Travis Date: Thu, 18 Jun 2026 20:58:43 -0500 Subject: Rename FDCInt to match TOS IRQ handler naming The IRQ handlers in TempleOS' kernel code have an "IRQ_" prefix. FDCInt has been renamed to IRQ_FDC in keeping with Terry's code style. An unused definition of the same name has also been removed from KFloppyA.HH. --- Kernel/BlkDev/DskFDC.HC | 2 +- Kernel/KFloppyA.HH | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Kernel/BlkDev/DskFDC.HC b/Kernel/BlkDev/DskFDC.HC index 4012627..0962b2b 100644 --- a/Kernel/BlkDev/DskFDC.HC +++ b/Kernel/BlkDev/DskFDC.HC @@ -6,7 +6,7 @@ // TO INSTALL: #include this file after DskATA in MakeBlkDev.HC. -interrupt U0 FDCInt() +interrupt U0 IRQ_FDC() { // On IRQ6, set a semaphore for anything waiting for an FDC int fdc_int_semaphore = TRUE; diff --git a/Kernel/KFloppyA.HH b/Kernel/KFloppyA.HH index 36938b4..8f55bb4 100644 --- a/Kernel/KFloppyA.HH +++ b/Kernel/KFloppyA.HH @@ -9,7 +9,6 @@ // FDC uses IRQ6 = int 26h #define I_FDC 0x26 -#define IRQ_FDC 6 // FDC regs #define FDC_STAT_A 0x0 -- cgit v1.2.3