* DiscImageChef/Commands/MediaInfo.cs:

* DiscImageChef/Commands/DeviceInfo.cs:
	  Added support for SCSI sequential devices.

	* DiscImageChef.Decoders/SCSI/SSC/BlockLimits.cs:
	* DiscImageChef.Decoders/SCSI/SSC/DensitySupport.cs:
	* DiscImageChef.Decoders/DiscImageChef.Decoders.csproj:
	  Added decoders for SCSI SSC READ BLOCK LIMITS and REPORT
	  DENSITY SUPPORT.

	* DiscImageChef.Devices/Device/ScsiCommands/SSC.cs:
	  Corrected ReportDensitySupport.

	* DiscImageChef.Decoders/SCSI/Modes.cs:
	  Corrected mode size.
This commit is contained in:
2016-01-15 07:00:43 +00:00
parent 14b7be1172
commit 2a8b5d3cc5
10 changed files with 621 additions and 116 deletions

View File

@@ -892,9 +892,9 @@ namespace DiscImageChef.Devices
bool sense;
cdb[0] = (byte)ScsiCommands.ReportDensitySupport;
if (mediumType)
cdb[1] += 0x01;
if (currentMedia)
cdb[1] += 0x01;
if (mediumType)
cdb[1] += 0x02;
cdb[7] = (byte)((buffer.Length & 0xFF00) >> 8);
cdb[8] = (byte)(buffer.Length & 0xFF);