diff options
Diffstat (limited to 'src/lib/formats/ppg_dsk.h')
-rw-r--r-- | src/lib/formats/ppg_dsk.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/lib/formats/ppg_dsk.h b/src/lib/formats/ppg_dsk.h new file mode 100644 index 00000000000..34416578566 --- /dev/null +++ b/src/lib/formats/ppg_dsk.h @@ -0,0 +1,32 @@ +// license:BSD-3-Clause +// copyright-holders:Sergey Svishchev +/********************************************************************* + + formats/ppg_dsk.h + + ppg format + +*********************************************************************/ + +#ifndef PPG_DSK_H_ +#define PPG_DSK_H_ + +#include "wd177x_dsk.h" + +class ppg_format : public wd177x_format { +public: + ppg_format(); + + virtual const char *name() const override; + virtual const char *description() const override; + virtual const char *extensions() const override; + +private: + static const format formats[]; + + virtual void build_sector_description(const format &d, uint8_t *sectdata, desc_s *sectors, int track, int head) const override; +}; + +extern const floppy_format_type FLOPPY_PPG_FORMAT; + +#endif |