# Graphics Bitplane Specification The parent Galaxian set has one 4,096-byte graphics region formed by two 2,048-byte ROMs. The first half is pixel bitplane 0 and the second is bitplane 1. A decoded pixel is $p_0 + 2p_1$, producing values 0–3 for lookup within one selected palette group. ## Tiles The 2,048-byte plane holds 256 tile codes. Each code occupies eight consecutive bytes; one byte supplies one 8-pixel row. Bit 7 is the leftmost pixel and bit 0 is the rightmost. For tile code $c$, row $y$, and column $x$: $$ \text{byte offset} = 8c + y,\qquad p_i = (\text{plane}_i[\text{offset}] \mathbin{\gg} (7-x)) \mathbin{\&} 1 $$ ## Sprites The same storage is also interpreted as 64 16×16 sprite codes, each occupying 32 bytes per plane. The four 8×8 quadrants are arranged top-left, top-right, bottom-left, bottom-right. For sprite code $c$, coordinates $(x,y)$, the plane byte offset is: $$ 32c + (y \mathbin{\&} 7) + 16\lfloor y/8\rfloor + 8\lfloor x/8\rfloor $$ The selected byte again uses bit $7-(x \mathbin{\&} 7)$, so each quadrant is read left-to-right. This is a storage interpretation only: rendering position, flips, color group selection, transparency, and sprite priority remain separate transforms.