gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > Basic multiplayer comms

#96413 - Ultima2876 - Thu Aug 03, 2006 4:30 am

Is there a tutorial on basic communications in normal mode, or some example code?

All I want to do is send a byte from the master to the slave GBA, and having tried the only normal mode code I can find (downtou's), the code doesn't work (the slave simply doesn't finish the transfer and sits there, apparently transferring, the master finishes).

Thanks in advance.

#96415 - tepples - Thu Aug 03, 2006 4:39 am

"Normal mode" is mostly designed for GBC cables. Use "multiplayer mode" for GBA cables.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#96512 - Ultima2876 - Thu Aug 03, 2006 5:27 pm

Hmm.. but isn't it faster to use normal mode for one-way transfers from master to slave?

With multiplayer I can only get around 20 bytes/frame transferred, as far as I know.

#96521 - tepples - Thu Aug 03, 2006 6:04 pm

Normal mode over GBA cables is open-loop, meaning that there's no chance for GBAs 2-4 to request a retransmission if a packet's CRC is busted. And some people don't read the manual properly and thus expect normal mode to work bidirectionally over GBA cables.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.