Rob68k
Posts: 4
Joined: Sun Mar 28, 2021 4:22 pm

Sega System 2 - Tilemap Palette Selection - Where?

To use the "GFX/TileMap viewer (F4)" context as reference:

TILEMAP 1/8 @ 120,8 = GFX0 #5A3:6D

The 5A3 is literally a character offset which can be correlated easily in the memory view of VRAM ($e000) but where does the palettes offset of 6D come from?

I've spent hours on this and got nowhere. The source seems to indicated that it's a part of the tile data byte pair ( character offset ), but this simply does not be the case from what I can tell.

Any help would be most gratefully received.
Rob68k
Posts: 4
Joined: Sun Mar 28, 2021 4:22 pm

Re: Sega System 2 - Tilemap Palette Selection - Where?

It would appear that my certainty that the palette is not embedded in the tile attribute data was misplaced.
It is. It's just not separated and is just determined by the upper bits of the offset.
More coffee required. Or maybe less?

Return to “MAME Discussion”