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/guab_dsk.cpp | |
parent | a57b46ae933badd7441ce1644711dbb851e2b504 (diff) |
Rename *.c -> *.cpp in our source (nw)
Diffstat (limited to 'src/lib/formats/guab_dsk.cpp')
-rw-r--r-- | src/lib/formats/guab_dsk.cpp | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/lib/formats/guab_dsk.cpp b/src/lib/formats/guab_dsk.cpp new file mode 100644 index 00000000000..4c92362251a --- /dev/null +++ b/src/lib/formats/guab_dsk.cpp @@ -0,0 +1,42 @@ +// license:GPL-2.0+ +// copyright-holders:Dirk Best +/*************************************************************************** + + JPM Give us a Break + + Disk image format + +***************************************************************************/ + +#include "guab_dsk.h" + +guab_format::guab_format() : wd177x_format(formats) +{ +} + +const char *guab_format::name() const +{ + return "guab"; +} + +const char *guab_format::description() const +{ + return "JPM Give us a Break disk image"; +} + +const char *guab_format::extensions() const +{ + return "dsk"; +} + +// gap sizes unverified +const guab_format::format guab_format::formats[] = +{ + { + floppy_image::FF_35, floppy_image::DSDD, floppy_image::MFM, + 2000, 18, 80, 2, 256, {}, 0, {}, 80, 22, 24 + }, + {} +}; + +const floppy_format_type FLOPPY_GUAB_FORMAT = &floppy_image_format_creator<guab_format>; |