diff --git a/DiscImageChef.Decoders/ChangeLog b/DiscImageChef.Decoders/ChangeLog index e12c58736..c867e19d8 100644 --- a/DiscImageChef.Decoders/ChangeLog +++ b/DiscImageChef.Decoders/ChangeLog @@ -1,3 +1,9 @@ +2015-10-23 Natalia Portillo + + * SCSI/Enums.cs: + * SCSI/Inquiry.cs: + Added information from ECMA-111. + 2015-10-19 Natalia Portillo * SCSI/EVPD.cs: diff --git a/DiscImageChef.Decoders/SCSI/Enums.cs b/DiscImageChef.Decoders/SCSI/Enums.cs index 005b8727d..0a016f93f 100644 --- a/DiscImageChef.Decoders/SCSI/Enums.cs +++ b/DiscImageChef.Decoders/SCSI/Enums.cs @@ -198,9 +198,9 @@ namespace DiscImageChef.Decoders.SCSI /// ECMANoVersion = 0x00, /// - /// Device complies with an obsolete ECMA standard + /// Device complies with a ECMA-111 standard /// - ECMAObsolete = 0x01 + ECMA111 = 0x01 } enum ISOVersions : byte diff --git a/DiscImageChef.Decoders/SCSI/Inquiry.cs b/DiscImageChef.Decoders/SCSI/Inquiry.cs index bf746a951..8cd756614 100644 --- a/DiscImageChef.Decoders/SCSI/Inquiry.cs +++ b/DiscImageChef.Decoders/SCSI/Inquiry.cs @@ -50,6 +50,7 @@ namespace DiscImageChef.Decoders.SCSI /// T10/1731-D revision 16 /// T10/502 revision 05 /// RFC 7144 + /// ECMA-111 /// public static class Inquiry { @@ -334,8 +335,8 @@ namespace DiscImageChef.Decoders.SCSI case ECMAVersions.ECMANoVersion: sb.AppendLine("Device does not claim to comply with any SCSI ECMA standard"); break; - case ECMAVersions.ECMAObsolete: - sb.AppendLine("Device claims to comply with an obsolete SCSI ECMA standard"); + case ECMAVersions.ECMA111: + sb.AppendLine("Device claims to comply ECMA-111: Small Computer System Interface SCSI"); break; default: sb.AppendFormat("Device claims to comply with unknown SCSI ECMA standard value 0x{0:X2})", response.ECMAVersion).AppendLine(); diff --git a/DiscImageChef.Devices/ChangeLog b/DiscImageChef.Devices/ChangeLog index eb6713f6d..da8122aba 100644 --- a/DiscImageChef.Devices/ChangeLog +++ b/DiscImageChef.Devices/ChangeLog @@ -1,3 +1,8 @@ +2015-10-23 Natalia Portillo + + * Enums.cs: + Added information from ECMA-111. + 2015-10-19 Natalia Portillo * Device/Variables.cs: diff --git a/DiscImageChef.Devices/Enums.cs b/DiscImageChef.Devices/Enums.cs index ec9c07b25..682756aff 100644 --- a/DiscImageChef.Devices/Enums.cs +++ b/DiscImageChef.Devices/Enums.cs @@ -1285,17 +1285,17 @@ namespace DiscImageChef.Devices ChangeDefinition = 0x40, /// /// Compares data between two devices - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// Compare = 0x39, /// /// Copies data between two devices - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// Copy = 0x18, /// /// Copies data between two devices and verifies the copy is correct. - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// CopyAndVerify = 0x3A, /// @@ -1305,7 +1305,7 @@ namespace DiscImageChef.Devices ExtendedCopy = 0x83, /// /// Requests information about the device - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// Inquiry = 0x12, /// @@ -1330,7 +1330,7 @@ namespace DiscImageChef.Devices ManagementProtocolOut = 0xA4, /// /// Sets device parameters - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// ModeSelect = 0x15, /// @@ -1340,7 +1340,7 @@ namespace DiscImageChef.Devices ModeSelect10 = 0x55, /// /// Gets device parameters - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// ModeSense = 0x1A, /// @@ -1360,7 +1360,7 @@ namespace DiscImageChef.Devices PersistentReserveOut = 0x5F, /// /// Requests the device to disable or enable the removal of the medium inside it - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// PreventAllowMediumRemoval = 0x1E, /// @@ -1385,12 +1385,12 @@ namespace DiscImageChef.Devices ReceiveCopyResults = 0x84, /// /// Requests the data after completion of a - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// ReceiveDiagnostic = 0x1C, /// /// Releases a previously reserved LUN or extents - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// Release = 0x17, /// @@ -1405,12 +1405,12 @@ namespace DiscImageChef.Devices ReportLuns = 0xA0, /// /// Requests the device's sense - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// RequestSense = 0x03, /// /// Reserves a LUN or extent - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// Reserve = 0x16, /// @@ -1430,7 +1430,7 @@ namespace DiscImageChef.Devices SecurityProtocolOut = 0xB5, /// /// Requests the device to perform diagnostics - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// SendDiagnostic = 0x1D, /// @@ -1445,7 +1445,7 @@ namespace DiscImageChef.Devices ServiceActionOut = 0x9F, /// /// Checks if a LUN is ready to access its medium - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// TestUnitReady = 0x00, /// @@ -1469,7 +1469,7 @@ namespace DiscImageChef.Devices CompareAndWrite = 0x89, /// /// Formats the medium into addressable logical blocks - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// FormatUnit = 0x04, /// @@ -1503,12 +1503,12 @@ namespace DiscImageChef.Devices PreFetch16 = 0x90, /// /// Reads blocks from device - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// Read = 0x08, /// /// Reads blocks from device - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// Read10 = 0x28, /// @@ -1518,7 +1518,7 @@ namespace DiscImageChef.Devices Read16 = 0x88, /// /// Gets device capacity - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// ReadCapacity = 0x25, /// @@ -1533,7 +1533,7 @@ namespace DiscImageChef.Devices ReadLong = 0x3E, /// /// Requests the device to reassign the defective blocks to another area of the medium - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// ReassignBlocks = 0x07, /// @@ -1548,42 +1548,42 @@ namespace DiscImageChef.Devices Regenerate = 0x82, /// /// Requests the device to set the LUN in a vendor specific state - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// RezeroUnit = 0x01, /// /// Searches data on blocks - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// SearchDataEqual = 0x31, /// /// Searches data on blocks using major than or equal comparison - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// SearchDataHigh = 0x30, /// /// Searches data on blocks using minor than or equal comparison - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// SearchDataLow = 0x32, /// /// Requests the device to seek to a specified blocks - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// Seek = 0x0B, /// /// Requests the device to seek to a specified blocks - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// Seek10 = 0x2B, /// /// Defines the range within which subsequent linked commands may operate - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// SetLimits = 0x33, /// /// Requests the device to enable or disable the LUN for media access operations - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// StartStopUnit = 0x1B, /// @@ -1604,7 +1604,7 @@ namespace DiscImageChef.Devices Unmap = 0x42, /// /// Verifies blocks on the device - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// Verify10 = 0x2F, /// @@ -1614,12 +1614,12 @@ namespace DiscImageChef.Devices Verify16 = 0x8F, /// /// Writes blocks to the device - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// Write = 0x0A, /// /// Writes blocks to the device - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// Write10 = 0x2A, /// @@ -1629,7 +1629,7 @@ namespace DiscImageChef.Devices Write16 = 0x8A, /// /// Writes blocks to the device and then verifies them - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// WriteAndVerify = 0x2E, /// @@ -1687,12 +1687,12 @@ namespace DiscImageChef.Devices FormatMedium = 0x04, /// /// Erases part of all of the medium from the current position - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// Erase = 0x19, /// /// Enables or disables the LUN for further operations - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// LoadUnload = 0x1B, /// @@ -1707,7 +1707,7 @@ namespace DiscImageChef.Devices Locate16 = 0x92, /// /// Requests the block length limits capability - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// ReadBlockLimits = 0x05, /// @@ -1717,12 +1717,12 @@ namespace DiscImageChef.Devices ReadPosition = 0x34, /// /// Reads blocks from the device, in reverse order - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// ReadReverse = 0x0F, /// /// Retrieves data from the device buffer that has not been successfully written to the medium (or printed) - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// RecoverBufferedData = 0x14, /// @@ -1732,12 +1732,12 @@ namespace DiscImageChef.Devices ReportDensitySupport = 0x44, /// /// Seeks the medium to the beginning of partition in current partition - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// Rewind = 0x01, /// /// A variety of positioning functions - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// Space = 0x11, /// @@ -1746,56 +1746,66 @@ namespace DiscImageChef.Devices /// Space16 = 0x91, /// + /// Selects the specified track + /// ECMA-111 (SCSI-1) + /// + TrackSelect = 0x0B, + /// /// Verifies one or more blocks from the next one - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// Verify = 0x13, /// /// Writes the specified number of filemarks or setmarks in the current position - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// WriteFileMarks = 0x10, #endregion SCSI Streaming Commands (SSC) #region SCSI Streaming Commands for Printers (SSC) + /// + /// Assures that the data in the buffer has been printed, or, for other devices, written to media + /// ECMA-111 (SCSI-1) + /// + FlushBuffer = 0x10, /// /// Specifies forms or fronts - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// Format = 0x04, /// /// Transfers data to be printed - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// Print = 0x0A, /// /// Transfers data to be printed with a slew value - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// SlewAndPrint = 0x0B, /// /// Halts printing - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// StopPrint = 0x1B, /// /// Assures that the data in the buffer has been printed, or, for other devices, written to media /// SCSI-2 X3T9.2/375R rev. 10l /// - SynchronizeBuffer = 0x10, + SynchronizeBuffer = FlushBuffer, #endregion SCSI Streaming Commands for Printers (SSC) #region SCSI Processor Commands /// /// Transfers data from the device - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// Receive = 0x08, /// /// Sends data to the device - /// SCSI-2 X3T9.2/375R rev. 10l + /// ECMA-111 (SCSI-1) /// Send = 0x0A, #endregion SCSI Processor Commands