summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/roland_dsk.cpp
blob: 4a7c7157c99fc274ac0d54cf8df7fb4a4aae5664 (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
35
36
37
38
// license:BSD-3-Clause
// copyright-holders:Olivier Galibert

#include "roland_dsk.h"

roland_sdisk_format::roland_sdisk_format() : wd177x_format(formats)
{
}

const char *roland_sdisk_format::name() const noexcept
{
	return "roland_sdisk";
}

const char *roland_sdisk_format::description() const noexcept
{
	return "Roland S-Disk image";
}

const char *roland_sdisk_format::extensions() const noexcept
{
	return "out,w30";
}

const roland_sdisk_format::format roland_sdisk_format::formats[] = {
	{
		floppy_image::FF_35, floppy_image::DSDD, floppy_image::MFM,
		2000,
		9, 80, 2,
		512, {},
		1, {},
		80, 22, 24
	},
	// TODO: add HD format used by S-750/S-760/S-770
	{}
};

const roland_sdisk_format FLOPPY_ROLAND_SDISK_FORMAT;