#141781 - tepples - Sat Sep 29, 2007 8:52 pm
I'm trying to make a GBA program so that I can use the GBA as a controller for any GameCube game, not just the ones that support the GameCube to GBA cable. This requires communicating over JOYBUS, the GameCube controller port protocol. But GBATEK states that the GBA serial chip intercepts some JOYBUS commands and sends responses before my program even sees them. Specifically, it identifies itself as a GBA (0x0004), not a GameCube controller (0x0900).
So I have to handle JOYBUS with bit-banging in general purpose mode. Google found this and this and this. I've successfully received "command" bytes from a GameCube and from a third-party GameCube to USB adapter. But when I try to respond to these command bytes, I get no result on the screen, just as if I had not plugged in the cable. Is there a way to see what is actually coming out of my GBA's serial port when I call the send_bits() function that I wrote without spending $250 to buy an oscilloscope? Has anyone tried this already who is willing to look at my code?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
So I have to handle JOYBUS with bit-banging in general purpose mode. Google found this and this and this. I've successfully received "command" bytes from a GameCube and from a third-party GameCube to USB adapter. But when I try to respond to these command bytes, I get no result on the screen, just as if I had not plugged in the cable. Is there a way to see what is actually coming out of my GBA's serial port when I call the send_bits() function that I wrote without spending $250 to buy an oscilloscope? Has anyone tried this already who is willing to look at my code?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.