From db035d5b6cacd65d481acda9c12af717a63cfaea Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Sun, 29 Mar 2020 21:59:47 +0100 Subject: [PATCH] Add more M.O. media types. --- src/devices/disk/mo.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/devices/disk/mo.h b/src/devices/disk/mo.h index ef866ab..08da20b 100644 --- a/src/devices/disk/mo.h +++ b/src/devices/disk/mo.h @@ -51,13 +51,20 @@ typedef struct { char name[255]; } mo_type_t; -static const mo_type_t mo_types[5] = { +#define KNOWN_MO_TYPES 10 +static const mo_type_t mo_types[KNOWN_MO_TYPES] = { // 3.5" standard M.O. disks { 248826, 512, 127398912, "3.5\" 128Mb M.O. (ISO 10090)" }, { 446325, 512, 228518400, "3.5\" 230Mb M.O. (ISO 13963)" }, + { 1041500, 512, 533248000, "3.5\" 540Mb M.O. (ISO 15498)" }, { 310352, 2048, 635600896, "3.5\" 640Mb M.O. (ISO 15498)" }, { 605846, 2048, 1240772608, "3.5\" 1.3Gb M.O. (GigaMO)" }, - { 1063146, 2048, 2177323008, "3.5\" 2.3Gb M.O. (GigaMO 2)" } + { 1063146, 2048, 2177323008, "3.5\" 2.3Gb M.O. (GigaMO 2)" }, + // 5.25" M.O. disks + {573624, 512, 293695488, "5.25\" 600Mb M.O."}, + {314568, 1024, 322117632, "5.25\" 650Mb M.O."}, + {904995, 512, 463357440, "5.25\" 1Gb M.O."}, + {637041, 1024, 652329984, "5.25\" 1.3Gb M.O."}, }; enum {