summaryrefslogtreecommitdiff
path: root/Adam/ABlkDev
diff options
context:
space:
mode:
Diffstat (limited to 'Adam/ABlkDev')
-rw-r--r--Adam/ABlkDev/Patches/Mount2CaseAFDC.HC20
1 files 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<<X bytes):\n";
size=GetChar-'0'
- } while (0<=size<=7);
+ } while (!(0<=size<=7));
if (size==0) {
do {
"DTL (data length):\n";
GetS(dtl_buf,STR_LEN);
} while (1<=Str2I64(dtl_buf)<=128);
} else {
- dtl_buf="0xFF"; // If sect size is not 128, DTL is set to 255
+ StrCpy(dtl_buf,"0xFF"); // If sect size is not 128, DTL is set to 255
}
do {
"Step Rate:\n";
@@ -76,5 +76,5 @@ case BDT_FLOPPY:
"3=1 Mbit (Not Supported)\n\n";
"Data Rate:\n";
bps=GetChar-'0'
- } while (0<=bps<=3);
+ } while (!(0<=bps<=3));
} \ No newline at end of file