Commit Graph

192 Commits

Author SHA1 Message Date
472a1d94d8 Update copyright year. 2020-12-31 23:08:23 +00:00
9dec4df51e Move delegates to common types. 2020-12-31 19:28:47 +00:00
afeb830549 Fix misdetecting optical discs as flash drives. 2020-12-29 19:37:16 +00:00
f8754a178b Fix media detection number of blocks for 70Gb iomega REV. 2020-12-29 19:36:53 +00:00
97cb61eca6 Fix stack corruption when sending multiple MMC/SD commands in Linux. 2020-12-13 20:33:36 +00:00
37385a245f Temporarily disable CMD23+CMD18+CMD12 combination as it is currently corrupting the stack in Linux. 2020-12-13 02:29:02 +00:00
c788a4ded5 Implemented reading SD/MMC using buffered OS calls. 2020-12-12 22:48:03 +00:00
04a2626125 Add options to use OS buffered reads when reading MMC/SD. 2020-12-12 21:14:39 +00:00
a026b525a2 Add MMC/SD command to send SET_BLOCK_COUNT, READ_MULTIPLE_BLOCK and STOP_TRANSMISSION in a single call. 2020-12-12 21:03:44 +00:00
4f0a582a23 Write MMC/SD card registers to image before closing it. 2020-12-10 13:57:16 +00:00
2bc98e6810 Fix block size for SD cards, that must always be read using 512b blocks even if their CSD says otherwise. 2020-12-10 13:56:50 +00:00
f81090dc1b Fix calculating blocks to read when dumping or scanning MMC/SD. 2020-12-10 13:56:04 +00:00
ad4d80223e Add more fields to MultiMediaCard's Extended CSD. 2020-12-09 20:11:19 +00:00
3546c35d42 Do not calculate pregaps when dumping on a Plextor as some older models contains firmware bugs that crash the bus.
It is not needed really when dumping.
2020-12-05 14:04:27 +00:00
ef0e035385 Fix dumping flash drives that report themselves as CD drives when they're not. 2020-12-04 00:31:30 +00:00
1e4ac8b2fb Fix detection of flash drives that report themselves as CD drives when they're not. 2020-12-03 18:19:05 +00:00
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
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
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
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