mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Added information from USB Mass Storage Class – UFI Command
Specification.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2015-10-31 Natalia Portillo <claunia@claunia.com>
|
||||||
|
|
||||||
|
* SCSI/Modes.cs:
|
||||||
|
Added information from USB Mass Storage Class – UFI Command
|
||||||
|
Specification.
|
||||||
|
|
||||||
2015-10-31 Natalia Portillo <claunia@claunia.com>
|
2015-10-31 Natalia Portillo <claunia@claunia.com>
|
||||||
|
|
||||||
* SCSI/Modes.cs:
|
* SCSI/Modes.cs:
|
||||||
|
|||||||
@@ -5270,6 +5270,10 @@ namespace DiscImageChef.Decoders.SCSI
|
|||||||
/// Total number of LUNs
|
/// Total number of LUNs
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public byte TLUN;
|
public byte TLUN;
|
||||||
|
/// <summary>
|
||||||
|
/// System Floppy Type device
|
||||||
|
/// </summary>
|
||||||
|
public bool SFLP;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ModePage_1B? DecodeModePage_1B(byte[] pageResponse)
|
public static ModePage_1B? DecodeModePage_1B(byte[] pageResponse)
|
||||||
@@ -5292,6 +5296,7 @@ namespace DiscImageChef.Decoders.SCSI
|
|||||||
ModePage_1B decoded = new ModePage_1B();
|
ModePage_1B decoded = new ModePage_1B();
|
||||||
|
|
||||||
decoded.PS |= (pageResponse[0] & 0x80) == 0x80;
|
decoded.PS |= (pageResponse[0] & 0x80) == 0x80;
|
||||||
|
decoded.SFLP |= (pageResponse[2] & 0x80) == 0x80;
|
||||||
decoded.SRFP |= (pageResponse[2] & 0x40) == 0x40;
|
decoded.SRFP |= (pageResponse[2] & 0x40) == 0x40;
|
||||||
decoded.NCD |= (pageResponse[3] & 0x80) == 0x80;
|
decoded.NCD |= (pageResponse[3] & 0x80) == 0x80;
|
||||||
decoded.SML |= (pageResponse[3] & 0x40) == 0x40;
|
decoded.SML |= (pageResponse[3] & 0x40) == 0x40;
|
||||||
@@ -5319,6 +5324,8 @@ namespace DiscImageChef.Decoders.SCSI
|
|||||||
if (page.PS)
|
if (page.PS)
|
||||||
sb.AppendLine("\tParameters can be saved");
|
sb.AppendLine("\tParameters can be saved");
|
||||||
|
|
||||||
|
if (page.SFLP)
|
||||||
|
sb.AppendLine("\tDrive can be used as a system floppy device");
|
||||||
if (page.SRFP)
|
if (page.SRFP)
|
||||||
sb.AppendLine("\tDrive supports reporting progress of format");
|
sb.AppendLine("\tDrive supports reporting progress of format");
|
||||||
if (page.NCD)
|
if (page.NCD)
|
||||||
|
|||||||
Reference in New Issue
Block a user