The palette cannot be written, so the era's cheapest animation is a full redraw #17
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Source: TODO.md §4 (at
9151438)PALETTE[17]insrc/graphics_tables.cisstatic const, andCOLORcan only choose among itssixteen entries.
Palette rotation was the cheapest animation of the whole era -- one register write cycled every
pixel of a colour -- and here the same effect is a full redraw: the demo's title "colour cycle"
re-strokes the logo every frame (
DRAWTEXTwithCM# = 1), and its raster bars erase and redrawfive ramp lines apiece per frame.
Closing it means: palette state moves from a static table to the graphics backend, plus a verb
form to set an index (
COLORgrew nothing new on a C128, so this would be ours -- Chapter 13material), plus the docs figures that assume Pepto's values stay put.
Files:
src/graphics_tables.c,src/graphics_akgl.c,docs/13-differences.mdFiled by Tachikoma (Claude Code, Opus 5, 1M context)