- Not really much going on. Trying to decipher Mario Kart's tile writing data routine. Doesn't seem too complicated but I'm missing some data currently I think.
If I'm doing it right, here's what I have in general for bytes:
$EB - Start loading data (4 bytes in total) - Longest write. Supports up to 127 tile writes
$41-5F - Repeats last write (3 bytes in total)
$C1-DF - Sets X/Y coordinates of next write?
EB starts writing the most tiles that can be written (Unless I'm missing another byte above this). So EB xx1 xx2 xx3 would be the length.
xx1 = How many times to write. Goes up per 2 bytes. 01-FF (1 to 127 tiles)
xx2 = What tile to write. Values 00-FF
xx3 = What palette the tiles use
$41-5F is the quickest way to write a single tile. (1 to 16 tiles)
$C1-DF - Still experimenting but it may bump how many tiles ahead to start writing. (1 to 16 tiles)