summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/concept_dsk.h
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2014-09-29 03:07:47 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2014-09-29 03:07:47 +0000
commit61e367ad214662b05dcfcee4be4b681c116949f1 (patch)
tree6d53067833fa547f3137c529f8405b1e851e3340 /src/lib/formats/concept_dsk.h
parent2df79a01a5f0b42e25ca9de5778fd6fd53be402d (diff)
(MESS) concept: Add 5.25" DSDD raw image support and preliminary pseudo-DMA to buffered controller. [R. Belmont]
Diffstat (limited to 'src/lib/formats/concept_dsk.h')
-rw-r--r--src/lib/formats/concept_dsk.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/lib/formats/concept_dsk.h b/src/lib/formats/concept_dsk.h
new file mode 100644
index 00000000000..012d01cc7d1
--- /dev/null
+++ b/src/lib/formats/concept_dsk.h
@@ -0,0 +1,36 @@
+/*********************************************************************
+
+ formats/concept_dsk.h
+
+ Formats for Corvus Concept
+
+*********************************************************************/
+
+#ifndef CONCEPT_DSK_H_
+#define CONCEPT_DSK_H_
+
+#include "flopimg.h"
+
+class cc525dsdd_format : public floppy_image_format_t
+{
+public:
+ cc525dsdd_format();
+
+ virtual int identify(io_generic *io, UINT32 form_factor);
+ virtual bool load(io_generic *io, UINT32 form_factor, floppy_image *image);
+ virtual bool save(io_generic *io, floppy_image *image);
+
+ virtual const char *name() const;
+ virtual const char *description() const;
+ virtual const char *extensions() const;
+ virtual bool supports_save() const;
+
+ static const desc_e cc_9_desc[];
+
+private:
+ void find_size(io_generic *io, UINT8 &track_count, UINT8 &head_count, UINT8 &sector_count);
+};
+
+extern const floppy_format_type FLOPPY_CONCEPT_525DSDD_FORMAT;
+
+#endif /* CONCEPT_DSK_H_ */