summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/juku_dsk.cpp
blob: 46d448a2c61f3a5fd182e79726d302b34916cdc9 (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
39
40
41
42
43
44
45
// license: BSD-3-Clause
// copyright-holders: Dirk Best, Märt Põder
/***************************************************************************

    Juku E5101/E5104

    Disk image format

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

#include "juku_dsk.h"

juku_format::juku_format() : wd177x_format(formats)
{
}

const char *juku_format::name() const noexcept
{
	return "juku";
}

const char *juku_format::description() const noexcept
{
	return "Juku disk image";
}

const char *juku_format::extensions() const noexcept
{
	return "juk";
}

const juku_format::format juku_format::formats[] =
{
	{   //  386k 5.25" double density single sided - gaps unverified (CP/M)
		floppy_image::FF_525, floppy_image::SSDD, floppy_image::MFM,
		2000, 10, 80, 1, 512, {}, 1, {}, 32, 22, 35
	},
	{   //  786k 5.25" double density "outout" double sided - gaps unverified (CP/M)
		floppy_image::FF_525, floppy_image::DSDD, floppy_image::MFM,
		2000, 10, 80, 2, 512, {}, 1, {}, 32, 22, 35
	},
	{}
};

const juku_format FLOPPY_JUKU_FORMAT;