diff options
Diffstat (limited to 'trunk/src/lib/formats/hxcmfm_dsk.h')
-rw-r--r-- | trunk/src/lib/formats/hxcmfm_dsk.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/trunk/src/lib/formats/hxcmfm_dsk.h b/trunk/src/lib/formats/hxcmfm_dsk.h new file mode 100644 index 00000000000..c185f31a264 --- /dev/null +++ b/trunk/src/lib/formats/hxcmfm_dsk.h @@ -0,0 +1,31 @@ +/********************************************************************* + + formats/hxcmfm_dsk.h + + HxC Floppy Emulator disk images + +*********************************************************************/ + +#ifndef HXCMFM_DSK_H +#define HXCMFM_DSK_H + +#include "flopimg.h" + +class mfm_format : public floppy_image_format_t +{ +public: + mfm_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; +}; + +extern const floppy_format_type FLOPPY_MFM_FORMAT; + +#endif /* HXCMFM_DSK_H */ |