diff options
Diffstat (limited to 'src/lib/formats/pc98_dsk.cpp')
-rw-r--r-- | src/lib/formats/pc98_dsk.cpp | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/lib/formats/pc98_dsk.cpp b/src/lib/formats/pc98_dsk.cpp index 3d85a4380dd..36dac83e2af 100644 --- a/src/lib/formats/pc98_dsk.cpp +++ b/src/lib/formats/pc98_dsk.cpp @@ -2,17 +2,16 @@ // copyright-holders:Angelo Salese /********************************************************************* - formats/pc98_dsk.c + formats/pc98_dsk.cpp PC-98 disk images *********************************************************************/ -#include <string.h> -#include <assert.h> - #include "formats/pc98_dsk.h" +#include <cstring> + /* ----------------------------------------------------------------------- */ @@ -20,17 +19,17 @@ pc98_format::pc98_format() : upd765_format(formats) { } -const char *pc98_format::name() const +const char *pc98_format::name() const noexcept { return "pc98"; } -const char *pc98_format::description() const +const char *pc98_format::description() const noexcept { return "PC-98 floppy disk image"; } -const char *pc98_format::extensions() const +const char *pc98_format::extensions() const noexcept { return "dsk,ima,img,ufi,360,hdm"; } @@ -84,8 +83,12 @@ const pc98_format::format pc98_format::formats[] = { floppy_image::FF_525, floppy_image::DSHD, floppy_image::MFM, 1200, 8, 77, 2, 1024, {}, 1, {}, 80, 50, 22, 84 }, + { /* 1MB 5 1/4 inch 256bps n88 basic disk type */ + floppy_image::FF_525, floppy_image::DSHD, floppy_image::MFM, + 1200, 26, 77, 2, 256, {}, 1, {}, 80, 50, 21, 77 + }, {} }; -const floppy_format_type FLOPPY_PC98_FORMAT = &floppy_image_format_creator<pc98_format>; +const pc98_format FLOPPY_PC98_FORMAT; |