From d0d2aaeb816f981f2066a17f01a46e552fdf9b99 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Sat, 31 Oct 2015 02:09:40 +0000 Subject: [PATCH] Added information from USB Mass Storage Class - UFI Command Specification --- ChangeLog | 6 ++++++ SCSI/Modes.cs | 19 ++++++++++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b48d994..e2a2fc9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2015-10-31 Natalia Portillo + + * SCSI/Modes.cs: + Added information from USB Mass Storage Class - UFI Command + Specification + 2015-10-31 Natalia Portillo * SCSI/Modes.cs: diff --git a/SCSI/Modes.cs b/SCSI/Modes.cs index a71ed20..e20f686 100644 --- a/SCSI/Modes.cs +++ b/SCSI/Modes.cs @@ -274,8 +274,19 @@ namespace DiscImageChef.Decoders.SCSI /// /// Tray closed or caddy inserted but medium error /// - MediumError = 0x72 + MediumError = 0x72, #endregion Medium Types defined in SFF-8020i + + #region Medium Types defined in USB Mass Storage Class - UFI Command Specification + /// + /// 3.5-inch, 135 tpi, 12362 bits/radian, double-sided MFM (aka 1.25Mb) + /// + Type3Floppy = 0x93, + /// + /// 3.5-inch, 135 tpi, 15916 bits/radian, double-sided MFM (aka 1.44Mb) + /// + HDFloppy = 0x94 + #endregion Medium Types defined in USB Mass Storage Class - UFI Command Specification } public enum DensityType : byte @@ -591,6 +602,12 @@ namespace DiscImageChef.Decoders.SCSI case MediumTypes.Tape24: sb.AppendLine("6,3 mm tape with 24 tracks at 394 ftpmm"); break; + case MediumTypes.Type3Floppy: + sb.AppendLine("3.5-inch, 135 tpi, 12362 bits/radian, double-sided MFM (aka 1.25Mb)"); + break; + case MediumTypes.HDFloppy: + sb.AppendLine("3.5-inch, 135 tpi, 15916 bits/radian, double-sided MFM (aka 1.44Mb)"); + break; default: sb.AppendFormat("Unknown medium type 0x{0:X2}", header.Value.MediumType).AppendLine(); break;