diff options
Diffstat (limited to 'src/lib/formats/msx_dsk.cpp')
-rw-r--r-- | src/lib/formats/msx_dsk.cpp | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/src/lib/formats/msx_dsk.cpp b/src/lib/formats/msx_dsk.cpp index ab0b5bab529..8ec0739b266 100644 --- a/src/lib/formats/msx_dsk.cpp +++ b/src/lib/formats/msx_dsk.cpp @@ -2,7 +2,7 @@ // copyright-holders:Olivier Galibert /********************************************************************* - formats/msx_dsk.c + formats/msx_dsk.cpp MSX disk images @@ -15,23 +15,31 @@ msx_format::msx_format() : upd765_format(formats) { } -const char *msx_format::name() const +const char *msx_format::name() const noexcept { return "msx"; } -const char *msx_format::description() const +const char *msx_format::description() const noexcept { return "MSX disk image"; } -const char *msx_format::extensions() const +const char *msx_format::extensions() const noexcept { return "dsk"; } // Unverified gap sizes const msx_format::format msx_format::formats[] = { + { /* 180K 5 1/4 inch double density single sided */ + floppy_image::FF_525, floppy_image::SSDD, floppy_image::MFM, + 2000, 9, 40, 1, 512, {}, 1, {}, 80, 50, 22, 80 + }, + { /* 360K 5 1/4 inch double density */ + floppy_image::FF_525, floppy_image::DSDD, floppy_image::MFM, + 2000, 9, 40, 2, 512, {}, 1, {}, 80, 50, 22, 80 + }, { /* 3 1/2 inch single sided double density */ // 80x4e 12x00 3xf6 fc // 26x4e 12x00 3xf5 fe 2x00 01 02 f7 24x4e 12x00 3xf5 fb 512xe5 f7 @@ -58,4 +66,4 @@ const msx_format::format msx_format::formats[] = { {} }; -const floppy_format_type FLOPPY_MSX_FORMAT = &floppy_image_format_creator<msx_format>; +const msx_format FLOPPY_MSX_FORMAT; |