#177191 - Dekota - Sun Jan 15, 2012 1:41 pm
Hi,
I'm currently trying to get a basic understanding of the multi-player mode. currently I can connect 2 GBA's together (using VBA linker atm) and establish a connection and can send data between them.
The problem I'm having is how to send data x and then send data y so both GBA's could send a position between each other.
From what I've read there is meant to be a delay of 600 ticks + send interval.
so far I'm just sending the data and then waiting for the 7th bit to become 0 of SCCNT_L (REG_SIOCNT in libgba) and then giving the send register a new value and start the communication again.
I'm also not using a interrupt for the communication (mainly because I have no idea how to set it up).
Thanks
I'm currently trying to get a basic understanding of the multi-player mode. currently I can connect 2 GBA's together (using VBA linker atm) and establish a connection and can send data between them.
The problem I'm having is how to send data x and then send data y so both GBA's could send a position between each other.
From what I've read there is meant to be a delay of 600 ticks + send interval.
so far I'm just sending the data and then waiting for the 7th bit to become 0 of SCCNT_L (REG_SIOCNT in libgba) and then giving the send register a new value and start the communication again.
I'm also not using a interrupt for the communication (mainly because I have no idea how to set it up).
Thanks