Skip to content

Commit 37526fa

Browse files
authored
Four player adapter edits (#618)
* Four Player Adapter: fix broken tables On the rendered pandocs site some of the Four Player Adapter page tables appear broken (showing up as markdown source). I think because they are missing blank lines above the tables. This attempts to fix that. * Four Player Adapter: fix typo "by" not "byte"
1 parent 8af32e5 commit 37526fa

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Four_Player_Adapter.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ a little more time than a single Game Boy video frame.
5454
### Ping Packet Fields
5555

5656
The ping data received by each Game Boy looks like this:
57+
5758
Byte | Value | Description
5859
-----|-------|-------------
5960
1 | \$FE | PING HEADER
@@ -62,6 +63,7 @@ Byte | Value | Description
6263
4 | ?? | STAT3
6364

6465
The chart below illustrates how Game Boys should respond to bytes in a ping packet:
66+
6567
Received From DMG-07 | Game Boy Reply
6668
---------------------|-----------------------
6769
PING HEADER (\$FE) | ACK1 = (\$88)
@@ -135,6 +137,7 @@ the Game Boys. Each byte is usually the same, however, sometimes the status can
135137
change midway through a ping, typically on STAT2 or STAT3.
136138

137139
Each STAT byte has the following fields:
140+
138141
Bit | Name
139142
----|------------------------
140143
7 | Player 4 Connected
@@ -156,7 +159,8 @@ The upper-half of STAT1, STAT2, and STAT3 are updated based on the ping response
156159
to show when Game Boys are "connected". If for whatever reason, the ping responses
157160
are not sent, the status bits are unset.
158161

159-
Some examples of ping packets sent byte the DMG-07 are shown below:
162+
Some examples of ping packets sent by the DMG-07 are shown below:
163+
160164
Packet | Description
161165
--------------|-------------------------------------------------------
162166
`FE 01 01 01` | Ping packet received by Player 1 with no other Game Boys connected.

0 commit comments

Comments
 (0)