summaryrefslogtreecommitdiffstats
path: root/src/lib/formats/mtx_dsk.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/formats/mtx_dsk.h')
-rw-r--r--src/lib/formats/mtx_dsk.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/lib/formats/mtx_dsk.h b/src/lib/formats/mtx_dsk.h
new file mode 100644
index 00000000000..86f74bccfc5
--- /dev/null
+++ b/src/lib/formats/mtx_dsk.h
@@ -0,0 +1,33 @@
+// license:BSD-3-Clause
+// copyright-holders:Nigel Barnes
+/***************************************************************************
+
+ Memotech MTX
+
+ Disk image format
+
+***************************************************************************/
+
+#pragma once
+
+#ifndef __MTX_DSK_H__
+#define __MTX_DSK_H__
+
+#include "wd177x_dsk.h"
+
+class mtx_format : public wd177x_format
+{
+public:
+ mtx_format();
+
+ virtual const char *name() const override;
+ virtual const char *description() const override;
+ virtual const char *extensions() const override;
+
+private:
+ static const format formats[];
+};
+
+extern const floppy_format_type FLOPPY_MTX_FORMAT;
+
+#endif // __MTX_DSK_H__