1 // license:BSD-3-Clause
2 // copyright-holders:Olivier Galibert
3 /*********************************************************************
4
5 formats/bw2_dsk.c
6
7 bw2 format
8
9 *********************************************************************/
10
11 #include <cassert>
12
13 #include "formats/bw2_dsk.h"
14
bw2_format()15 bw2_format::bw2_format() : upd765_format(formats)
16 {
17 }
18
name() const19 const char *bw2_format::name() const
20 {
21 return "bw2";
22 }
23
description() const24 const char *bw2_format::description() const
25 {
26 return "Bondwell 2 disk image";
27 }
28
extensions() const29 const char *bw2_format::extensions() const
30 {
31 return "dsk";
32 }
33
34 const bw2_format::format bw2_format::formats[] = {
35 { // 340K 3 1/2 inch double density
36 floppy_image::FF_35, floppy_image::SSDD, floppy_image::MFM,
37 2000, 17, 80, 1, 256, {}, 0, {}, 80, 20, 22, 14
38 },
39 { // 360K 3 1/2 inch double density
40 floppy_image::FF_35, floppy_image::SSDD, floppy_image::MFM,
41 2000, 18, 80, 1, 256, {}, 0, {}, 80, 20, 22, 14
42 },
43 {}
44 };
45
46 const floppy_format_type FLOPPY_BW2_FORMAT = &floppy_image_format_creator<bw2_format>;
47