Rasters

From CPCWiki - THE Amstrad CPC encyclopedia!
Revision as of 05:02, 14 October 2009 by Arnoldemu (Talk | contribs)

Jump to: navigation, search

"Raster" is a demo term which refers to the act of modifying the colours while the picture is being drawn by the display (TV or monitor). This is done to display more than the usual Video modes number of colours.

The display draws one line every 64microseconds, with the whole image drawn at a frequency of 50Hz. The CPU (Z80) runs at about 4 MHz. Most instructions are multiples of a microsecond and this makes timing for making rasters easy.

The traditional raster is made by changing the colour for one pen once each line creating a horizontal bar of colour.

But changing the colours can be used to have different areas of the screen in different colours, e.g. for a status panel and a game area.

Links

CPCWiki Links