diff options
Diffstat (limited to 'src/lib/formats/abc1600_dsk.h')
-rw-r--r-- | src/lib/formats/abc1600_dsk.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/lib/formats/abc1600_dsk.h b/src/lib/formats/abc1600_dsk.h new file mode 100644 index 00000000000..02ac331345d --- /dev/null +++ b/src/lib/formats/abc1600_dsk.h @@ -0,0 +1,35 @@ +// license:BSD-3-Clause +// copyright-holders:Curt Coder +/********************************************************************* + + formats/abc1600_dsk.h + + Luxor ABC 1600 disk image formats + +*********************************************************************/ +#ifndef MAME_FORMATS_ABC1600_DSK_H +#define MAME_FORMATS_ABC1600_DSK_H + +#pragma once + +#include "wd177x_dsk.h" + +class abc1600_format : public wd177x_format +{ +public: + abc1600_format(); + + virtual const char *name() const noexcept override; + virtual const char *description() const noexcept override; + virtual const char *extensions() const noexcept override; + +protected: + virtual int get_image_offset(const format &f, int head, int track) const override; + +private: + static const format formats[]; +}; + +extern const abc1600_format FLOPPY_ABC1600_FORMAT; + +#endif // MAME_FORMATS_ABC1600_DSK_H |