forked from Sentinel65X/Sentinel65X-Handbook
Work on fleshing out sections
This commit is contained in:
parent
24eec39cce
commit
70ca3b9ede
|
@ -390,13 +390,13 @@ The individual tile bitmaps are 8x8, 8x16, 16x8, or 16x16 pixel bitmaps, which c
|
||||||
|
|
||||||
Tilemaps are stored as sequences of two-byte structures. The interpretation of those bytes depends on the settings of the layer.
|
Tilemaps are stored as sequences of two-byte structures. The interpretation of those bytes depends on the settings of the layer.
|
||||||
|
|
||||||
### 1BPP Tile Mode
|
### 1-Bit Tile Mode
|
||||||
|
|
||||||
In 1bpp tile mode, with the `T256C` flag cleared, the first byte of the map data is an index into the tile data, and the second byte is split into two nybbles, the low-order nybble holding the foreground colour, and the high-order nybble holding the background colour for that tile.
|
In 1bpp tile mode, with the `T256C` flag cleared, the first byte of the map data is an index into the tile data, and the second byte is split into two nybbles, the low-order nybble holding the foreground colour, and the high-order nybble holding the background colour for that tile.
|
||||||
|
|
||||||
In 1bpp tile mode with the `T256C` flag set, instead the second byte is the foreground colour of the tile, with the background colour being transparent.
|
In 1bpp tile mode with the `T256C` flag set, instead the second byte is the foreground colour of the tile, with the background colour being transparent.
|
||||||
|
|
||||||
### 2/4/8BPP Tile Mode
|
### 2-, 4-, and 8-Bit Tile Modes
|
||||||
|
|
||||||
In other bit depths, tile mode interprets the first byte of the map data is the low-order eight bits of the tile index. The second byte is interpreted as follows:
|
In other bit depths, tile mode interprets the first byte of the map data is the low-order eight bits of the tile index. The second byte is interpreted as follows:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue