You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This lesson will introduce how to work with the 2 serial registers SB (0xff01) and SC (0xff02) in order to get a variety of multiplayer capability in the game.
Basic sending and receiving of a byte
Comms code considerations depending on if the current GB is master/slave, and how they would keep each other synced
Timeouts to ensure that the communication doesn't just hang
As a starting use case, this code should be used to add a very simple multiplayer feature to Part 2: share the saved high scores between different Game Boys.
Note
When trying to transfer a bit when the other GB isn't connected, the bit received is 1. I don't think that's documented anywhere?
This lesson will introduce how to work with the 2 serial registers SB (0xff01) and SC (0xff02) in order to get a variety of multiplayer capability in the game.
As a starting use case, this code should be used to add a very simple multiplayer feature to Part 2: share the saved high scores between different Game Boys.
Note
When trying to transfer a bit when the other GB isn't connected, the bit received is 1. I don't think that's documented anywhere?