summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/fmtowns_dsk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/formats/fmtowns_dsk.cpp')
-rw-r--r--src/lib/formats/fmtowns_dsk.cpp43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/lib/formats/fmtowns_dsk.cpp b/src/lib/formats/fmtowns_dsk.cpp
new file mode 100644
index 00000000000..633b53fcd87
--- /dev/null
+++ b/src/lib/formats/fmtowns_dsk.cpp
@@ -0,0 +1,43 @@
+// license:BSD-3-Clause
+// copyright-holders:Barry Rodewald
+/*
+ * fmtowns_dsk.c
+ *
+ * FM Towns floppy image format
+ *
+ * Created on: 23/03/2014
+ */
+
+ #include <assert.h>
+
+#include "formats/fmtowns_dsk.h"
+
+fmtowns_format::fmtowns_format() : wd177x_format(formats)
+{
+}
+
+const char *fmtowns_format::name() const
+{
+ return "fmtowns";
+}
+
+const char *fmtowns_format::description() const
+{
+ return "FM Towns disk image";
+}
+
+const char *fmtowns_format::extensions() const
+{
+ return "bin";
+}
+
+// Unverified gap sizes
+const fmtowns_format::format fmtowns_format::formats[] = {
+ { /* 1.2MB 3 1/2 inch high density */
+ floppy_image::FF_35, floppy_image::DSHD, floppy_image::MFM,
+ 1200, 8, 77, 2, 1024, {}, 1, {}, 50, 22, 84
+ },
+ {}
+};
+
+const floppy_format_type FLOPPY_FMTOWNS_FORMAT = &floppy_image_format_creator<fmtowns_format>;