Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 44 additions & 3 deletions content/Video_Display.md
Original file line number Diff line number Diff line change
Expand Up @@ -461,9 +461,50 @@ don't use color 0 - it's transparent instead.

There are three "blocks" of 128 tiles each:

- Block 0 is $8000-$87FF
- Block 1 is $8800-$8FFF
- Block 2 is $9000-$97FF
<table>
<thead>
<tr>
<th>Block</th>
<th>VRAM Address</th>
<th>Sprite Tiles</th>
<th colspan="2">BG/Win Tiles</th>
</tr>
</thead>
<tbody>
<tr>
<td></td>
<td></td>
<td></td>
<td><strong>if LCDC.4=1</strong></td>
<td><strong>if LCDC.4=0</strong></td>
</tr>
<tr>
<td>0</td>
<td>$8000 - $87FF</td>
<td>0 - 127</td>
<td>0 - 127</td>
<td></td>
</tr>
<tr>
<td>1</td>
<td>$8800 - $8FFF</td>
<td>128 - 255</td>
<td>128 - 255</td>
<td>
128 - 255 <br />
or (-127 - 0)
</td>
</tr>
<tr>
<td>2</td>
<td>$9000 - $97FF</td>
<td></td>
<td>(unused)</td>
<td>0 - 127</td>
</tr>
</tbody>
</table>


Tiles are always indexed using a 8-bit integer, but the addressing
method may differ. The "$8000 method" uses \$8000 as its base pointer
Expand Down