Add bit breakdown

This commit is contained in:
Bottersnike 2022-05-19 02:40:33 +01:00
parent 76e8bf2bd5
commit 1b2b5d885f

View File

@ -152,6 +152,213 @@
<p>The four bytes marked as padding are unused, with the only requirement being that they are non-null. It is
recommended, but not required, to set them to <code>40<sub>h</sub></code> (<code>'@'</code>).</p>
<details>
<summary>Individual bit breakdown</summary>
<table class="code">
<thead>
<tr>
<td rowspan="2">Byte</td>
<td rowspan="2">Player</td>
<td colspan="8">Bit</td>
<td rowspan="2">ASCII</td>
</tr>
<tr>
<td>7</td>
<td>6</td>
<td>5</td>
<td>4</td>
<td>3</td>
<td>2</td>
<td>1</td>
<td>0</td>
</tr>
</thead>
<tr>
<td>0</td>
<td></td>
<td>0</td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>(</td>
</tr>
<tr>
<td>1</td>
<td>P1</td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>0</td>
<td>B2</td>
<td>A2</td>
<td>B1</td>
<td>A1</td>
<td><i>varies</i></td>
</tr>
<tr>
<td>2</td>
<td>P1</td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>0</td>
<td>B4</td>
<td>A4</td>
<td>B3</td>
<td>A3</td>
<td><i>varies</i></td>
</tr>
<tr>
<td>3</td>
<td>P1</td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>0</td>
<td>B6</td>
<td>A6</td>
<td>B5</td>
<td>A5</td>
<td><i>varies</i></td>
</tr>
<tr>
<td>4</td>
<td>P1</td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>0</td>
<td>B8</td>
<td>A8</td>
<td>B7</td>
<td>A7</td>
<td><i>varies</i></td>
</tr>
<tr>
<td>5</td>
<td></td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>@</td>
</tr>
<tr>
<td>6</td>
<td></td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>@</td>
</tr>
<tr>
<td>7</td>
<td>P2</td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>0</td>
<td>B2</td>
<td>A2</td>
<td>B1</td>
<td>A1</td>
<td><i>varies</i></td>
</tr>
<tr>
<td>8</td>
<td>P2</td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>0</td>
<td>B4</td>
<td>A4</td>
<td>B3</td>
<td>A3</td>
<td><i>varies</i></td>
</tr>
<tr>
<td>9</td>
<td>P2</td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>0</td>
<td>B6</td>
<td>A6</td>
<td>B5</td>
<td>A5</td>
<td><i>varies</i></td>
</tr>
<tr>
<td>10</td>
<td>P2</td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>0</td>
<td>B8</td>
<td>A8</td>
<td>B7</td>
<td>A7</td>
<td><i>varies</i></td>
</tr>
<tr>
<td>11</td>
<td></td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>@</td>
</tr>
<tr>
<td>12</td>
<td></td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>@</td>
</tr>
<tr>
<td>13</td>
<td></td>
<td>0</td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>0</td>
<td>1</td>
<td>)</td>
</tr>
</table>
</details>
<p>An example may aid here. The following image is what transmitting <code>(FIBT@@@@@@@@)</code> is interpreted as:</p>
<img src="{{ROOT}}/images/maimai_FIBT.png" class="graphic">