Commit Graph

39 Commits

Author SHA1 Message Date
3a069ab37a Solved some bugs found testing on usb flash sticks. 2015-10-31 21:32:10 +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
e873377777 Device type, manufacturer, model, revision and serial number
are now obtained in device constructor.
2015-10-19 05:11:28 +01:00
efcc294202 Moved devices enums and structs out of classes. 2015-10-19 04:39:39 +01:00
ac491f6f5c Implemented SCSI VPDs 0x00 to 0x80. 2015-10-19 04:32:16 +01:00
27acec2aa8 * DiscImageChef.Decoders/ATA/ATA.cs:
* DiscImageChef.Decoders/ATA/Identify.cs:
	* DiscImageChef.Decoders/DiscImageChef.Decoders.csproj:
	  Rename fields, methods and structs to more adequate names.

	* DiscImageChef/Commands/Decode.cs:
	* DiscImageChef/Commands/DeviceInfo.cs:
	  Rename ATA/ATAPI decoders fields, methods and structs to
	  more adequate names.
2015-10-19 03:17:03 +01:00
12c5412b52 * DiscImageChef/Commands/Decode.cs:
* DiscImageChef.Decoders/ATA/ATA.cs:
	* DiscImageChef/Commands/DeviceInfo.cs:
	  Rename SCSI decoders fields, methods and structs to more
	  adequate names.

	* DiscImageChef.Decoders/SCSI/MMC/MMC.cs:
	* DiscImageChef.Decoders/DiscImageChef.Decoders.csproj:
	  Separated SCSI decoders by type.

	* DiscImageChef.Decoders/SCSI/Enums.cs:
	* DiscImageChef.Decoders/SCSI/Inquiry.cs:
	* DiscImageChef.Decoders/SCSI/VendorString.cs:
	  Rename fields, methods and structs to more adequate names.
2015-10-19 03:13:15 +01:00
b3d48cac37 Separated SCSI decoders by type. 2015-10-19 02:59:32 +01:00
45303f8a8d * DiscImageChef.Decoders/CD/TOC.cs:
* DiscImageChef.Decoders/CD/PMA.cs:
	* DiscImageChef.Decoders/CD/ATIP.cs:
	* DiscImageChef.Decoders/CD/Session.cs:
	* DiscImageChef.Decoders/CD/FullTOC.cs:
	* DiscImageChef.Decoders/CD/CDTextOnLeadIn.cs:
	  Rename fields, methods and structs to more adequate names.

	* DiscImageChef/Commands/Decode.cs:
	  Rename CD decoders fields, methods and structs to more
	  adequate names.
2015-10-19 02:46:04 +01:00
4457479471 Separated CD decoders by type. 2015-10-19 02:40:30 +01:00
b661febe57 * DiscImageChef.Console/DicConsole.cs:
Added methods without formatting.

	* DiscImageChef.Decoders/ATA.cs:
	  Typo.

	* DiscImageChef.Decoders/SCSI.cs:
	  Don't try to decode Version Descriptors if there are none.
	Also there are devices on the wild with less than 8 VDs.

	* DiscImageChef/Commands/DeviceInfo.cs:
	  Use a format-less output.
2015-10-19 01:37:23 +01:00
e9e55162d9 Added ATA/ATAPI IDENTIFY DEVICE disk tags. 2015-10-19 00:32:48 +01:00
4f407e3d15 Added specific console handling for standard, verbose, debug
and error outputs.
2015-10-18 22:04:03 +01:00
fda6bcb3d4 Added ATA/ATAPI IDENTIFY DEVICE decoder 2015-10-17 02:57:47 +01:00
846be0d756 * DiscImageChef.Devices/Device/AtaCommands.cs:
* DiscImageChef.Devices/Device/ScsiCommands.cs:
	* DiscImageChef.Devices/Device/AtapiCommands.cs:
	  Added duration debug printfs.

	* DiscImageChef.Devices/Enums.cs:
	  Corrected device<->host direction.

	* DiscImageChef.Devices/Linux/Command.cs:
	  Corrected device<->host direction.
	Changed to workaround how ATA Pass-Through is really
	  implemented in Linux.

	* DiscImageChef/Commands/DeviceInfo.cs:
	  Added ATA and ATAPI identify commands.
