diff options
| author | Harley Travis <harleytravis123@outlook.com> | 2026-06-18 20:58:43 -0500 |
|---|---|---|
| committer | Harley Travis <harleytravis123@outlook.com> | 2026-06-18 20:58:43 -0500 |
| commit | 420954060bc8bede578436f1459b856b5fff3e31 (patch) | |
| tree | 559ce589b4330bd585e452fbcc17130abdcceaf2 /Kernel | |
| parent | b2cab352e732a923eb9ff04b7db66ecee8208666 (diff) | |
| download | templeos-floppy-driver-420954060bc8bede578436f1459b856b5fff3e31.tar.gz | |
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.
Diffstat (limited to 'Kernel')
| -rw-r--r-- | Kernel/BlkDev/DskFDC.HC | 2 | ||||
| -rw-r--r-- | Kernel/KFloppyA.HH | 1 |
2 files changed, 1 insertions, 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 |
