diff options
| author | Harley Travis <harleytravis123@outlook.com> | 2026-05-27 18:04:13 -0500 |
|---|---|---|
| committer | Harley Travis <harleytravis123@outlook.com> | 2026-05-27 18:04:13 -0500 |
| commit | 32673d5872a2c77c2cc70a14a1e50cd440bc0180 (patch) | |
| tree | 568fb469e295bbb69d166765d4712c21f77568fc | |
| parent | b223d23c0165fccf014a4e8c0ed1a21425be7100 (diff) | |
| download | templeos-floppy-driver-32673d5872a2c77c2cc70a14a1e50cd440bc0180.tar.gz | |
Refactor source code and create an "installer"
I have moved some source files into subdirectories for ease of
installation. I have also added an installer script to automatically
place driver files into their respective system directories.
| -rw-r--r-- | ChangeLog.TXT | 9 | ||||
| -rw-r--r-- | Examples/DskImg.HC (renamed from DskImg.HC) | 0 | ||||
| -rw-r--r-- | Install.HC | 19 | ||||
| -rw-r--r-- | Kernel/KFloppy.HC (renamed from KFloppy.HC) | 0 | ||||
| -rw-r--r-- | Kernel/KFloppyA.HH (renamed from KFloppyA.HH) | 0 | ||||
| -rw-r--r-- | Kernel/KFloppyB.HH (renamed from KFloppyB.HH) | 0 | ||||
| -rw-r--r-- | Kernel/KFloppyDMA.HC (renamed from KFloppyDMA.HC) | 0 |
7 files changed, 28 insertions, 0 deletions
diff --git a/ChangeLog.TXT b/ChangeLog.TXT index 01b9808..ab636b5 100644 --- a/ChangeLog.TXT +++ b/ChangeLog.TXT @@ -1,3 +1,12 @@ +2026-05-27 (#2):
+I have restructured the source tree in preparation for future work:
+
+* The kernel code (KFloppy*) has been moved into /Kernel.
+* The disk dumper example has been moved into /Examples.
+
+I have also written an installer script that will get all of the files in
+place. It also has instructions on what #includes need to be added.
+
2026-05-27:
I, Harley Travis, as the copyright holder of all current source code written
as part of this TempleOS floppy disk controller project, have made the
diff --git a/DskImg.HC b/Examples/DskImg.HC index 7aec469..7aec469 100644 --- a/DskImg.HC +++ b/Examples/DskImg.HC diff --git a/Install.HC b/Install.HC new file mode 100644 index 0000000..00aa318 --- /dev/null +++ b/Install.HC @@ -0,0 +1,19 @@ +/* + Copyright (C) 2026 Harley Travis <yoshi128k@gmail.com>. + This software (including source code) is licensed under the BSD Zero Clause + License. See the Copying.TXT file for details. +*/ + +// This program semi-automates the floppy driver install process. + +CopyTree("./Kernel/", "::/Kernel/") + +"The driver files have now been copied to your Kernel directory\n"; +"To complete the installation:\n\n"; +"in ::/Kernel/Kernel.PRJ:\n" +"* Include \"KFloppyDMA\" after \"KStart32\".\n"; +"* Include \"KFloppyA.HH\" and \"KFloppy\" (in that order) after \"KMain\"\n\n"; +"in ::/StartOS.HC:\n" +"* Include \"KFloppyB.HH\" after \"CompilerB.HH\"\n\n"; +"Then, rebuild the kernel with BootHDIns().\n\n"; +"Refer to ReadMe.TXT for further instructions. Good luck!\n"; diff --git a/KFloppy.HC b/Kernel/KFloppy.HC index 16b6bd3..16b6bd3 100644 --- a/KFloppy.HC +++ b/Kernel/KFloppy.HC diff --git a/KFloppyA.HH b/Kernel/KFloppyA.HH index e7065b6..e7065b6 100644 --- a/KFloppyA.HH +++ b/Kernel/KFloppyA.HH diff --git a/KFloppyB.HH b/Kernel/KFloppyB.HH index 76f6859..76f6859 100644 --- a/KFloppyB.HH +++ b/Kernel/KFloppyB.HH diff --git a/KFloppyDMA.HC b/Kernel/KFloppyDMA.HC index 12f4953..12f4953 100644 --- a/KFloppyDMA.HC +++ b/Kernel/KFloppyDMA.HC |
