Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 5780

programming • spr2bbc problem

$
0
0
spr2bbc
A BASIC program (and C equivalent) for converting RISC OS Sprites to raw files suitable for loading into BBC video memory. The C version is undoubtedly faster, but completely untested. Usage:

spr2bbc <infile> <outfile>

Accepts 1bpp, 2bpp, 4bpp sprites as input; only the first sprite in the spritefile will be converted.
Hi, having a problem with spr2bbc BASIC utility after trying to write a BASIC program with Copilot to complete the same task.

This is the result of using the command from RISC OS ARM BASIC V,

Code:

*spr2bbc DCASTLE DCASTL0Sprite is 64x34 1bppSprite isn't packed into words
There is no documentation but the description from above is all I can find on it. At least the program finds the sprite DCASTLE and reads the size.

Anyone know what this error means exactly? I don't know about "packing Sprites" into words yet.

Statistics: Posted by Square Mezzmer — Mon Feb 02, 2026 5:25 am



Viewing all articles
Browse latest Browse all 5780

Trending Articles