Commit Graph

26 Commits

Author SHA1 Message Date
a8a74f385a Merge null/pattern checks into complex pattern. 2022-11-13 20:46:29 +00:00
c5b34ee3d9 Convert if to switch statement. 2022-11-13 19:38:03 +00:00
762e3eb6d2 General cleanup and refactor. 2022-03-07 07:36:44 +00:00
0bc819feab Move to file scoped namespaces. 2022-03-06 13:29:38 +00:00
dd4451740c Update copyright year. 2022-02-20 09:34:52 +00:00
Darkstar
741ef99f9f Fix Blocksize from Read16 for media dump 2021-07-28 21:41:17 +02:00
aa2dbf3b94 Fix overflow calculations of blocks when device has more than 0x7FFFFFFF blocks. 2021-07-28 17:16:38 +01:00
eda85862cd Decode fixed or descriptor SCSI sense in a single pass, use whichever was returned by drive. 2021-03-26 00:37:54 +00:00
472a1d94d8 Update copyright year. 2020-12-31 23:08:23 +00:00
9eeef9a8a2 Do not try to find SCSI read command if the medium is not written. Fixes #458 2020-11-20 21:23:49 +00:00
6877589cc9 General code clean-up, refactor and commenting. 2020-11-11 04:19:18 +00:00
5f07692d31 Hardcode read command and blocks to read if we cannot calculate them for magneto-opticals. 2020-11-11 03:14:48 +00:00
0c0d97e07a Reverse used SCSI READ command, as some USB devices claim to support a later one but don't properly. 2020-10-28 20:03:28 +00:00
50edc53684 Scan blank blocks in magneto-optical disks before dumping, and do not treat them as errors. Fixes #316 2020-10-23 01:21:35 +01:00
2d3720a9f5 When dumping media if device returns "corrected error", consider it as a good read. 2020-10-17 20:46:43 +01:00
db03ca31f9 Disable FUA to fix reading from old SCSI disks. 2020-10-17 02:15:15 +01:00
2376b65763 Code style fixes. 2020-07-22 13:20:25 +01:00
720bb1df6e Save error log on dump. 2020-07-13 18:54:41 +01:00
bb2536de27 Use SCSI MEDIUM SCAN to find first readable block. 2020-04-28 20:19:49 +01:00
129af01e0d If block 0 cannot be read try another random block before deciding media cannot be read, for SBC and ATA. 2020-04-28 19:44:58 +01:00
f7e173710e Code restyling. 2020-02-29 18:03:35 +00:00
895143b790 Rename DicConsole to AaruConsole. 2020-02-27 23:49:15 +00:00
901aef4962 Rename application name references on dumping. 2020-02-27 14:06:36 +00:00
67edb977bd Rename comment header. 2020-02-27 12:31:30 +00:00
4ade64cfc9 Rename namespace. 2020-02-27 00:36:40 +00:00
f5b199e483 Renamed project files and folders 2020-02-26 19:10:46 +00:00