Skip to main content

Module fb

Module fb 

Source
Expand description

The 128x128 indexed-color framebuffer and software drawing primitives.

Everything Pixel8 puts on screen — running carts, the console, every editor — is drawn through this one software rasterizer into a buffer of palette indices. The GPU’s only job is to scale the result up with nearest-neighbor filtering.

Structs§

Framebuffer
The virtual screen: one byte per pixel, each a palette index in 0..16.

Constants§

HEIGHT
Virtual screen height in pixels.
WIDTH
Virtual screen width in pixels.