summaryrefslogtreecommitdiff
path: root/Adam/Patches
diff options
context:
space:
mode:
authorHarley Travis <harleytravis123@outlook.com>2026-06-08 21:15:59 -0500
committerHarley Travis <harleytravis123@outlook.com>2026-06-08 21:15:59 -0500
commitb89c7ea1d1c211c78c019e5df8e28826e767d937 (patch)
treea1aced7ebccadcd5d93c883a3a25f7e383018959 /Adam/Patches
parent46164816aaddd6672ac2892d93bcccc4673b69fc (diff)
downloadtempleos-floppy-driver-b89c7ea1d1c211c78c019e5df8e28826e767d937.tar.gz
Update Mount2CaseBFDC.HC
I added default parameters for 3.5-inch high-density drives for convenience.
Diffstat (limited to 'Adam/Patches')
-rw-r--r--Adam/Patches/Mount2CaseBFDC.HC22
1 files changed, 16 insertions, 6 deletions
diff --git a/Adam/Patches/Mount2CaseBFDC.HC b/Adam/Patches/Mount2CaseBFDC.HC
index 4cc7b2f..b661bad 100644
--- a/Adam/Patches/Mount2CaseBFDC.HC
+++ b/Adam/Patches/Mount2CaseBFDC.HC
@@ -1,7 +1,17 @@
case BDT_FLOPPY:
- DocPrint("bd->base0=%s;",base0_buf);
- DocPrint("bd->blk_size=128<<%d;",size);
- DocPrint("bd->cyls=%s;bd->heads=%d;bd->spt=%s;",cyl_buf,heads,spt_buf);
- DocPrint("bd->srt=%s;bd->hut=%s;bd->hlt=%s;",srt_buf,hut_buf,hlt_buf);
- DocPrint("bd->bps=%d;bd->gpl1=%s;bd->gpl2=%s",bps,gpl1_buf,gpl2_buf);
- DocPrint("bd->dtl=%s",dtl_buf); \ No newline at end of file
+ if (defaults) {
+ // These assume a 1.44 Meg, 3.5-inch floppy
+ DocPrint("bd->base0=%s;",base0_buf);
+ DocPrint("bd->blk_size=128<<%d;",2);
+ DocPrint("bd->cyls=%s;bd->heads=%d;bd->spt=%s;","80",2,"18");
+ DocPrint("bd->srt=%s;bd->hut=%s;bd->hlt=%s;","13","5","0");
+ DocPrint("bd->bps=%d;bd->gpl1=%s;bd->gpl2=%s",0,"27","124");
+ DocPrint("bd->dtl=%s","255");
+ } else {
+ DocPrint("bd->base0=%s;",base0_buf);
+ DocPrint("bd->blk_size=128<<%d;",size);
+ DocPrint("bd->cyls=%s;bd->heads=%d;bd->spt=%s;",cyl_buf,heads,spt_buf);
+ DocPrint("bd->srt=%s;bd->hut=%s;bd->hlt=%s;",srt_buf,hut_buf,hlt_buf);
+ DocPrint("bd->bps=%d;bd->gpl1=%s;bd->gpl2=%s",bps,gpl1_buf,gpl2_buf);
+ DocPrint("bd->dtl=%s",dtl_buf);
+ } \ No newline at end of file