// 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>;
