mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Added information from INF-8070.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2015-10-31 Natalia Portillo <claunia@claunia.com>
|
||||||
|
|
||||||
|
* SCSI/Modes.cs:
|
||||||
|
Added information from INF-8070.
|
||||||
|
|
||||||
2015-10-31 Natalia Portillo <claunia@claunia.com>
|
2015-10-31 Natalia Portillo <claunia@claunia.com>
|
||||||
|
|
||||||
* SCSI/Modes.cs:
|
* SCSI/Modes.cs:
|
||||||
|
|||||||
@@ -285,8 +285,23 @@ namespace DiscImageChef.Decoders.SCSI
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 3.5-inch, 135 tpi, 15916 bits/radian, double-sided MFM (aka 1.44Mb)
|
/// 3.5-inch, 135 tpi, 15916 bits/radian, double-sided MFM (aka 1.44Mb)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
HDFloppy = 0x94
|
HDFloppy = 0x94,
|
||||||
#endregion Medium Types defined in USB Mass Storage Class - UFI Command Specification
|
#endregion Medium Types defined in USB Mass Storage Class - UFI Command Specification
|
||||||
|
|
||||||
|
#region Medium Types defined in INF-8070
|
||||||
|
/// <summary>
|
||||||
|
/// Unknown type block device
|
||||||
|
/// </summary>
|
||||||
|
UnknownBlockDevice = 0x40,
|
||||||
|
/// <summary>
|
||||||
|
/// Read-only block device
|
||||||
|
/// </summary>
|
||||||
|
ReadOnlyBlockDevice = 0x41,
|
||||||
|
/// <summary>
|
||||||
|
/// Read/Write block device
|
||||||
|
/// </summary>
|
||||||
|
ReadWriteBlockDevice = 0x42
|
||||||
|
#endregion Medium Types defined in INF-8070
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum DensityType : byte
|
public enum DensityType : byte
|
||||||
@@ -1035,6 +1050,15 @@ namespace DiscImageChef.Decoders.SCSI
|
|||||||
case MediumTypes.MediumError:
|
case MediumTypes.MediumError:
|
||||||
sb.AppendLine("Tray closed or caddy inserted but medium error");
|
sb.AppendLine("Tray closed or caddy inserted but medium error");
|
||||||
break;
|
break;
|
||||||
|
case MediumTypes.UnknownBlockDevice:
|
||||||
|
sb.AppendLine("Unknown block device");
|
||||||
|
break;
|
||||||
|
case MediumTypes.ReadOnlyBlockDevice:
|
||||||
|
sb.AppendLine("Read-only block device");
|
||||||
|
break;
|
||||||
|
case MediumTypes.ReadWriteBlockDevice:
|
||||||
|
sb.AppendLine("Read/Write block device");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
sb.AppendFormat("Unknown medium type 0x{0:X2}", header.Value.MediumType).AppendLine();
|
sb.AppendFormat("Unknown medium type 0x{0:X2}", header.Value.MediumType).AppendLine();
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user