summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/d81_dsk.h
blob: 00d99807c0e2e87580ea23a26dc07a23ea9c98c2 (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
33
34
// license:BSD-3-Clause
// copyright-holders:Curt Coder
/*********************************************************************

    formats/d81_dsk.h

    Commodore 1581 disk image format

*********************************************************************/
#ifndef MAME_FORMATS_D81_DSK_H
#define MAME_FORMATS_D81_DSK_H

#pragma once

#include "wd177x_dsk.h"

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

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

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

private:
	static const format formats[];
};

extern const floppy_format_type FLOPPY_D81_FORMAT;

#endif // MAME_FORMATS_D81_DSK_H