summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2012-08-19 21:34:44 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2012-08-19 21:39:07 (GMT)
commitdacf1f6af6131908caed628add1db7deab6608a9 (patch)
treecfb9e94706ba718a69e35646f0ba68f39ce4ce9f
parent957e625e0fa39a6bc1bec30d22aeffacd33a0f22 (diff)
downloadabcdisk-dacf1f6af6131908caed628add1db7deab6608a9.zip
abcdisk-dacf1f6af6131908caed628add1db7deab6608a9.tar.gz
abcdisk-dacf1f6af6131908caed628add1db7deab6608a9.tar.bz2
abcdisk-dacf1f6af6131908caed628add1db7deab6608a9.tar.xz
Add FD4D/DataDisc 84HEADmaster
Add FD4D/DataDisc 84 (40x2x16) -- pretty sure it is 1 sector/cluster; since there are still only 160 virtual tracks @ 8 sectors.
-rw-r--r--formats.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/formats.c b/formats.c
index af1e9eb..f7ff376 100644
--- a/formats.c
+++ b/formats.c
@@ -13,6 +13,8 @@ static const struct diskfmt formats[] =
{ "dd82", F( 40,1,16), 0, 6, { 8, 16 }, 8 },
{ "abc830", F( 40,1,16), 0, 6, { 8, 16 }, 8 },
{ "abc830-ufd", F( 40,1,16), 0, 6, { 16, 0 }, 16 },
+ { "fd4d", F( 40,2,16), 0, 6, { 8, 16 }, 8 },
+ { "dd84", F( 40,2,16), 0, 6, { 8, 16 }, 8 },
{ "abc832", F( 80,2,16), 2, 14, { 16, 0 }, 16 },
{ "abc832", F( 80,2,16), 2, 14, { 16, 0 }, 16 },
{ "abc834", F( 80,2,16), 2, 14, { 16, 0 }, 16 },
@@ -44,7 +46,7 @@ void show_formats(FILE *f)
fprintf(f, "Format Tracks Sides Sec/trk Cluster Sectors Total System\n");
for (i = 0, fmt = formats; i < nformats; i++, fmt++) {
- fprintf(f, "%-13s %4d %6d %7d %9d %9d %6dK %2d/%2d\n",
+ fprintf(f, "%-13s %4d %6d %7d %9d %9d %6dK %3d/%2d\n",
fmt->name, fmt->c, fmt->h, fmt->s,
1 << fmt->cluster_shift,
fmt->sectors, fmt->sectors >> 2, fmt->syssec, fmt->dirsec[0]);