Repository navigation
Conversation
I don't own a DSpico, what is the intended usecase here? If it is moving data to/from the external cart SD to the internal SD or NAND, I think it makes more sense to share the drive with #9 (the RAMdrive) as people might still want to access the NAND partitions at the same time as the DSpico, but I can't imagine a usecase for moving data from the DSpico to the RAMdrive. But I'm happy to be proven wrong on this too. |
The use case is moving files between the DSpico SD and the internal SD/NAND, yes. My concern with Please let me know what you think. |
|
Then yeah, looks like we'll have to reuse this one.
I'm not against time-based timeouts, I think they're a good thing, but they shouldn't affect the critical path and ideally should only affect the error paths. If the official DLDI driver does this, then I think it's reasonable.
Do you have any performance numbers? I'm not expecting a huge change as this sounds very bus limited (4 MHz / MiB/s?) but the higher the number, the better for us, as long as it's stable. |
|
Did some extra debug, performance numbers on a 624 MB:
clock is the default 6.7 MHz, so ~6.4 MiB/s at most if it moves one byte per clock (haven't checked the gap cycles). I think the rest is the pico's per-command latency: the firmware serves one 512 byte sector per E5 and the read loop polls E4 before each one |
|
Last commit: DSpico SD can now save the .sha file, like on the regular SD card |
|
Any chance we could just add a new drive? I know @Wolfvak mentioned not seeing a reason to transfer between RAMdrive and DSPico, I could see users wanting to transfer between two DSPicos or even two different flashcarts if support is ever added. That'd also give a new place to cleanly support Gateway carts, which I've wanted to implement for a while anyways, and a new drive letter would make a nice place to standardize on. |
I think this is perfectly acceptable, nobody's expecting the NDS cart to be ultra fast, especially not when running on a microcontroller that has to deal with protocol overheads. Sorry about not making many updates here but I'm still racking my brains trying to figure out a trivial way to add this drive without messing too much with GM9's insides, but do ping me here, on Discord or IRC if I haven't gotten back to you in a timely manner. (if you figure out a way I'd be more than happy to hear it) |
Adds support for the SD card of a DSpico flashcart.
7:/, where it works like a regular SD cardR+Xunmounts or remounts it, and a warning appears if the cart is removed while mounted7:/with FAT images, so only one can be mounted at a timeFixes #968