Difference between revisions of "Rasters"

From CPCWiki - THE Amstrad CPC encyclopedia!
Jump to: navigation, search
(// Well spelling, no native but :-))
Line 1: Line 1:
When programming, the raster is often referred to as the act of modifying the setting of inks between 2 scanlines, in interrupt mode.
+
"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.
  
This is a way 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 time between the display of 2 Scanlines by the CRTC allow the CPU to order the Gate array to modify the setting of inks.
+
The traditional raster is made by changing the colour for one pen once each line creating a horizontal bar of colour.
  
The screen is updated with a frequency of 50Hz...The [[CPU]] ([[Z80]]) runs at about 4 MHz.
+
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.
 
+
So It has enough cycles between 2 scanlines to order this.
+
 
+
You can also use Split raster to "actually" display 2  different screens, sometimes with different Video Modes. This also allows a Graphic heavy [[HUD]] with no interference with [[Scrolling]].
+
  
 
==Links==
 
==Links==

Revision as of 05:02, 14 October 2009

"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