Introduction
A .spu file is a picture of Spectrum 512, a drawing program for the Atari
ST. The format gives each scan line its own set of three palettes, 48 colours in all, so
that a picture can show far more colours than one palette holds.
The same pictures are also stored packed, as .spc (compressed) and
.sps (smooshed) files.
Structure
An uncompressed file is 51,104 bytes long and its 16-bit words are big-endian. It holds 80 words for the first scan line, which the program cannot show and which should be zero, then 15,920 words of screen memory for scan lines 1 to 199, then 9,552 words of palettes, three for each of those lines.
A compressed or smooshed file starts with the word $5350 (the letters
SP), a reserved zero word, and two 32-bit lengths, one for the packed
picture data and one for the packed palette data. Both blocks follow.
Not described
Known, not yet covered
- Reference: the packing schemes of the compressed and smooshed forms, and the timing that decides which palette entry colours a pixel, are not yet described.
- Viewer: the site has no viewer for Spectrum 512 pictures.
Also used for
- Galactic spectrum – Binary spectroscopy data from Galactic and Thermo GRAMS.
- R6RS Scheme program – An R6RS top-level program: an import form, then the code that runs.
- SNES SPC700 Sound File – Super Nintendo music as a snapshot of the sound unit: 64 KB of RAM, the DSP registers and a tag.
Links
Software
- Spectrum 512 – the Atari ST drawing program that defines the format
- RECOIL – decoder for the picture formats of retro computers, here its format list
Reference
- ST picture formats – David Baggett’s collection of Atari ST picture layouts, as printed in ST News
- Spectrum 512 – MultimediaWiki’s notes on the three file types and their packing