Introduction
A .sgx file can be a picture of the SymbOS operating system, listed by the
RECOIL decoder among the picture formats of the Amstrad CPC. The pictures use up to 16
colours.
Structure
The file is a sequence of chunks, each introduced by a marker byte. A simple chunk holds a block of pixels in four colours, and its marker is a value below 64. The marker 64 starts an extended chunk, which can hold 4 or 16 colours and stores sizes as 16-bit numbers. The marker 255 ends a row of chunks and 0 ends the picture. A byte of pixel data holds four pixels in four colours or two in 16 colours.
Not described
Known, not yet covered
- Reference: the fields of the two chunk headers, the bit order of the pixels and the colour table are not yet described.
- Viewer: the site has no viewer for SymbOS graphics.
Links
Software
Reference
- cpcformats.c – the Amstrad CPC picture loaders in the GrafX2 source