From be0a79c499cd857dcf52269f868ceb140f0256cf Mon Sep 17 00:00:00 2001 From: Curt Coder Date: Mon, 18 Nov 2013 19:31:53 +0000 Subject: [PATCH] (MESS) c1581: Verified gap sizes. (nw) --- src/emu/bus/cbmiec/c1581.c | 2 -- src/lib/formats/d81_dsk.c | 18 +++++++++++++++--- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/emu/bus/cbmiec/c1581.c b/src/emu/bus/cbmiec/c1581.c index 14cc30aea8c..b2357c2df95 100644 --- a/src/emu/bus/cbmiec/c1581.c +++ b/src/emu/bus/cbmiec/c1581.c @@ -14,8 +14,6 @@ TODO: - drive not ready if ready_r() is connected to CIA - - format fails (seeks to directory track and reports BAD DISK error) - - save fails (no error message, but no file added to directory either) */ diff --git a/src/lib/formats/d81_dsk.c b/src/lib/formats/d81_dsk.c index 602e31d51d5..4c04ef51293 100644 --- a/src/lib/formats/d81_dsk.c +++ b/src/lib/formats/d81_dsk.c @@ -95,12 +95,24 @@ const char *d81_format::extensions() const return "d81"; } -// Unverified gap sizes const d81_format::format d81_format::formats[] = { + // track description + // 32x4e 12x00 3xf5 fe 2x00 01 02 f7 22x4e 12x00 3xf5 fb 512x00 f7 + // 35x4e 12x00 3xf5 fe 2x00 02 02 f7 22x4e 12x00 3xf5 fb 512x00 f7 + // 35x4e 12x00 3xf5 fe 2x00 03 02 f7 22x4e 12x00 3xf5 fb 512x00 f7 + // 35x4e 12x00 3xf5 fe 2x00 04 02 f7 22x4e 12x00 3xf5 fb 512x00 f7 + // 35x4e 12x00 3xf5 fe 2x00 05 02 f7 22x4e 12x00 3xf5 fb 512x00 f7 + // 35x4e 12x00 3xf5 fe 2x00 06 02 f7 22x4e 12x00 3xf5 fb 512x00 f7 + // 35x4e 12x00 3xf5 fe 2x00 07 02 f7 22x4e 12x00 3xf5 fb 512x00 f7 + // 35x4e 12x00 3xf5 fe 2x00 08 02 f7 22x4e 12x00 3xf5 fb 512x00 f7 + // 35x4e 12x00 3xf5 fe 2x00 09 02 f7 22x4e 12x00 3xf5 fb 512x00 f7 + // 35x4e 12x00 3xf5 fe 2x00 0a 02 f7 22x4e 12x00 3xf5 fb 512x00 f7 + // 164x4e { - floppy_image::FF_35, floppy_image::DSDD, floppy_image::MFM, - 2000, 10, 80, 2, 512, {}, 1, {}, 32, 22, 35 + floppy_image::FF_35, floppy_image::DSDD, floppy_image::MFM, + 2000, 10, 80, 2, 512, {}, 1, {}, 32, 22, 35 }, + {} };