2015-10-15 01:46:31 +01:00
9f0d09b789 * DiscImageChef/Main.cs:
* DiscImageChef/Options.cs:
	* DiscImageChef/DiscImageChef.csproj:
	* DiscImageChef/Commands/DeviceInfo.cs:
	  Added "device-info" command.

	* DiscImageChef.Decoders/SCSI.cs:
	  Correct size miscalculation.
	Do not print "Device claims no standard", generates too much
	  noise.

	* DiscImageChef.Devices/Device/Constructor.cs:
	  Add OS error detection and handling.
	On Linux move to opening O_RDONLY and O_NONBLOCK to allow
	  opening read-only media and removable drives without media.

	* DiscImageChef.Devices/Device/Variables.cs:
	* DiscImageChef.Devices/Device/ScsiCommands.cs:
	  Add OS error detection and handling.

	* DiscImageChef.Devices/DiscImageChef.Devices.csproj:
	* DiscImageChef.Interop/DiscImageChef.Interop.csproj:
	  Downgraded .NET version.
2015-10-13 01:45:07 +01:00
4a3583d13e Moved disc image plugins to a separate library. 2015-10-05 19:45:07 +01:00
4fc2e234b0 Implement "entropy" command. 2015-05-19 06:04:21 +01:00
66980c0548 Give not only partition starting sector but also ending sector
to filesystems.
2015-04-20 05:09:46 +01:00
72e5c9983c Implemented SpamSum fuzzy hashing. 2015-04-19 01:27:17 +01:00
5fbcf3e96e Implemented Fletcher-16 and Fletcher-32 checksum algorithms. 2015-04-19 01:18:36 +01:00
07cdb1cee5 Added CRC16 to checksum command. 2015-04-19 01:10:32 +01:00
0335745f27 Added Adler-32 checksum 2015-04-19 01:07:12 +01:00
46840cc545 Implement decoders for CD disk structures. 2014-09-06 03:45:53 +01:00
5cf5ca6325 Implement SCSI INQUIRY command response decoding (and added
adequate disk tag).
2014-09-05 19:07:07 +01:00
c8575e4728 Forgot header. 2014-09-01 03:51:11 +01:00
aadd192a67 Implement "decode" verb. 2014-09-01 03:44:39 +01:00
7b15a709bd Implement "printhex" verb to print a/several sector(s) as
hexadecimal values on console.
2014-08-28 19:27:16 +01:00
3a03e3121e Implements verification on all currently supported disk
images.
	Implements DC42 CRC calculation.
	Calculates TeleDisk CRC for disk sectors.
	Resolves #2 and bumps version to 2.1.
2014-08-25 05:00:25 +01:00
1e9cd0daec Implemented 'checksum' verb with CRC32, CRC64, RIPEMD160, MD5,
SHA1, SHA256, SHA384, SHA512
2014-07-03 18:35:19 +01:00
4699522a40 Implemented 'compare' verb 2014-07-03 18:34:43 +01:00
74ca0f9f90 Added header
Exit gracefully
2014-07-03 18:34:19 +01:00
7f2637d7cc Added header 2014-07-03 18:33:12 +01:00
06c327c4e2 Added header 2014-07-03 18:32:34 +01:00
5bf43aad7e Added header 2014-07-03 18:32:03 +01:00
ded61b9f99 Moved image format detection out of "analyze" verb. 2014-06-16 02:07:23 +01:00
dfbf818cf4 Rewording plugin type names. 2014-06-16 01:51:26 +01:00
c2d5279259 Add verbose mode for "formats" verb. 2014-06-16 01:50:49 +01:00
daf7fbf176 * DiscImageChef/Main.cs:
* DiscImageChef/Commands/Verify.cs:
	* DiscImageChef/Commands/Formats.cs:
	* DiscImageChef/Commands/Analyze.cs:
	* DiscImageChef/Commands/Compare.cs:
	* DiscImageChef/Commands/Commands.cs:
	* DiscImageChef/Commands/Checksum.cs:
	* DiscImageChef/DiscImageChef.csproj:
	  Move all commands to separate classes.

	* DiscImageChef/AssemblyInfo.cs:
	  Let mono create random revision and build.

	* DiscImageChef/Options.cs:
	  Make options public
2014-06-16 01:45:04 +01:00