Default Tilemap Attribute Register: Difference between revisions
From SpecNext Wiki
Core 2.00.27 changes. |
Core 2.00.27 changes. |
||
| Line 16: | Line 16: | ||
| 1 || Rotate | | 1 || Rotate | ||
|- | |- | ||
| 0 || | | 0 || If in 512-tile-mode: bit 8 of tile-id<br /> | ||
else draw priority: 1 = ULA over tilemap, 0 = tilemap over ULA | |||
|} | |} | ||
Revision as of 07:55, 14 February 2019
| Number | TBRegisterNumber::$6C |
|---|---|
| Readable | TBRegisterReadable::Yes |
| Writable | TBRegisterWritable::Yes |
| Short Description | ShortDesc::Default tile attribute for 8-bit only maps. |
| Bit | Function |
|---|---|
| 7-4 | Palette Offset |
| 3 | X mirror |
| 2 | Y mirror |
| 1 | Rotate |
| 0 | If in 512-tile-mode: bit 8 of tile-id else draw priority: 1 = ULA over tilemap, 0 = tilemap over ULA |
This attribute is used for all tiles if bit 5 of {{#ask: TBRegisterNumber::$6B }} ($6B) is set.
When bit 1 of {{#ask: TBRegisterNumber::$6B }} ($6B) is set, the bit 0 of tile attribute works as ninth bit of tile-id (allowing 512 tiles in total), and the priority of layers is then "ULA over tilemap" as default.