diff options
| author | Harley Travis <harleytravis123@outlook.com> | 2026-06-20 20:00:32 -0500 |
|---|---|---|
| committer | Harley Travis <harleytravis123@outlook.com> | 2026-06-20 20:00:32 -0500 |
| commit | edd15150f34b040d5ab68a1b418705c0de895a1e (patch) | |
| tree | 0f0c7fc7d4440b76607169cf33dd3e3267b6e44a /Kernel/BlkDev/Patches/BlkDevInitFDC.HC | |
| parent | 26fd4c3343fb5a55ac8b305a6adea3212e3d7fdd (diff) | |
| download | templeos-floppy-driver-edd15150f34b040d5ab68a1b418705c0de895a1e.tar.gz | |
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.
Diffstat (limited to 'Kernel/BlkDev/Patches/BlkDevInitFDC.HC')
| -rw-r--r-- | Kernel/BlkDev/Patches/BlkDevInitFDC.HC | 8 |
1 files changed, 8 insertions, 0 deletions
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 |
