Can I use libogc to communicate with a GBA via Joybus?

Find all your GameCube topics here
Post Reply
suchipi
Posts: 5
Joined: Wed Aug 07, 2013 1:59 am

Can I use libogc to communicate with a GBA via Joybus?

Post by suchipi » Wed Jan 29, 2014 10:42 pm

I can't seem to find anything related to doing it. If it's possible, I'd like to look into writing a rom/save dumper that uses a GBA and a GBA/GCN adapter.
It'd send a rom to the gba to boot, the gba would then read the rom or save from the cartridge, then send the information back to the gcn via the joybus, and the gcn would save it to an sdgecko.
So it'd involve writing both the gcn application and the gba application.
User avatar
emu_kidid
Site Admin
Posts: 4927
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

Re: Can I use libogc to communicate with a GBA via Joybus?

Post by emu_kidid » Wed Jan 29, 2014 10:50 pm

There's nothing in libOGC stopping this other than the fact that no one has really documented this protocol. You'd need to figure it out by reversing a game/piece of code that already does this, better yet if one of those games has a full ELF file or .map with symbols left on the disc ;)
Image
tueidj
Posts: 564
Joined: Fri May 03, 2013 6:57 am

Re: Can I use libogc to communicate with a GBA via Joybus?

Post by tueidj » Thu Jan 30, 2014 12:56 pm

It's documented in Dolphin's source code. Pretty simple stuff, all done through the global SI command buffer. The first command specifies if it's a READ (expect a WRITE command and 4 bytes in response) or a WRITE (followed by 4 bytes to send, expect a READ response).
User avatar
emu_kidid
Site Admin
Posts: 4927
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

Re: Can I use libogc to communicate with a GBA via Joybus?

Post by emu_kidid » Thu Jan 30, 2014 9:38 pm

nice, didn't know! :)
Image
Post Reply