From dfd2a899b57171d753b8e99cad18d888f97e02da Mon Sep 17 00:00:00 2001 From: bbbbbr Date: Mon, 18 Aug 2025 03:12:30 -0700 Subject: [PATCH 1/2] 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. --- src/Four_Player_Adapter.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Four_Player_Adapter.md b/src/Four_Player_Adapter.md index 139715c0..37128e43 100644 --- a/src/Four_Player_Adapter.md +++ b/src/Four_Player_Adapter.md @@ -54,6 +54,7 @@ a little more time than a single Game Boy video frame. ### Ping Packet Fields The ping data received by each Game Boy looks like this: + Byte | Value | Description -----|-------|------------- 1 | \$FE | PING HEADER @@ -62,6 +63,7 @@ Byte | Value | Description 4 | ?? | STAT3 The chart below illustrates how Game Boys should respond to bytes in a ping packet: + Received From DMG-07 | Game Boy Reply ---------------------|----------------------- PING HEADER (\$FE) | ACK1 = (\$88) @@ -135,6 +137,7 @@ the Game Boys. Each byte is usually the same, however, sometimes the status can change midway through a ping, typically on STAT2 or STAT3. Each STAT byte has the following fields: + Bit | Name ----|------------------------ 7 | Player 4 Connected @@ -157,6 +160,7 @@ to show when Game Boys are "connected". If for whatever reason, the ping respons are not sent, the status bits are unset. Some examples of ping packets sent byte the DMG-07 are shown below: + Packet | Description --------------|------------------------------------------------------- `FE 01 01 01` | Ping packet received by Player 1 with no other Game Boys connected. From b26597f089e89507dee3f60408758b270dc1820b Mon Sep 17 00:00:00 2001 From: bbbbbr Date: Mon, 18 Aug 2025 03:15:21 -0700 Subject: [PATCH 2/2] Four Player Adapter: fix typo "by" not "byte" --- src/Four_Player_Adapter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Four_Player_Adapter.md b/src/Four_Player_Adapter.md index 37128e43..83b53dd7 100644 --- a/src/Four_Player_Adapter.md +++ b/src/Four_Player_Adapter.md @@ -159,7 +159,7 @@ The upper-half of STAT1, STAT2, and STAT3 are updated based on the ping response to show when Game Boys are "connected". If for whatever reason, the ping responses are not sent, the status bits are unset. -Some examples of ping packets sent byte the DMG-07 are shown below: +Some examples of ping packets sent by the DMG-07 are shown below: Packet | Description --------------|-------------------------------------------------------