diff options
Diffstat (limited to 'Kernel')
| -rw-r--r-- | Kernel/BlkDev/DskFDC.HC | 7 | ||||
| -rw-r--r-- | Kernel/KFloppyInt.HC | 9 |
2 files changed, 9 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; diff --git a/Kernel/KFloppyInt.HC b/Kernel/KFloppyInt.HC new file mode 100644 index 0000000..4c07656 --- /dev/null +++ b/Kernel/KFloppyInt.HC @@ -0,0 +1,9 @@ +// PURPOSE: Floppy disk IRQ handler +// TO INSTALL: #include this file after the floppy header files in Kernel.PRJ. + +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 +}
\ No newline at end of file |
