mame/src/lib/formats/xdf_dsk.c
Aaron Giles 71fbb5edc2 Added license tags to a few more files. Also converted many of OG's
BSD licenses to tags since when he copied & pasted them he forgot to
remove one instance of my name, which I caught while searching. ;-)
2013-10-16 09:38:09 +00:00

47 lines
876 B
C

// license:BSD-3-Clause
// copyright-holders:Olivier Galibert
/*********************************************************************
formats/xdf_dsk.c
x68k bare-bones formats
*********************************************************************/
#include "emu.h"
#include "formats/xdf_dsk.h"
xdf_format::xdf_format() : upd765_format(formats)
{
}
const char *xdf_format::name() const
{
return "xdf";
}
const char *xdf_format::description() const
{
return "XDF disk image";
}
const char *xdf_format::extensions() const
{
return "xdf,hdm,2hd";
}
// Unverified gap sizes
const xdf_format::format xdf_format::formats[] = {
{
floppy_image::FF_525, floppy_image::DSHD, floppy_image::MFM,
1200, // 1us, 360rpm
8, 77, 2,
1024, {},
1, {},
80, 50, 22, 84
},
{}
};
const floppy_format_type FLOPPY_XDF_FORMAT = &floppy_image_format_creator<xdf_format>;