Fordi / P2PPU

A NES-like Picture Processing Unit for the Pixel 2.0 by Rabid Prototypes
https://www.kickstarter.com/projects/rabidprototypes/pixel-20-the-arduino-compatible-smart-display
0 stars 0 forks source link

[Hands-off] Steal bits from tile references for vertical/horizontal flip #9

Closed Fordi closed 7 years ago

Fordi commented 7 years ago

Nice cheap trick in the NES PPU that I entirely overlooked in the spike. The bit-theft I have in mind will reduce the maximum addressable tiles to 1023 (-1 = no tile), and palettes to 15 (-1 = no palette) which I'm OK with.

Tile reference layout will then be:

vhpppptttttttttt

v = flip vertically
h = flip horizontally
p = palette index
t = tile index