diff options
author | 2015-11-08 12:56:12 +0100 | |
---|---|---|
committer | 2015-11-08 12:56:12 +0100 | |
commit | 7c19aac60e12d6f5ea301bdb34d7826a01e0b06f (patch) | |
tree | f310d86aa2c6bfc19d115307dedde4eb0cd52dad /src/lib/formats/a5105_dsk.cpp | |
parent | a57b46ae933badd7441ce1644711dbb851e2b504 (diff) |
Rename *.c -> *.cpp in our source (nw)
Diffstat (limited to 'src/lib/formats/a5105_dsk.cpp')
-rw-r--r-- | src/lib/formats/a5105_dsk.cpp | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/lib/formats/a5105_dsk.cpp b/src/lib/formats/a5105_dsk.cpp new file mode 100644 index 00000000000..33d7f15e1fd --- /dev/null +++ b/src/lib/formats/a5105_dsk.cpp @@ -0,0 +1,47 @@ +// license:BSD-3-Clause +// copyright-holders:Olivier Galibert +/********************************************************************* + + formats/a5105_dsk.c + + a5105 format + +*********************************************************************/ + +#include <assert.h> + +#include "formats/a5105_dsk.h" + +a5105_format::a5105_format() : upd765_format(formats) +{ +} + +const char *a5105_format::name() const +{ + return "a5105"; +} + +const char *a5105_format::description() const +{ + return "A5105 disk image"; +} + +const char *a5105_format::extensions() const +{ + return "img"; +} + +// Unverified gap sizes +const a5105_format::format a5105_format::formats[] = { + { + floppy_image::FF_525, floppy_image::DSQD, floppy_image::MFM, + 2000, // 2us, 300rpm + 5, 80, 2, + 1024, {}, + 1, {}, + 80, 50, 22, 80 + }, + {} +}; + +const floppy_format_type FLOPPY_A5105_FORMAT = &floppy_image_format_creator<a5105_format>; |