summaryrefslogtreecommitdiff
path: root/Adam/Patches
diff options
context:
space:
mode:
authorHarley Travis <harleytravis123@outlook.com>2026-06-12 20:33:27 -0500
committerHarley Travis <harleytravis123@outlook.com>2026-06-12 20:33:27 -0500
commit0f378e8ba3c2817126f851fa782b66ab13af6ba3 (patch)
tree1998c0f2d5e5dca8bd0fcd24eb54cd7695f0d3d6 /Adam/Patches
parent271e732ef2d6e9877cd093b38818e3114d0d7fe2 (diff)
downloadtempleos-floppy-driver-0f378e8ba3c2817126f851fa782b66ab13af6ba3.tar.gz
Add installation notes to source files.
I added comments to all patch files explaining their function and how to install them. Installation instructions were also added to some of the code files as well.
Diffstat (limited to 'Adam/Patches')
-rw-r--r--Adam/Patches/Mount2CaseAFDC.HC4
-rw-r--r--Adam/Patches/Mount2CaseBFDC.HC4
-rw-r--r--Adam/Patches/Mount2LtrsFDC.HC18
-rw-r--r--Adam/Patches/Mount2VarsFDC.HC4
-rw-r--r--Adam/Patches/Mount2VarsFDC2.HC4
5 files changed, 27 insertions, 7 deletions
diff --git a/Adam/Patches/Mount2CaseAFDC.HC b/Adam/Patches/Mount2CaseAFDC.HC
index a3b307b..8b76184 100644
--- a/Adam/Patches/Mount2CaseAFDC.HC
+++ b/Adam/Patches/Mount2CaseAFDC.HC
@@ -1,3 +1,7 @@
+// PATCH: Add the ability to configure floppy BlkDevs (part 1 of 2)
+// FILE: ::/Adam/ABlkDev/Mount.HC
+// TO INSTALL: #include this file at the end of the first switch statement.
+
case BDT_FLOPPY:
do {
"Include $PURPLE$0x$FG$ prefix.\nI/O Port Base:\n";
diff --git a/Adam/Patches/Mount2CaseBFDC.HC b/Adam/Patches/Mount2CaseBFDC.HC
index b661bad..372ff7e 100644
--- a/Adam/Patches/Mount2CaseBFDC.HC
+++ b/Adam/Patches/Mount2CaseBFDC.HC
@@ -1,3 +1,7 @@
+// PATCH: Add the ability to configure floppy BlkDevs (part 2 of 2)
+// FILE: ::/Adam/ABlkDev/Mount.HC
+// TO INSTALL: #include this file at the end of the second switch statement.
+
case BDT_FLOPPY:
if (defaults) {
// These assume a 1.44 Meg, 3.5-inch floppy
diff --git a/Adam/Patches/Mount2LtrsFDC.HC b/Adam/Patches/Mount2LtrsFDC.HC
index e196eb8..b55fa3f 100644
--- a/Adam/Patches/Mount2LtrsFDC.HC
+++ b/Adam/Patches/Mount2LtrsFDC.HC
@@ -1,8 +1,12 @@
+// PATCH: Update ltr lst to reflect remapping of drv ltrs
+// FILE: ::/Adam/ABlkDev/Mount.HC
+// TO INSTALL: Comment out the original Print call, then #include this file.
+
"\n****** Mount Drives ******\n"
- "$GREEN$A$FG$-$GREEN$B$FG$ are RAM drives.\n"
- "$GREEN$C$FG$-$GREEN$L$FG$ are ATA hard drives.\n"
- "$GREEN$M$FG$-$GREEN$P$FG$ are ISO file read drives.\n"
- "$GREEN$Q$FG$-$GREEN$S$FG$ are ISO file write drives.\n"
- "$GREEN$T$FG$-$GREEN$V$FG$ are ATAPI CD/DVD drives.\n"
- "$GREEN$W$FG$-$GREEN$Z$FG$ are floppy drives.\n"
- "\nDrive Letter ($PURPLE$<ENTER>$FG$ to exit):"; \ No newline at end of file
+ "$GREEN$A$FG$-$GREEN$B$FG$ are RAM drives.\n"
+ "$GREEN$C$FG$-$GREEN$L$FG$ are ATA hard drives.\n"
+ "$GREEN$M$FG$-$GREEN$P$FG$ are ISO file read drives.\n"
+ "$GREEN$Q$FG$-$GREEN$S$FG$ are ISO file write drives.\n"
+ "$GREEN$T$FG$-$GREEN$V$FG$ are ATAPI CD/DVD drives.\n"
+ "$GREEN$W$FG$-$GREEN$Z$FG$ are floppy drives.\n"
+ "\nDrive Letter ($PURPLE$<ENTER>$FG$ to exit):"; \ No newline at end of file
diff --git a/Adam/Patches/Mount2VarsFDC.HC b/Adam/Patches/Mount2VarsFDC.HC
index 3213946..c164a14 100644
--- a/Adam/Patches/Mount2VarsFDC.HC
+++ b/Adam/Patches/Mount2VarsFDC.HC
@@ -1,3 +1,7 @@
+// PATCH: Add more U8 bufs for floppy configuration
+// FILE: ::/Adam/ABlkDev/Mount.HC
+// TO INSTALL: Comment out the original declaration, then #include this file.
+
U8 blks_buf[STR_LEN],addr_buf[STR_LEN],base0_buf[STR_LEN],base1_buf[STR_LEN],
cyl_buf[STR_LEN],heads,spt_buf[STR_LEN],size,srt_buf[STR_LEN],
hut_buf[STR_LEN],hlt_buf[STR_LEN],bps,gpl1_buf[STR_LEN],
diff --git a/Adam/Patches/Mount2VarsFDC2.HC b/Adam/Patches/Mount2VarsFDC2.HC
index 5037f2b..41871e5 100644
--- a/Adam/Patches/Mount2VarsFDC2.HC
+++ b/Adam/Patches/Mount2VarsFDC2.HC
@@ -1 +1,5 @@
+// PATCH: Add two new Bools for floppy configuration
+// FILE: ::/Adam/ABlkDev/Mount.HC
+// TO INSTALL: Comment out the old Bool declaration, then #include this file.
+
Bool whole_drv,make_free,defaults=FALSE; \ No newline at end of file