summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/hp_ipc_dsk.cpp
diff options
context:
space:
mode:
author Sergey Svishchev <shattered@users.noreply.github.com>2016-12-21 23:12:02 +0300
committer Sergey Svishchev <shattered@users.noreply.github.com>2017-03-16 22:26:49 +0300
commit7d4d6382e7cf96532d18eed0a915c140a3400321 (patch)
tree037e5cb6d73a1f31c8e84af58292257407636ded /src/lib/formats/hp_ipc_dsk.cpp
parent356ccfb017a34f8f3c33d8ff1e772e5182c673f8 (diff)
hp_ipc: de-skeletonize.
Diffstat (limited to 'src/lib/formats/hp_ipc_dsk.cpp')
-rw-r--r--src/lib/formats/hp_ipc_dsk.cpp42
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..ed65ada7a61
--- /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>;
+