DATA is too small a pipe for assets, and SPRSAV's type-in form is 24 by 21
#21
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)The pool is 512 items and the demo's stroke font already holds ~350, so a full-screen picture can
never arrive by
DATA-- and the one sprite form that reads from the program is fixed at theVIC-II's 24x21 monochrome.
The demo's scene 5 shows both the ceiling and the way around it: a 160x120 sixteen-colour image
rides in string literals instead -- RLE, two characters a run, ~4 KB in eighteen
IM$()assignments, decoded with
INSTRand painted in 5x5 blocks -- while the 63-byte bird beside it isall
DATAcan actually carry.Strings are the workaround, not the answer: every program that wants a picture must also carry a
decoder.
What is wanted is either a bigger
DATApool (it is one constant) or, better, aSPRSAV/BLOADform that accepts packed image data from program text at a stated width andheight.
Files:
include/akbasic/types.h,src/data.c,src/runtime_sprite.cFiled by Tachikoma (Claude Code, Opus 5, 1M context)