diff options
Diffstat (limited to 'src/lib/formats/hp_ipc_dsk.cpp')
-rw-r--r-- | src/lib/formats/hp_ipc_dsk.cpp | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/lib/formats/hp_ipc_dsk.cpp b/src/lib/formats/hp_ipc_dsk.cpp new file mode 100644 index 00000000000..8b9efce0120 --- /dev/null +++ b/src/lib/formats/hp_ipc_dsk.cpp @@ -0,0 +1,42 @@ +// license:BSD-3-Clause +// copyright-holders:Sergey Svishchev +/********************************************************************* + + formats/hp_ipc_dsk.c + + HP Integral PC format + +*********************************************************************/ + +#include <assert.h> + +#include "formats/hp_ipc_dsk.h" + +hp_ipc_format::hp_ipc_format() : wd177x_format(formats) +{ +} + +const char *hp_ipc_format::name() const +{ + return "hp_ipc"; +} + +const char *hp_ipc_format::description() const +{ + return "HP Integral PC disk image"; +} + +const char *hp_ipc_format::extensions() const +{ + return "img"; +} + +const hp_ipc_format::format hp_ipc_format::formats[] = { + // images from coho.org. gaps unverified. + { floppy_image::FF_35, floppy_image::DSDD, floppy_image::MFM, + 2000, 9, 77, 2, 512, {}, 1, {}, 60, 22, 43 }, + {} +}; + +const floppy_format_type FLOPPY_HP_IPC_FORMAT = &floppy_image_format_creator<hp_ipc_format>; + |