summaryrefslogtreecommitdiff
path: root/Install.HC
diff options
context:
space:
mode:
authorHarley Travis <harleytravis123@outlook.com>2026-05-27 18:04:13 -0500
committerHarley Travis <harleytravis123@outlook.com>2026-05-27 18:04:13 -0500
commit32673d5872a2c77c2cc70a14a1e50cd440bc0180 (patch)
tree568fb469e295bbb69d166765d4712c21f77568fc /Install.HC
parentb223d23c0165fccf014a4e8c0ed1a21425be7100 (diff)
downloadtempleos-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.
Diffstat (limited to 'Install.HC')
-rw-r--r--Install.HC19
1 files changed, 19 insertions, 0 deletions
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";