Commit Graph

3370 Commits

Author SHA1 Message Date
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
5e39e581ef Add command to close and re-open a device. 2020-12-12 21:03:01 +00:00
c0aa669300 Add ability to send sequentially concatenated SD/MMC commands. 2020-12-12 20:58:58 +00:00
109f758d08 Do not send SET_BLOCK_COUNT before every READ_MULTIPLE_BLOCK. 2020-12-12 20:56:56 +00:00
3c7854318a Better decoding of SecureDigital Card Register. 2020-12-12 20:52:07 +00:00
cad5742d34 Fix creating sidecar from MMC trying to hash non-existing SD registers. 2020-12-10 13:58:02 +00:00
d176244665 Reduce seek times to 100 when scanning MMC/SD cards. 2020-12-10 13:57:33 +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
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