From edd15150f34b040d5ab68a1b418705c0de895a1e Mon Sep 17 00:00:00 2001 From: Harley Travis Date: Sat, 20 Jun 2026 20:00:32 -0500 Subject: Re-arrange patch files Some of the patches are applied to files in subdirectories of ::/Kernel and ::/Adam. The directory tree has been re-arranged in such a way as to allow them to be #included without having the compiler backtrack to their parent directory. --- Kernel/BlkDev/Patches/BlkDevInitFDC.HC | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Kernel/BlkDev/Patches/BlkDevInitFDC.HC (limited to 'Kernel/BlkDev/Patches/BlkDevInitFDC.HC') diff --git a/Kernel/BlkDev/Patches/BlkDevInitFDC.HC b/Kernel/BlkDev/Patches/BlkDevInitFDC.HC new file mode 100644 index 0000000..630bad8 --- /dev/null +++ b/Kernel/BlkDev/Patches/BlkDevInitFDC.HC @@ -0,0 +1,8 @@ +// PATCH: Add the ability to init floppy BlkDevs +// FILE: ::/Kernel/BlkDev/DskBlkDev.HC +// TO INSTALL: #include this file at the end of the switch statement. + +case BDT_FLOPPY: + bd->max_writes=bd->max_reads=bd->spt; + res=FDCInit(bd); + break; \ No newline at end of file -- cgit v1.2.3