We know the format for animated patterns frames but I didn't see the format for the mappings anywhere but I think I figured it out.
XX XX YY YY AB BB AB BB AB BB AB BB .....
X: 16x16 block where these mappings start, multiplied by 8.
Y: Number of 8x8 tiles to read for these mappings. Starts from 0.
A: Palette line for 8x8 tile, multiplied by 2.
B: 8x8 tile to read. Multiply this value by 0x20 for the VRAM location to read from.
These 8x8 and 16x16 tiles are refered to as if they were part of the main level load block in memory. So, placing a 16x16 block that these mappings are applied to in a 128x128 block will put the animated pattern there.
XX XX YY YY AB BB AB BB AB BB AB BB .....
X: 16x16 block where these mappings start, multiplied by 8.
Y: Number of 8x8 tiles to read for these mappings. Starts from 0.
A: Palette line for 8x8 tile, multiplied by 2.
B: 8x8 tile to read. Multiply this value by 0x20 for the VRAM location to read from.
These 8x8 and 16x16 tiles are refered to as if they were part of the main level load block in memory. So, placing a 16x16 block that these mappings are applied to in a 128x128 block will put the animated pattern there.


00