summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/ppg_dsk.h
blob: 34416578566a8c7b3380caa5d2e20765151013a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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