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
|
// license:BSD-3-Clause
// copyright-holders:Barry Rodewald
/*
* fmtowns_dsk.c
*
* FM Towns floppy image format
*
* Created on: 23/03/2014
*/
#include <cassert>
#include "formats/fmtowns_dsk.h"
fmtowns_format::fmtowns_format() : wd177x_format(formats)
{
}
const char *fmtowns_format::name() const
{
return "fmtowns";
}
const char *fmtowns_format::description() const
{
return "FM Towns disk image";
}
const char *fmtowns_format::extensions() const
{
return "bin";
}
// Unverified gap sizes
const fmtowns_format::format fmtowns_format::formats[] = {
{ /* 1.2MB 3 1/2 inch high density */
floppy_image::FF_35, floppy_image::DSHD, floppy_image::MFM,
1200, 8, 77, 2, 1024, {}, 1, {}, 50, 22, 84
},
{}
};
const floppy_format_type FLOPPY_FMTOWNS_FORMAT = &floppy_image_format_creator<fmtowns_format>;
|