* README.md:
	* DiscImageChef.Partitions/GPT.cs:
	* DiscImageChef.Partitions/DiscImageChef.Partitions.csproj:
	  Added support for EFI GPT. Fixes #8.

	* commandline:

	* DiscImageChef.Decoders/SCSI/Sense.cs:
	  Corrected handling when sense contains multiple repeated
	  sense codes, in a not clean way (just ignoring repeats).

	* DiscImageChef.Filesystems/Acorn.cs:
	  Added exception catching and unsigned values to correct
	  Acorn DiscRecord structure. Fixes #34

	* DiscImageChef/Commands/DeviceReport.cs:
	  Check for 36 blocks in long block search in all cases.

	* DiscImageChef/Commands/DumpMedia.cs:
	  Only try the persistent pass one time. If it didn't correct
	  in the previous cycle it won't magically do now.
	Sort unreadalbe sectors before printing them.
This commit is contained in:
2016-02-05 19:24:48 +00:00
parent a090c8f46c
commit 5bc9dd3c10
13 changed files with 423 additions and 15 deletions

View File

@@ -3296,7 +3296,7 @@ namespace DiscImageChef.Commands
if (pressedKey.Key == ConsoleKey.Y)
{
for (ushort i = (ushort)mediaTest.BlockSize; i < 0x8000; i++)
for (ushort i = (ushort)mediaTest.BlockSize; i < (ushort)mediaTest.BlockSize * 36; i++)
{
DicConsole.Write("\rTrying to READ LONG with a size of {0} bytes...", i);
sense = dev.ReadLong10(out buffer, out senseBuffer, false, false, 0, i, timeout, out duration);
@@ -3497,10 +3497,10 @@ namespace DiscImageChef.Commands
if (pressedKey.Key == ConsoleKey.Y)
{
for (ushort i = (ushort)report.SCSI.ReadCapabilities.BlockSize; i < 0x4000; i++)
for (ushort i = (ushort)report.SCSI.ReadCapabilities.BlockSize; i < (ushort)report.SCSI.ReadCapabilities.BlockSize * 36; i++)
{
DicConsole.Write("\rTrying to READ LONG with a size of {0} bytes...", i);
sense = dev.ReadLong10(out buffer, out senseBuffer, false, false, 0, i, timeout, out duration);
sense = dev.ReadLong10(out buffer, out senseBuffer, false, false, 0, (ushort)i, timeout, out duration);
if (!sense)
{
if (options.Debug)