![]() | It has been suggested that this article should be split into articles titled ZX Spectrum basic graphics mode and ZX Spectrum non-basic graphics modes. (discuss) (February 2024) |
![]() | This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)
|
The original ZX Spectrum computer produces a one bit per pixel, bitmapped colour graphics video output. A composite video signal is generated through an RF modulator, and was designed for use with contemporary 1980s television sets.
The image size of the framebuffer is 256x192 pixels, with a palette of 15 non-modifiable colours, where the entire colour palette is extremely saturated. The resolution of the colour output is 64 times lower than the resolution of the pixel bitmap.[1][2] The extremely low colour resolution was used to conserve memory, totaling just 768 bytes for colour attributes. Colour is stored separate from the pixel bitmap, as a 32x24 cell grid, using one byte per each of the character cells. One character cell is composed of 8x8 pixels. In practice, this means any character cell can only use two selected colours for colouring the contained 64 pixels.[3]
Since the machine was designed for usage with a standard television set, the 256x192 pixel area is surrounded by a wide border that fills up the remaining space of the standard 384x288 low-resolution PAL TV visible screen area. Usually, the border area assumes a single colour, but using software tricks it is possible to display some low resolution graphics there.[4]
The ZX Spectrum lacked dedicated hardware for scrolling and sprites, or a dedicated hardware blitter. To facilitate the display of colour graphics, the original ZX Spectrum employs 16 KiB of discrete graphics RAM. The latency of the graphics RAM is 150 ns; the peak bandwidth is 2.1875 MB/s (calculated as 224x5/8 bytes per 64 μs).[5]