diff options
Diffstat (limited to 'src/lib/formats/thom_dsk.h')
-rw-r--r-- | src/lib/formats/thom_dsk.h | 38 |
1 files changed, 30 insertions, 8 deletions
diff --git a/src/lib/formats/thom_dsk.h b/src/lib/formats/thom_dsk.h index 24bf68f3b38..52927f15de8 100644 --- a/src/lib/formats/thom_dsk.h +++ b/src/lib/formats/thom_dsk.h @@ -1,18 +1,40 @@ // license:BSD-3-Clause -// copyright-holders:Miodrag Milanovic +// copyright-holders:Olivier Galibert #ifndef MAME_FORMATS_THOM_DSK_H #define MAME_FORMATS_THOM_DSK_H #pragma once -#include "flopimg.h" +#include "wd177x_dsk.h" -/* recognized image formats: - - .fd one-side 5"1/4 (single and double density), 3"1/2 - - .qd one-side QDD - - .sap one-side double-density 5"1/4, 3"1/2 -*/ +class thomson_525_format : public wd177x_format +{ +public: + thomson_525_format(); -LEGACY_FLOPPY_OPTIONS_EXTERN(thomson); + virtual const char *name() const noexcept override; + virtual const char *description() const noexcept override; + virtual const char *extensions() const noexcept override; + +private: + static const format formats[]; +}; + +class thomson_35_format : public wd177x_format +{ +public: + thomson_35_format(); + + virtual const char *name() const noexcept override; + virtual const char *description() const noexcept override; + virtual const char *extensions() const noexcept override; + +private: + static const format formats[]; +}; + + +extern const thomson_525_format FLOPPY_THOMSON_525_FORMAT; +extern const thomson_35_format FLOPPY_THOMSON_35_FORMAT; #endif // MAME_FORMATS_THOM_DSK_H |