summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorHarley Travis <harleytravis123@outlook.com>2026-06-10 19:34:22 -0500
committerHarley Travis <harleytravis123@outlook.com>2026-06-10 19:34:22 -0500
commita18382111660fbc1937d8b55697192e7b9ef7b02 (patch)
tree5faee095936454403ba575d6a363c99a4b586c3b /Kernel
parent3cbc8ac1688ed5c67a61a758d2f80d19e04c3259 (diff)
downloadtempleos-floppy-driver-a18382111660fbc1937d8b55697192e7b9ef7b02.tar.gz
Create BlkDevInitFDC.HC
This file adds a case to BlkDevInit for the floppy BDT, allowing it to be initialized. It is to be placed after the last case in the function's switch statement.
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/Patches/BlkDevInitFDC.HC4
1 files changed, 4 insertions, 0 deletions
diff --git a/Kernel/Patches/BlkDevInitFDC.HC b/Kernel/Patches/BlkDevInitFDC.HC
new file mode 100644
index 0000000..3fbe709
--- /dev/null
+++ b/Kernel/Patches/BlkDevInitFDC.HC
@@ -0,0 +1,4 @@
+case BDT_FLOPPY:
+ bd->max_writes=bd->max_reads=bd->spt;
+ res=FDCInit(bd);
+ break; \ No newline at end of file