I've been in contact with MooZ and he's updated his ed_sd.asm library for interacting with the Everdrive.
The latest version is available here:
https://gist.github.com/BlockoS/3240689He's also updated the syntax to be callable from HuC. I've put together a basic set of tests around the asm code:
#asm
.include "ed_sd.asm"
#endasm
main() {
char ed_error;
init_screen();
put_string("init_screen", 1, 0);
put_string("ed_begin", 1, 2);
ed_begin();
put_string("OK", 20, 2) ;
put_string("disk_init", 1, 3);
ed_error = 0;
ed_error = disk_init();
put_hex(ed_error, 2, 10, 3);
put_string("ed_end", 1, 4);
ed_end();
put_string("OK", 20, 4) ;
for (;
{
vsync();
joytrg(0);
}
}
Unfortunately I'm currently halting at the disk_init() stage - although things must be partially working as the red led on the everdrive lights up and stays lit as soon as my code runs.
More info when I make any further progress.