summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/tim011_dsk.cpp
blob: 0afa2bb82d7dc84d826fdcd44d73400d56ed8a88 (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:Miodrag Milanovic
/*********************************************************************

    formats/tim011_dsk.cpp

    TIM 011 format

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

#include "formats/tim011_dsk.h"

tim011_format::tim011_format() : upd765_format(formats)
{
}

const char *tim011_format::name() const noexcept
{
	return "tim011";
}

const char *tim011_format::description() const noexcept
{
	return "TIM 011 disk image";
}

const char *tim011_format::extensions() const noexcept
{
	return "img";
}

// Unverified gap sizes.
const tim011_format::format tim011_format::formats[] = {
	{
		floppy_image::FF_35, floppy_image::DSDD, floppy_image::MFM,
		2000,
		5, 80, 2,
		1024, {},
		17, {},
		80, 50, 22, 80
	},
	{}
};

const tim011_format FLOPPY_TIM011_FORMAT;