Commit Graph

6496 Commits

Author SHA1 Message Date
d0a35ff00e Implemented SCSI READ DISC INFORMATION. 2015-11-23 17:10:59 +00:00
eb98bf28b6 * DiscImageChef.Devices/Device/ScsiCommands.cs:
Implemented SCSI READ CAPACITY(16).

	* DiscImageChef.Devices/Enums.cs:
	  Added SCSI SERVICE ACTIONs.
2015-11-23 05:52:45 +00:00
e7560c761c Added missing documentation. 2015-11-23 05:22:52 +00:00
86648c5132 Implemented SCSI READ CAPACITY(10). 2015-11-23 05:19:43 +00:00
be93167b26 * DiscImageChef.Devices/Device/ScsiCommands.cs:
Corrected typo.

	* DiscImageChef/Commands/DeviceInfo.cs:
	  Decode SCSI sense.
2015-11-23 05:15:37 +00:00
57644ecb39 * DiscImageChef.Devices/Command.cs:
* DiscImageChef.Decoders/ATA/Errors.cs:
	* DiscImageChef/Commands/DeviceInfo.cs:
	* DiscImageChef.Devices/Linux/Command.cs:
	* DiscImageChef.Devices/Device/Commands.cs:
	* DiscImageChef.Devices/Device/AtaCommands.cs:
	* DiscImageChef.Devices/Device/Constructor.cs:
	* DiscImageChef.Devices/Device/AtapiCommands.cs:
	* DiscImageChef.Devices/DiscImageChef.Devices.csproj:
	* DiscImageChef.Decoders/DiscImageChef.Decoders.csproj:
	  Moved ATA register definition to a more common place.

	* DiscImageChef.Decoders/SCSI/Sense.cs:
	  Added information from SAT-4.
2015-11-23 04:26:53 +00:00
0ebbd87548 * DiscImageChef.Devices/Command.cs:
* DiscImageChef.Decoders/ATA/Errors.cs:
	* DiscImageChef/Commands/DeviceInfo.cs:
	* DiscImageChef.Devices/Linux/Command.cs:
	* DiscImageChef.Devices/Device/Commands.cs:
	* DiscImageChef.Devices/Device/AtaCommands.cs:
	* DiscImageChef.Devices/Device/Constructor.cs:
	* DiscImageChef.Devices/Device/AtapiCommands.cs:
	* DiscImageChef.Devices/DiscImageChef.Devices.csproj:
	* DiscImageChef.Decoders/DiscImageChef.Decoders.csproj:
	  Moved ATA register definition to a more common place.

	* DiscImageChef.Decoders/SCSI/Sense.cs:
	  Added information from SAT-4.
2015-11-23 04:26:53 +00:00
a5ce129a2f Added information from SPC-5. 2015-11-23 04:08:09 +00:00
257a717c9a Added information from SPC-5. 2015-11-23 04:08:09 +00:00
74f80685d8 Added decoding SCSI SENSE as defined in SCSI-2. 2015-11-23 00:30:01 +00:00
c7b3ddc6ff Added decoding SCSI SENSE as defined in SCSI-2. 2015-11-23 00:30:01 +00:00
fb961787e1 * DiscImageChef.Filesystems/BFS.cs:
Invert endian description

	* DiscImageChef/Commands/Checksum.cs:
	  Modified checksums command to use multiple-sector reading
	  and be heavily multithreaded.

	* DiscImageChef/DiscImageChef.csproj:
	  Enable optimizations on Release.
2015-11-10 06:16:23 +00:00
26b0b6373b * DiscImageChef.Filesystems/BFS.cs:
Prevent index out of array on checking BeFS with
	  less-than-sector-size boot sector.

	* DiscImageChef/Commands/Checksum.cs:
	  Corrected checksum calculation for multiple tracks

	* DiscImageChef.DiscImages/CDRWin.cs:
	  Corrected typo in track calculation.
2015-11-09 22:17:45 +00:00
bbc209c121 * DiscImageChef.DiscImages/CDRWin.cs:
Corrected partition start and length calculations.

	* DiscImageChef.Filesystems/BFS.cs:
	  Corrected decoding fields.
	Added supports for boot sector smaller than device size as in
	  some Be CDs.

	* DiscImageChef/Main.cs:
	  Forgot to define Console.Write()
2015-11-09 19:42:00 +00:00
b3bbc5dbe5 * DiscImageChef.Decoders/SCSI/Modes.cs:
Check for vendor pages not following page format (even if
	  they must).

	* DiscImageChef.Devices/Device/Constructor.cs:
	  Some devices (at least smsc usb-floppy) crash and reset when
	  receiving ata over the ATA PASS-THROUGH scsi command. This
	  will check for SCSI compliance first giving devices time to
	  reset.

	* DiscImageChef.Devices/Device/ScsiCommands.cs:
	  Some devices (smsc usb floppies) return the real command
	  result size disregarding allocation length and generating a
	  buffer overflow.

	* DiscImageChef.Devices/Enums.cs:
	  Added some vendor commands for Plextor and HL-DT-ST devices.

	* DiscImageChef/Commands/DeviceInfo.cs:
	  Mode sense should be written even if it can't be decoded.
2015-11-05 06:50:02 +00:00
361b8977b0 * DiscImageChef.Decoders/SCSI/Modes.cs:
Check for vendor pages not following page format (even if
	  they must).

	* DiscImageChef.Devices/Device/Constructor.cs:
	  Some devices (at least smsc usb-floppy) crash and reset when
	  receiving ata over the ATA PASS-THROUGH scsi command. This
	  will check for SCSI compliance first giving devices time to
	  reset.

	* DiscImageChef.Devices/Device/ScsiCommands.cs:
	  Some devices (smsc usb floppies) return the real command
	  result size disregarding allocation length and generating a
	  buffer overflow.

	* DiscImageChef.Devices/Enums.cs:
	  Added some vendor commands for Plextor and HL-DT-ST devices.

	* DiscImageChef/Commands/DeviceInfo.cs:
	  Mode sense should be written even if it can't be decoded.
