diff options
author | 2014-12-20 10:55:14 +1100 | |
---|---|---|
committer | 2014-12-20 10:55:14 +1100 | |
commit | 4db0f3b64da3d9bb22921ce06d9c6e8f55f955e8 (patch) | |
tree | 6de76c18ca24d7e3f8a145b1b12bb2643d362980 /src/lib/formats/excali64_dsk.c | |
parent | 7892f2cfeb92903b57f1b87d73a6840bf16d03ce (diff) |
(MESS) excalibur : starting to add floppy support (nw)
(note: using old wd17xx because new wd crashes when the disk is loaded up)
Diffstat (limited to 'src/lib/formats/excali64_dsk.c')
-rw-r--r-- | src/lib/formats/excali64_dsk.c | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/lib/formats/excali64_dsk.c b/src/lib/formats/excali64_dsk.c new file mode 100644 index 00000000000..5de86815099 --- /dev/null +++ b/src/lib/formats/excali64_dsk.c @@ -0,0 +1,42 @@ +// license:BSD-3-Clause +// copyright-holders:Olivier Galibert +/********************************************************************* + + formats/excali64_dsk.c + + Excalibur 64 disk image format + +*********************************************************************/ + +#include "emu.h" +#include "formats/excali64_dsk.h" + +excali64_format::excali64_format() : wd177x_format(formats) +{ +} + +const char *excali64_format::name() const +{ + return "excali64"; +} + +const char *excali64_format::description() const +{ + return "Excalibur 64 disk image"; +} + +const char *excali64_format::extensions() const +{ + return "raw"; +} + +// Unverified gap sizes +const excali64_format::format excali64_format::formats[] = { + { /* 800K 19cm double density */ + floppy_image::FF_525, floppy_image::DSDD, floppy_image::MFM, + 2000, 5, 80, 2, 1024, {}, 1, {}, 100, 22, 84 + }, + {} +}; + +const floppy_format_type FLOPPY_EXCALI64_FORMAT = &floppy_image_format_creator<excali64_format>; |