mame/src/lib/formats/m5_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
851 B
C

// license:BSD-3-Clause
// copyright-holders:Olivier Galibert
/*********************************************************************
formats/m5_dsk.c
sord m5 format
*********************************************************************/
#include "emu.h"
#include "formats/m5_dsk.h"
m5_format::m5_format() : upd765_format(formats)
{
}
const char *m5_format::name() const
{
return "m5";
}
const char *m5_format::description() const
{
return "Sord M5 disk image";
}
const char *m5_format::extensions() const
{
return "dsk";
}
// Unverified gap sizes
const m5_format::format m5_format::formats[] = {
{
floppy_image::FF_525, floppy_image::DSDD, floppy_image::MFM,
2000, // 2us, 300rpm
18, 40, 2,
256, {},
1, {},
80, 50, 22, 80
},
{}
};
const floppy_format_type FLOPPY_M5_FORMAT = &floppy_image_format_creator<m5_format>;