Register - Graphics Mode

From NerdConsole
Jump to navigationJump to search

Setting a mode value into the Graphics Modes register is how graphics modes are switched. All graphics mode changes are, by design, destructive to almost all data in the PPU. This is because most modes use different layouts for tiles and different arrangements of palette data. It was decided that keeping around data that is misaligned is worse than wiping it out.

Bit 7 6 5 4 3 2 1 0
$02FF G G G G G G G G

Key

  • G - Graphics Mode [0-255]

This register is a part of the Control Page.