ff3:ff3us:doc:asm:fmt:map_tile_sets

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ff3:ff3us:doc:asm:fmt:map_tile_sets [2017/04/08 00:07]
madsiur ↷ Page moved from ff3:ff3us:doc:asm:map_tile_sets to ff3:ff3us:doc:asm:fmt:map_tile_sets
ff3:ff3us:doc:asm:fmt:map_tile_sets [2019/02/12 12:19] (current)
Line 12: Line 12:
 | SNES offset      |  $DE0000     | | SNES offset      |  $DE0000     |
 | Chunk size        compressed  | | Chunk size        compressed  |
 +| Size (decompressed)        $800  |
 | Number of chunks |  $4B         | | Number of chunks |  $4B         |
 | Total size        $1B400      | | Total size        $1B400      |
 +
 +===== Tile Sets Data =====
 +Each tile set is $800 and has a maximum of $100 tile (16x16). Each tile is composed of 4 8x8 subtiles, top-left (1), top-right (2), bottom-left (3) and bottom-right (4). Bytes $400 to $7FF are one byte of data per subtile, starting from all top-left subtiles ($400-$4FF) and following same order as described above. As an example consider tile $F3 of the tile set:
 +
 +| subtile  |  tile set offset  |
 +| top-left  |  $4F3  |
 +| top-right  |  $5F3  |
 +| bottom-left  |  $6F3  |
 +| bottom-right  |  $7F3  |
 +
 +This data byte has the following format:
 +
 +| bit 0  |  ?  |
 +| bit 1  |  ?  |
 +| bits 2-4  |  Palette ID (0 to 7)  |
 +| bit 5  |  Priority one  |
 +| bit 6  |  Mirrored  |
 +| bit 7  |  Inverted  |
  
 ===== Tile Sets ===== ===== Tile Sets =====
  • ff3/ff3us/doc/asm/fmt/map_tile_sets.1491610034.txt.gz
  • Last modified: 5 years ago
  • (external edit)