summaryrefslogtreecommitdiff
path: root/Adam/Patches/Mount2CaseBFDC.HC
blob: b661bad2b048b6cceddbc5a957d6228bcf79b9ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
case BDT_FLOPPY:
  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);
  }