diff options
| author | Harley Travis <harleytravis123@outlook.com> | 2026-06-07 21:13:02 -0500 |
|---|---|---|
| committer | Harley Travis <harleytravis123@outlook.com> | 2026-06-07 21:13:02 -0500 |
| commit | 46164816aaddd6672ac2892d93bcccc4673b69fc (patch) | |
| tree | 2e14ecf87d11a10a2385d54d6575fdc1131acd12 /Adam/Patches | |
| parent | dc49494cc77c4a9a08f71e9e5d6ea73d2c4faae1 (diff) | |
| download | templeos-floppy-driver-46164816aaddd6672ac2892d93bcccc4673b69fc.tar.gz | |
Create Mount2CaseBFDC.HC
This file adds a case to Mount2's second switch statement to configure new FDC BlkDevs. It is to be included after the BDT_ATAPI case.
Diffstat (limited to 'Adam/Patches')
| -rw-r--r-- | Adam/Patches/Mount2CaseBFDC.HC | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Adam/Patches/Mount2CaseBFDC.HC b/Adam/Patches/Mount2CaseBFDC.HC new file mode 100644 index 0000000..4cc7b2f --- /dev/null +++ b/Adam/Patches/Mount2CaseBFDC.HC @@ -0,0 +1,7 @@ +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 |
