martes, 28 de agosto de 2007

DLDI Driver for SuperCard MiniSD Rumble

This my first attempt at coding/adapting a DLDI driver for my SuperCard MiniSD Rumble (which, according to the original IO source code, _may_ work with other SD-based SuperCards like the MicroSD and standard SD SCs).

It took some time to adapt the routines to correctly handle unaligned reads/writes, as I had no debugging methods at all, and these were also my first steps in ARM Assembler coding.
I tested the driver with the latest dldi_tester.nds from Chishm and it worked 100% right for both reading and writing (aligned and unaligned).

I hope you enjoy it, and whether it worked for you or not, leave a comment!

In case it didn't work, please report what happened with as much detail as possible. Also it might be good for you to try patching a "fresh" -non patched- dldi_tester.nds (this one, which checks for unaligned buffer issues also) and send me the results.

Download the driver here