diff options
Diffstat (limited to 'src/lib/formats/fsd_dsk.h')
-rw-r--r-- | src/lib/formats/fsd_dsk.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/lib/formats/fsd_dsk.h b/src/lib/formats/fsd_dsk.h new file mode 100644 index 00000000000..fdfb6fb3d27 --- /dev/null +++ b/src/lib/formats/fsd_dsk.h @@ -0,0 +1,43 @@ +// license:BSD-3-Clause +// copyright-holders:Nigel Barnes +/*************************************************************************** + + BBC Micro + + Disk image formats + +***************************************************************************/ + +#pragma once + +#ifndef __FSD_DSK_H__ +#define __FSD_DSK_H__ + +#include "flopimg.h" +#include "wd177x_dsk.h" + +/**************************************************************************/ + +LEGACY_FLOPPY_OPTIONS_EXTERN(fsd); + +/**************************************************************************/ + + + +class fsd_format : public floppy_image_format_t +{ +public: + fsd_format(); + + virtual const char *name() const override; + virtual const char *description() const override; + virtual const char *extensions() const override; + virtual bool supports_save() const override; + + virtual int identify(io_generic *io, UINT32 form_factor) override; + virtual bool load(io_generic *io, UINT32 form_factor, floppy_image *image) override; +}; + +extern const floppy_format_type FLOPPY_FSD_FORMAT; + +#endif // __FSD_DSK_H__ |