mirror of
https://github.com/holub/mame
synced 2025-05-22 13:48:55 +03:00
44 lines
827 B
C++
44 lines
827 B
C++
// license:BSD-3-Clause
|
|
// copyright-holders:Barry Rodewald
|
|
/*
|
|
* fmtowns_dsk.c
|
|
*
|
|
* FM Towns floppy image format
|
|
*
|
|
* Created on: 23/03/2014
|
|
*/
|
|
|
|
#include <assert.h>
|
|
|
|
#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>;
|