From 5adc149b0cdca7cec61b69f7eb9004f1a6b9b437 Mon Sep 17 00:00:00 2001 From: Harley Travis Date: Sat, 27 Jun 2026 15:36:06 -0500 Subject: Update Mount2CaseAFDC.HC Most of the changes to this file were adding missing semicolons, and fixing semantic errors with some of the prompts. --- Adam/ABlkDev/Patches/Mount2CaseAFDC.HC | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Adam/ABlkDev/Patches/Mount2CaseAFDC.HC b/Adam/ABlkDev/Patches/Mount2CaseAFDC.HC index 2e70791..76296ba 100644 --- a/Adam/ABlkDev/Patches/Mount2CaseAFDC.HC +++ b/Adam/ABlkDev/Patches/Mount2CaseAFDC.HC @@ -5,24 +5,24 @@ case BDT_FLOPPY: do { - "Include $PURPLE$0x$FG$ prefix.\nI/O Port Base:\n"; + "Include $FG,5$0x$FG$ prefix.\nI/O Port Base:\n"; GetS(base0_buf,STR_LEN); - } while (!Str2I64(base0_buf)) + } while (!Str2I64(base0_buf)); do { "Drv Num:\n"; unit=GetChar-'0'; - } while (0<=unit<=3) - "If you have a 3.5-inch high-density (1.44 Meg)\n" + } while (!(0<=unit<=3)); + "\nIf you have a 3.5-inch high-density (1.44 Meg)\n" "floppy disk, there are some default params you can use.\n" "Otherwise, you will need to set the manually (Intel's datasheet\n" "for the 82077AA is very useful here).\n\n" "Use default params "; - If (YorN) { + if (YorN) { defaults=TRUE; } else { "The folowing parameters are used to configure the ctrlr:\n" "Most can be entered in either decimal or hex, but the head\n" - "count, sector size, and data rate take single decimal digits.\n" + "count, sector size, and data rate take single decimal digits.\n"; do { "Cylinders:\n"; GetS(cyl_buf,STR_LEN); @@ -30,7 +30,7 @@ case BDT_FLOPPY: do { "Heads:\n"; heads=GetChar-'0'; - } while (1<=heads<=2); + } while (!(1<=heads<=2)); do { "Sectors:\n"; GetS(spt_buf,STR_LEN); @@ -38,14 +38,14 @@ case BDT_FLOPPY: do { "Sector Size (128<