summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/d81_dsk.h
blob: 6ea96c70b177f5ccd1c24c5c2d99f7fb3d025f3c (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:Curt Coder
/*********************************************************************

    formats/d81_dsk.h

    Commodore 1581 disk image format

*********************************************************************/

#ifndef D81_DSK_H_
#define D81_DSK_H_

#include "wd177x_dsk.h"

class d81_format : public wd177x_format {
public:
	d81_format();

	virtual const char *name() const;
	virtual const char *description() const;
	virtual const char *extensions() const;

	virtual floppy_image_format_t::desc_e* get_desc_mfm(const format &f, int &current_size, int &end_gap_index);

private:
	static const format formats[];
};

extern const floppy_format_type FLOPPY_D81_FORMAT;

#endif