From 0f378e8ba3c2817126f851fa782b66ab13af6ba3 Mon Sep 17 00:00:00 2001 From: Harley Travis Date: Fri, 12 Jun 2026 20:33:27 -0500 Subject: 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. --- Adam/Patches/Mount2CaseAFDC.HC | 4 ++++ Adam/Patches/Mount2CaseBFDC.HC | 4 ++++ Adam/Patches/Mount2LtrsFDC.HC | 18 +++++++++++------- Adam/Patches/Mount2VarsFDC.HC | 4 ++++ Adam/Patches/Mount2VarsFDC2.HC | 4 ++++ 5 files changed, 27 insertions(+), 7 deletions(-) (limited to 'Adam') 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$$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$$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 -- cgit v1.2.3