summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/applix_dsk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/formats/applix_dsk.cpp')
-rw-r--r--src/lib/formats/applix_dsk.cpp43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/lib/formats/applix_dsk.cpp b/src/lib/formats/applix_dsk.cpp
new file mode 100644
index 00000000000..59a0d4c06f5
--- /dev/null
+++ b/src/lib/formats/applix_dsk.cpp
@@ -0,0 +1,43 @@
+// license:BSD-3-Clause
+// copyright-holders:Robbbert
+/*********************************************************************
+
+ formats/applix_dsk.c
+
+ Applix disk image format
+
+*********************************************************************/
+
+#include <assert.h>
+
+#include "formats/applix_dsk.h"
+
+applix_format::applix_format() : wd177x_format(formats)
+{
+}
+
+const char *applix_format::name() const
+{
+ return "applix";
+}
+
+const char *applix_format::description() const
+{
+ return "Applix disk image";
+}
+
+const char *applix_format::extensions() const
+{
+ return "raw";
+}
+
+// Unverified gap sizes
+const applix_format::format applix_format::formats[] = {
+ { /* 800K 3 1/2 inch double density */
+ floppy_image::FF_35, floppy_image::DSDD, floppy_image::MFM,
+ 2000, 5, 80, 2, 1024, {}, 1, {}, 100, 22, 84
+ },
+ {}
+};
+
+const floppy_format_type FLOPPY_APPLIX_FORMAT = &floppy_image_format_creator<applix_format>;