Skip to content

Commit ef49f8c

Browse files
daidavivace
andauthored
Serial Data Transfer: document disconnects
Co-authored-by: Antonio Vivace <[email protected]>
1 parent 0b48cfd commit ef49f8c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Serial_Data_Transfer_(Link_Cable).md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,15 @@ transfer procedure should use a timeout counter, and abort the
8686
communication if no response has been received during the timeout
8787
interval.
8888

89+
## Disconnects
90+
91+
On a disconnected link cable, the input bit on a master will start to read 1.
92+
This means a master will start to receive $FF bytes.
93+
94+
If a disconnection happens during transmission, the input will be pulled up to 1 over a 20uSec period. (TODO: Only measured on a CGB rev E)
95+
This means if the slave was sending a 0 bit at the time of the disconnect, you will read 0 bits for up to 20 μs.
96+
Which on a CGB at the highest speed can be more then a byte.
97+
8998
## Delays and Synchronization
9099

91100
The master Game Boy should always execute a small

0 commit comments

Comments
 (0)