#106790 - Lick - Mon Oct 23, 2006 1:53 pm
I found this code in the Supercard IO source package. Wondering what it does, anyone who can translate this short function to C?
_________________
http://licklick.wordpress.com
Code: |
scms_sdcard_reset:
ldr r0, =0x4000204 ldrh r1, [r0] bic r1, r1, #0x1c strh r1, [r0] @micro sd/rumble must set ldr r0, =sd_reset strh r0, [r0] bx r14 |
_________________
http://licklick.wordpress.com