Commit Graph

46 Commits

Author SHA1 Message Date
9dff1f8a54 🐛Fix sending READ LONG commands to ATA devices, thanks to supporting SET FEATURES command. 2018-01-21 21:56:09 +00:00
380dbad1a0 REFACTOR: Final cleanup of DiscImageChef.Core. 2017-12-23 17:41:23 +00:00
9249a221fc DOCUMENTATION: Added XML documentation to DiscImageChef.Core. 2017-12-23 01:46:08 +00:00
49144eeb01 REFACTOR: All refactor in DiscImageChef.Decoders. 2017-12-22 02:04:18 +00:00
7f829422a8 REFACTOR: All refactor in DiscImageChef.Core. 2017-12-21 23:00:30 +00:00
4e6e8f340a REFACTOR: Use string interpolation expression. 2017-12-21 17:58:51 +00:00
9a404acef4 REFACTOR: Expression is always 'true' or always 'false'. 2017-12-21 17:34:47 +00:00
13a6473236 REFACTOR: Possible 'System.InvalidOperationException'. 2017-12-21 17:10:37 +00:00
7553983bd8 REFACTOR: Removed unneeded pragmas. 2017-12-21 16:14:29 +00:00
bcbda18e4d REFACTOR: Removed unneeded value sets. 2017-12-21 16:07:20 +00:00
dcd053b20d REFACTOR: Remove unneeded code. 2017-12-21 14:30:44 +00:00
5592f147ac REFACTOR: Loop can be converted into LINQ-expression. 2017-12-21 07:08:26 +00:00
4d886dae25 REFACTOR: Invert 'if' statement to reduce nesting. 2017-12-21 06:06:19 +00:00
9cd1869d1d REFACTOR: Convert 'if' statement to 'switch' statement. 2017-12-21 04:43:29 +00:00
bce69c9161 REFACTOR: Use preferred braces style. 2017-12-21 00:44:33 +00:00
e9443388ee REFACTOR: Use preferred braces style. 2017-12-20 23:07:46 +00:00
ff2afc4593 REFACTOR: Use explicit or implicit modified definition. 2017-12-20 17:46:47 +00:00
3c843c3b06 REFACTOR: Add parentheses to avoid non-obvious precedence. 2017-12-20 17:38:12 +00:00
b0936d51c5 REFACTOR: Remove redundant parentheses. 2017-12-20 17:26:28 +00:00
a4650c61aa REFACTOR: Fixed MOST name inconsistencies. 2017-12-20 17:15:37 +00:00
ef49fdfd45 REFACTOR: Member or type can be made internal. 2017-12-20 02:08:37 +00:00
e6f6ace80b REFACTOR: Reformat code. 2017-12-19 20:33:05 +00:00
77edc7c91c REFACTOR: Sort and removed usings. 2017-12-19 19:33:51 +00:00
1a39168f19 REFACTOR: Updated comments and copyright date. 2017-12-19 03:51:05 +00:00
8c6d05eed3 FEATURE FREEZE: Removed TODO lines already implemented. 2017-12-19 01:13:31 +00:00
6654632a9b Corrected typos in report code that could lead to a partially incorrect device report. 2017-12-18 17:53:04 +00:00
2365fb473f Added missing known long block sizes on device report. 2017-12-16 23:31:44 +00:00
eb408fa5d6 Corrected calculation of block size on device report. 2017-12-16 23:18:41 +00:00
e9e1e456ad Added long sector sizes for floppies and SuperDisk. 2017-11-29 15:19:04 +00:00
d68e5b59f6 Corrected serial number clearing. 2017-09-29 15:29:39 +01:00
06b1b583d0 Corrected SD/MMC report being saved in incorrect fields. 2017-09-29 13:48:17 +00:00
1ebac730c2 Implemented device-report command for MMC and SecureDigital devices. 2017-09-28 23:35:52 +01:00
2c647dfc5c Wait for device to exist ASC 28h status. This should be trapped by the
OS but it's being so in some corner cases.
2017-09-11 18:34:01 +01:00
d60060d266 When PhysicalInterface MMC feature is unknown, store integer value separately in the report. 2017-09-10 22:03:20 +01:00
5e2dff4dee On debug add more binary data from the responses to the report. 2017-09-05 15:47:36 +01:00
08d6082cd1 Check if unformattedbps is set, this may be readlong sector
size.
2017-06-04 05:06:49 +01:00
cc63232d7b Corrected writing of debug result for readlong. 2017-06-04 01:31:46 +01:00
3110ef9027 Use correct error variable. 2017-06-04 01:29:21 +01:00
3810351db3 Max READ LONG is 65535. 2017-06-04 01:26:31 +01:00
a19b78ddcf Do more tries on READ LONG. 2017-06-03 19:27:02 +01:00
b22684f21c On debug show status of tried commands and save buffers to
disk.
2017-06-03 19:26:48 +01:00
b3b096215d ATAPI or SCSI can be PCMCIA, like the IOMEGA PocketZip. 2017-06-03 01:26:43 +01:00
f47749fa5a Simplify method calling. 2017-06-03 01:26:22 +01:00
9e1867b48b Try READ LONG last, they confuse and hang some drives that
don't support them.
2017-06-03 01:25:47 +01:00
c4abefbb5d * DiscImageChef/ChangeLog:
* DiscImageChef.Core/Devices/Report/SCSI/MMC.cs:
	  Added TODO.
2017-06-03 01:14:03 +01:00
d011caaaa9 Refactor: Move device-report logic to Core and separate by
category.
2017-05-28 21:01:17 +01:00