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/atom_dsk.cpp | |
parent | a57b46ae933badd7441ce1644711dbb851e2b504 (diff) |
Rename *.c -> *.cpp in our source (nw)
Diffstat (limited to 'src/lib/formats/atom_dsk.cpp')
-rw-r--r-- | src/lib/formats/atom_dsk.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/lib/formats/atom_dsk.cpp b/src/lib/formats/atom_dsk.cpp new file mode 100644 index 00000000000..6a5294a8fb8 --- /dev/null +++ b/src/lib/formats/atom_dsk.cpp @@ -0,0 +1,31 @@ +#include "atom_dsk.h" + +atom_format::atom_format() : wd177x_format(formats) +{ +} + +const char *atom_format::name() const +{ + return "atom"; +} + +const char *atom_format::description() const +{ + return "Acorn Atom disk image"; +} + +const char *atom_format::extensions() const +{ + return "40t,dsk"; +} + +const atom_format::format atom_format::formats[] = +{ + { // 100k 40 track single sided single density + floppy_image::FF_525, floppy_image::SSSD, floppy_image::FM, + 4000, 10, 40, 1, 256, {}, 0, {}, 40, 10, 10 + }, + {} +}; + +const floppy_format_type FLOPPY_ATOM_FORMAT = &floppy_image_format_creator<atom_format>; |