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
46
47
48
|
// license:BSD-3-Clause
// copyright-holders:Olivier Galibert
/*********************************************************************
formats/tvc_dsk.c
tvc format
*********************************************************************/
#include <assert.h>
#include "formats/tvc_dsk.h"
tvc_format::tvc_format() : wd177x_format(formats)
{
}
const char *tvc_format::name() const
{
return "tvc";
}
const char *tvc_format::description() const
{
return "Videoton TVC HBF disk image";
}
const char *tvc_format::extensions() const
{
return "img,dsk";
}
// Unverified gap sizes
const tvc_format::format tvc_format::formats[] =
{
{ // 720K 5.25 inch
floppy_image::FF_525, floppy_image::DSQD, floppy_image::MFM,
2000, 9, 80, 2, 512, {}, 1, {}, 100, 22, 20
},
{ // 360K 5.25 inch
floppy_image::FF_525, floppy_image::SSQD, floppy_image::MFM,
2000, 9, 80, 1, 512, {}, 1, {}, 100, 22, 20
},
{}
};
const floppy_format_type FLOPPY_TVC_FORMAT = &floppy_image_format_creator<tvc_format>;
|