summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/poly_dsk.h
diff options
context:
space:
mode:
author Nigel Barnes <Pernod70@users.noreply.github.com>2018-03-21 19:21:56 +0000
committer Nigel Barnes <Pernod70@users.noreply.github.com>2018-03-21 20:53:11 +0000
commit7ad824c85ba6fa8d5618a01660a941818a36ef7c (patch)
tree973cc1cc1eb43b800dd94d6cadb65fa12e1c5091 /src/lib/formats/poly_dsk.h
parent8f7c57d79900079dbb36de69d18d66e38bb60354 (diff)
New machines marked as NOT_WORKING
---------------------------------- Poly Proteus (Standalone) [Nigel Barnes, Andrew Trotman]
Diffstat (limited to 'src/lib/formats/poly_dsk.h')
-rw-r--r--src/lib/formats/poly_dsk.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/lib/formats/poly_dsk.h b/src/lib/formats/poly_dsk.h
new file mode 100644
index 00000000000..3c7e96deef4
--- /dev/null
+++ b/src/lib/formats/poly_dsk.h
@@ -0,0 +1,29 @@
+// license:BSD-3-Clause
+// copyright-holders:Nigel Barnes
+/***************************************************************************
+
+ Poly Disk image formats
+
+***************************************************************************/
+
+#ifndef POLY_DSK_H_
+#define POLY_DSK_H_
+
+#include "flopimg.h"
+
+class poly_cpm_format : public floppy_image_format_t
+{
+public:
+ poly_cpm_format();
+
+ virtual const char *name() const override;
+ virtual const char *description() const override;
+ virtual const char *extensions() const override;
+ virtual int identify(io_generic *io, uint32_t form_factor) override;
+ virtual bool load(io_generic *io, uint32_t form_factor, floppy_image *image) override;
+ virtual bool supports_save() const override;
+};
+
+extern const floppy_format_type FLOPPY_POLY_CPM_FORMAT;
+
+#endif /* POLY_DSK_H_ */