Commit Graph

139 Commits

Author SHA1 Message Date
18cf585954 Do not cross into each session's first track pregap as this makes some drives fail. Fixes #406 2020-12-03 15:52:06 +00:00
a69873ff90 Do not dump multi-session CDs in Plextor drives connected to a USB bridge until #406 is fixed. 2020-12-02 17:30:23 +00:00
80963d1cb8 Do not generate subchannels if aborted. Fixes #453 2020-11-21 15:35:19 +00:00
fa5f7e9bf2 Guard against some firmware bugs when getting DVD/BD track number and length. 2020-11-21 04:16:02 +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
2ec3b0194d Fix detection of version 3 and upper DVD-RW and DVD-RW DL. Fixes #456 2020-11-20 19:29:14 +00:00
8a105cd72d Fix retrieving CD drive offsets from database when model or manufacturer contains a slash. Fixes #454 2020-11-20 02:42:23 +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
3fdf990924 Use track 1's first sector to check readability of CompactDisc media. 2020-11-07 17:39:50 +00:00
217fd1efa6 Move image creation in multimedia SBC dump until after retrieval of track list. Fixes #414 2020-11-07 13:00:31 +00:00
8da92d7408 Fix detection of hidden data track mode when drive returns it scrambled. Fixes #380 2020-11-07 02:52:16 +00:00
5068a68001 When dumping DVD or Blu-ray, the last sector of all the tracks should be considered the last block, even if the drive tells us differently. Fixes #414 2020-11-07 01:38:54 +00:00
404dc90e8e Do not recalculate logical track size when DVD drive returns a negative start. Fixes #422 2020-11-07 01:29:52 +00:00
795179e369 Handle when buggy DVD firmware indicates a DVD track starts in a negative sector. Fixes #422 2020-11-06 21:50:34 +00:00
6c58083c64 Change method of reading subchannels in Plextor drives, fixes #395 2020-11-06 00:26:23 +00:00
cea53a02bd Fix null reference exception from previous commit. 2020-11-05 11:02:12 +00:00
c94530e685 Get back tracks, indexes, MCN and ISRCs from resumed file. Fixes #376 2020-11-05 01:21:54 +00:00
f92f122443 Change how pregap starting with 0 is calculated dumping vs converting. Fixes #375 2020-11-04 23:55:24 +00:00
49dda86cd8 Ensure only unique bad blocks are saved in resume file. Fixes #381 2020-11-03 01:40:10 +00:00
73faa18421 Guard against null block descriptors in SCSI modes. Fixes #387. 2020-11-01 22:00:52 +00:00
080ad0ed51 Set ATIP to be a class to ensure it is nulled properly.. Fixes #352 2020-11-01 20:10:35 +00:00
929569103a Fix detection of dual layer DVDs. Fixes #377 2020-11-01 18:02:29 +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
a6571c51e6 Handle calculating blank sectors when environment does not support MEDIUM SCAN command (consider all written and trim later). 2020-10-24 15:07:17 +01:00
f307f0fe12 Fix log message when trimming found a blank block. 2020-10-24 15:06:40 +01:00
e75a1a4f69 Use image capabilities when dumping CDs. 2020-10-23 04:06:10 +01:00
c104a51d5a Add support for dumping CDs to images that only support cooked user data. Fixes #378 2020-10-23 04:01:55 +01:00
d48f25062d Fix detecting XGD3 when dumping. 2020-10-23 02:16:56 +01:00
8a1f56b81a Allow to dump the video partition of XGD discs when forced is enable. Fixes #384 2020-10-23 02:11:24 +01: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
0fbebf367a Split SBC dumping code in several files. 2020-10-17 23:30:15 +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
4dcf5dd979 Allow user to choose maximum number of block to read at once when dumping media. 2020-10-17 00:21:42 +01:00
2376b65763 Code style fixes. 2020-07-22 13:20:25 +01:00
6220425ac6 Naming fixes. 2020-07-20 21:11:32 +01:00
f1fa52716c Fix namespaces. 2020-07-20 15:43:52 +01:00
0e7a86880e Fix unused code. 2020-07-20 07:47:12 +01:00
163d2ce8db Add missing XML documentation. 2020-07-20 06:02:34 +01:00
9cfef45856 Code cleanup. 2020-07-20 04:34:16 +01:00
b42963e398 Fix pregap calculation in track mode changes when pregap ends in 0. 2020-07-19 14:50:28 +01:00
b0f01f53f0 Handle discs that have pregap ending in LBA 1 instead of ending in LBA 0. 2020-07-18 20:43:37 +01:00
71b4228a83 Fix block reading sizes in GD-ROM device report. 2020-07-18 19:37:26 +01:00
3e73d38517 Consider if the F1h command 06h subcommand returns the same data when trying lead-out than when tried LBA 0, it was a failure. 2020-07-18 15:04:08 +01:00
64689fafaa Fix infinite loop on some CD track mode changes while dumping. 2020-07-18 13:59:22 +01:00
439f685ce4 Trim as audio when we know it is an audio sector, fixes some firmware bugs in audio pregap after a data track. 2020-07-14 15:04:20 +01:00
533a94bdc9 Fix infinite loop when Lead-Out cannot be crossed. 2020-07-14 14:24:44 +01:00
dca471be1e Fix not exiting when an image cannot be appended. 2020-07-14 14:24:25 +01:00
f1244d543c Move subchannel generation and fixing to a separate class. 2020-07-14 01:06:23 +01:00