summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/tim011_dsk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/formats/tim011_dsk.cpp')
-rw-r--r--src/lib/formats/tim011_dsk.cpp45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/lib/formats/tim011_dsk.cpp b/src/lib/formats/tim011_dsk.cpp
new file mode 100644
index 00000000000..acf5ac17055
--- /dev/null
+++ b/src/lib/formats/tim011_dsk.cpp
@@ -0,0 +1,45 @@
+// license:BSD-3-Clause
+// copyright-holders:Miodrag Milanovic
+/*********************************************************************
+
+ formats/tim011_dsk.cpp
+
+ TIM 011 format
+
+*********************************************************************/
+
+#include "formats/tim011_dsk.h"
+
+tim011_format::tim011_format() : upd765_format(formats)
+{
+}
+
+const char *tim011_format::name() const
+{
+ return "tim011";
+}
+
+const char *tim011_format::description() const
+{
+ return "TIM 011 disk image";
+}
+
+const char *tim011_format::extensions() const
+{
+ return "img";
+}
+
+// Unverified gap sizes.
+const tim011_format::format tim011_format::formats[] = {
+ {
+ floppy_image::FF_35, floppy_image::DSDD, floppy_image::MFM,
+ 2000,
+ 5, 80, 2,
+ 1024, {},
+ 17, {},
+ 80, 50, 22, 80
+ },
+ {}
+};
+
+const tim011_format FLOPPY_TIM011_FORMAT;