Commit Graph

4061 Commits

Author SHA1 Message Date
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
bf565954b5 Disable READ_MULTIPLE_BLOCK usage in Linux as it seems the ioctl(2) does not atomically accept SET_BLOCK_COUNT. 2020-12-10 13:53:16 +00:00
6ca010d621 Separate SD/MMC READ_SINGLE_BLOCK from READ_MULTIPLE_BLOCK and implement a pseudo multi block reading using single block commands. 2020-12-10 13:50:51 +00:00
74f95b692b Check Extended CSD is empty on device info. 2020-12-10 13:49:28 +00:00
fd29cba8ea Correct transfer length type for MMC/SD cards. 2020-12-10 13:33:47 +00:00
179a517be8 Remove no longer present git folder from JetBrains project. 2020-12-10 13:31:43 +00:00
3b07291d6e Update submodules. 2020-12-09 21:27:19 +00:00
ad4d80223e Add more fields to MultiMediaCard's Extended CSD. 2020-12-09 20:11:19 +00:00
720a958c7c Fix decoding MultiMediaCard Extended CSD. Fixes #364 2020-12-09 17:47:02 +00:00
e1241474d3 Add test for MultiMediaCard Extended CSD. 2020-12-09 17:45:55 +00:00
63f405136e Add test for MultiMediaCard CSD decoder. 2020-12-08 23:55:35 +00:00
a382f0b089 Fix marshalling MultiMediaCard serial number from CID registers. 2020-12-08 22:43:54 +00:00
162ffed231 Add test for MultiMediaCard CID decoder. 2020-12-08 22:41:59 +00:00
940d2d9af0 Add test for SecureDigital SCR decoder. 2020-12-08 22:12:25 +00:00
60c3de0458 Add test for SecureDigital CSD decoder. 2020-12-08 21:02:51 +00:00
ddc3a0f6d4 Fix decoding SecureDigital CID. 2020-12-08 16:56:02 +00:00
4e67cbc179 Add test for SecureDigital CID decoder. 2020-12-08 16:55:37 +00:00
ca6192cbeb Optimize hex string to byte array marshaller. 2020-12-08 01:18:45 +00:00
649d4a8442 Move hex string to byte array converter to helpers. 2020-12-08 00:56:38 +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
01237a89b7 Fix detection of flash drives that report themselves as CD drives when they're not. 2020-12-04 00:31:06 +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
72870f3c10 Detect USB flash drives that identify themselves as CD readers but are in reality just block devices. 2020-12-03 17:45:11 +00:00
ee1250ea0e On device report try other ways of getting the MODE SENSE values that are more effective with certain devices. 2020-12-03 17:44:22 +00:00
9c00288045 Do not skip pages when decoding a page longer than the MODE SENSE buffer. 2020-12-03 17:43:48 +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
341a565f01 Remove template word from templates. 2020-12-03 02:39:00 +00:00
72ffb3090d Bump version. 2020-12-03 02:37:40 +00:00
c7ec303e2d Bump version to 5.2.0.3330. v5.2.0.3330 2020-12-03 02:09:18 +00:00
c02b8b4274 Update contributing. 2020-12-03 01:48:49 +00:00
948c346d17 Update needed file. 2020-12-03 01:48:40 +00:00
6acd761a89 Remove TODO.md file. 2020-12-03 01:40:27 +00:00
54eef2f65a Update README. 2020-12-03 01:39:18 +00:00
6b4873e7db Update changelog. 2020-12-03 01:35:23 +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
9bef031dc3 Use features to see MMC drives read capabilities when doing a report, and also check DVD-RAM if the drive claims to be able to read any DVD based format. 2020-11-30 13:10:04 +00:00
568197f9a6 Support PhotoCD in CD supporting writable images. Fixes #435 2020-11-21 16:21:28 +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
07b70d854f Check MMC drive profile when dumping, fixes #457 2020-11-20 21:20:40 +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
a7e483ba74 Fix BlindWrite 4 images that contain sectors 150 sectors of first track pregap. Fixes #447 2020-11-16 01:43:36 +00:00
1423df1d55 Remove check for track crossing when writing Aaru Format as it is not affected. 2020-11-13 12:29:42 +00:00
0184bbdb31 Add new issue templates. 2020-11-12 00:50:25 +00:00
6877589cc9 General code clean-up, refactor and commenting. 2020-11-11 04:19:18 +00:00