diff options
Diffstat (limited to 'src/lib/formats/iq151_dsk.cpp')
-rw-r--r-- | src/lib/formats/iq151_dsk.cpp | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/lib/formats/iq151_dsk.cpp b/src/lib/formats/iq151_dsk.cpp new file mode 100644 index 00000000000..dcffad85751 --- /dev/null +++ b/src/lib/formats/iq151_dsk.cpp @@ -0,0 +1,47 @@ +// license:BSD-3-Clause +// copyright-holders:Olivier Galibert +/********************************************************************* + + formats/iq151_dsk.c + + iq151 format + +*********************************************************************/ + +#include <assert.h> + +#include "formats/iq151_dsk.h" + +iq151_format::iq151_format() : upd765_format(formats) +{ +} + +const char *iq151_format::name() const +{ + return "iq151"; +} + +const char *iq151_format::description() const +{ + return "IQ151 disk image"; +} + +const char *iq151_format::extensions() const +{ + return "iqd"; +} + +// Unverified gap sizes. May be FM. +const iq151_format::format iq151_format::formats[] = { + { + floppy_image::FF_8, floppy_image::SSSD, floppy_image::MFM, + 2000, // maybe + 26, 77, 1, + 128, {}, + 1, {}, + 80, 50, 22, 80 + }, + {} +}; + +const floppy_format_type FLOPPY_IQ151_FORMAT = &floppy_image_format_creator<iq151_format>; |