2015-11-05 06:50:02 +00:00
626c9062eb Added option to dump binary responses got from devices while
getting device info.
2015-11-02 21:08:38 +00:00
2f6eaa2393 Added READ DISC STRUCTURE. 2015-11-02 19:12:19 +00:00
ca8a152d8f Added READ DISC STRUCTURE. 2015-11-02 19:12:19 +00:00
8bb403524b * DiscImageChef.Decoders/SCSI/MMC/Features.cs:
Reword Feature 0105h.
	Correct handling of feature 010Ch.

	* DiscImageChef/Commands/DeviceInfo.cs:
	  Typo in debug output.
2015-11-01 22:38:25 +00:00
45c390de67 * DiscImageChef.Decoders/SCSI/MMC/Features.cs:
Reword Feature 0105h.
	Correct handling of feature 010Ch.

	* DiscImageChef/Commands/DeviceInfo.cs:
	  Typo in debug output.
2015-11-01 22:38:25 +00:00
e0e7d9f25a * DiscImageChef.Decoders/SCSI/MMC/Features.cs:
Correct math priority

	* DiscImageChef.Devices/Device/ScsiCommands.cs:
	  Correct command size typo

	* DiscImageChef/Commands/DeviceInfo.cs:
	  Add MMC GET CONFIGURATION
2015-11-01 22:09:10 +00:00
f02e668173 * DiscImageChef.Decoders/SCSI/MMC/Features.cs:
Correct math priority

	* DiscImageChef.Devices/Device/ScsiCommands.cs:
	  Correct command size typo

	* DiscImageChef/Commands/DeviceInfo.cs:
	  Add MMC GET CONFIGURATION
2015-11-01 22:09:10 +00:00
09419b1d02 * DiscImageChef.Decoders/SCSI/MMC/Features.cs:
Added code to separate features and the feature header.

	* DiscImageChef.Devices/Enums.cs:
	* DiscImageChef.Devices/Device/ScsiCommands.cs:
	  Added SCSI GET CONFIGURATION
2015-11-01 20:06:24 +00:00
dfb15d0e4f * DiscImageChef.Decoders/SCSI/MMC/Features.cs:
Added code to separate features and the feature header.

	* DiscImageChef.Devices/Enums.cs:
	* DiscImageChef.Devices/Device/ScsiCommands.cs:
	  Added SCSI GET CONFIGURATION
2015-11-01 20:06:24 +00:00
32863ca922 Implemented prettifying all known features. 2015-11-01 19:36:24 +00:00
cfdbb92d44 Implemented prettifying all known features. 2015-11-01 19:36:24 +00:00
59193699bf Implemented decoding all known features. 2015-11-01 06:49:18 +00:00
9d6096e76a Implemented decoding all known features. 2015-11-01 06:49:18 +00:00
1cff837bca Added structures from MMC-6. 2015-11-01 04:20:45 +00:00
fc835c8bc3 Added structures from MMC-6. 2015-11-01 04:20:45 +00:00
9510fe4895 Added structures from MMC-5. 2015-11-01 04:02:09 +00:00
dddb7da787 Added structures from MMC-5. 2015-11-01 04:02:09 +00:00
2a9688a99f Added feature structures from MMC-4. 2015-11-01 03:30:53 +00:00
9e62f20f5a Added feature structures from MMC-4. 2015-11-01 03:30:53 +00:00
e01ca9ef41 Added features structures from MMC-3. 2015-11-01 03:07:13 +00:00
f9934bddc0 Added features structures from MMC-3. 2015-11-01 03:07:13 +00:00
10873fb2e8 Added feature structures from MMC-1. 2015-11-01 02:16:29 +00:00
dac9e415d4 Added feature structures from MMC-1. 2015-11-01 02:16:29 +00:00
b3361d5554 Added MMC features and profiles enumerations. 2015-11-01 00:32:16 +00:00
5b9777776c Solved some bugs found testing on usb flash sticks. 2015-10-31 21:32:10 +00:00
7a177f95bf Solved some bugs found testing on usb flash sticks. 2015-10-31 21:32:10 +00:00
3a069ab37a Solved some bugs found testing on usb flash sticks. 2015-10-31 21:32:10 +00:00
c1772cd8a5 * DiscImageChef.Decoders/SCSI/Modes.cs:
Polished some bugs and typos and format

	* DiscImageChef.Devices/Device/ScsiCommands.cs:
	  Corrected math typo.

	* DiscImageChef/Commands/DeviceInfo.cs:
	  Added MODE SENSE to device information.
2015-10-31 21:03:18 +00:00
6b9f8f97c8 * DiscImageChef.Decoders/SCSI/Modes.cs:
Polished some bugs and typos and format

	* DiscImageChef.Devices/Device/ScsiCommands.cs:
	  Corrected math typo.

	* DiscImageChef/Commands/DeviceInfo.cs:
	  Added MODE SENSE to device information.
2015-10-31 21:03:18 +00:00
819ea99717 Implemented decoding MODE SENSE. 2015-10-31 19:41:58 +00:00
cd1ce818ff Implemented decoding MODE SENSE. 2015-10-31 19:41:58 +00:00
04bc193680 Added LongLBA MODE SENSE(10) support. 2015-10-31 18:50:15 +00:00
132517fdf2 Added LongLBA MODE SENSE(10) support. 2015-10-31 18:50:15 +00:00
da4ed21dcc Added information from MMC-3. 2015-10-31 06:29:39 +00:00