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
|
// license:BSD-3-Clause
// copyright-holders:Olivier Galibert
/*********************************************************************
formats/bw2_dsk.c
bw2 format
*********************************************************************/
#include <cassert>
#include "formats/bw2_dsk.h"
bw2_format::bw2_format() : upd765_format(formats)
{
}
const char *bw2_format::name() const
{
return "bw2";
}
const char *bw2_format::description() const
{
return "Bondwell 2 disk image";
}
const char *bw2_format::extensions() const
{
return "dsk";
}
const bw2_format::format bw2_format::formats[] = {
{ // 340K 3 1/2 inch double density
floppy_image::FF_35, floppy_image::SSDD, floppy_image::MFM,
2000, 17, 80, 1, 256, {}, 0, {}, 80, 20, 22, 14
},
{ // 360K 3 1/2 inch double density
floppy_image::FF_35, floppy_image::SSDD, floppy_image::MFM,
2000, 18, 80, 1, 256, {}, 0, {}, 80, 20, 22, 14
},
{}
};
const floppy_format_type FLOPPY_BW2_FORMAT = &floppy_image_format_creator<bw2_format>;
|