Difference between revisions of "Video modes"
Line 1: | Line 1: | ||
+ | ''Contains stuff from Wikipedia.'' | ||
+ | |||
+ | |||
The standard [[video modes]] or '''Screen Modes'''. | The standard [[video modes]] or '''Screen Modes'''. | ||
Line 10: | Line 13: | ||
The Video modes are known to display pixels with different sizes. | The Video modes are known to display pixels with different sizes. | ||
− | Basically, the Amstrad CPC Video work like a CGA video card from a PC. | + | Basically, the Amstrad CPC Video work like a CGA video card from a PC. But extra features like a 16 colours mode exist. |
− | + | ||
+ | ==Colours== | ||
+ | |||
+ | |||
+ | *'''3-level RGB''' | ||
+ | |||
+ | The Amstrad CPC (old) palette features 27 colours, despite the fact that the Video system ([[Gate Array]] and [[CRTC]]) could actually handle 32 colours. | ||
+ | |||
+ | Because this is a 3-level RGB custom palette. | ||
+ | |||
+ | This palette is used by the [[CPC|Amstrad CPC]] old series only and is not found in any other computers (but clones of course). | ||
+ | |||
+ | :{| style="border-style: none" border="0" cellpadding="0" | ||
+ | |- | ||
+ | || http://upload.wikimedia.org/wikipedia/commons/b/b0/AmstradCPC_palette_color_test_chart.png | ||
+ | || http://upload.wikimedia.org/wikipedia/commons/a/a1/AmstradCPC_palette.png | ||
+ | |} | ||
+ | |||
+ | The 3-level (not '''bits''') RGB uses three level for every red, green and blue color components, resulting in a 3<sup>3</sup> = 27 colours palette. | ||
+ | |||
+ | |||
+ | * '''12-bit RGB''' | ||
+ | |||
+ | Used by the Amstrad Plus series. | ||
+ | |||
+ | It's like the good old Amiga 500 palette. | ||
+ | |||
+ | :{| style="border-style: none" border="0" cellpadding="0" | ||
+ | |- | ||
+ | || http://upload.wikimedia.org/wikipedia/en/d/d7/RGB_12bits_palette_color_test_chart.png | ||
+ | || http://upload.wikimedia.org/wikipedia/en/4/47/RGB_12bits_palette.png | ||
+ | |} | ||
+ | |||
+ | Systems with a 12-bit RGB palette use 4 bits (16 values) for each of the red, green, and blue color components. This results in a 16<sup>3</sup> = 4096 colours palette. | ||
==Mode 0 graphics== | ==Mode 0 graphics== | ||
Mode 0 graphics are blockier thanks to the "2x1" ratio. | Mode 0 graphics are blockier thanks to the "2x1" ratio. | ||
+ | |||
+ | http://upload.wikimedia.org/wikipedia/commons/3/3b/Screen_color_test_AmstradCPC_16colors.png | ||
+ | Courtesy from Wikipedia. | ||
Yet the good amount of colours allows to use AntiAliasing technics to soften the shapes. | Yet the good amount of colours allows to use AntiAliasing technics to soften the shapes. | ||
− | It is the mode that made CPC a Colour Personnal computer. | + | It is the mode that made CPC a '''Colour''' Personnal computer. |
==Mode 1 graphics== | ==Mode 1 graphics== | ||
The pixels are square, but the only 4 colours a bit... few. | The pixels are square, but the only 4 colours a bit... few. | ||
+ | |||
+ | http://upload.wikimedia.org/wikipedia/commons/3/3b/Screen_color_test_AmstradCPC_4colors.png | ||
+ | Courtesy from Wikipedia. | ||
Yet a massive amount of horizontal "split rasters" allows to multiply the number of colours displayed on the screen. | Yet a massive amount of horizontal "split rasters" allows to multiply the number of colours displayed on the screen. | ||
Line 35: | Line 77: | ||
The pixels are 1x2, extremly slim. | The pixels are 1x2, extremly slim. | ||
+ | |||
+ | http://upload.wikimedia.org/wikipedia/commons/4/48/Screen_color_test_AmstradCPC_2colors.png | ||
+ | Courtesy from Wikipedia. | ||
This mode is difficult to use in a coloured way. | This mode is difficult to use in a coloured way. | ||
Line 69: | Line 114: | ||
==External Links== | ==External Links== | ||
− | [www.en.wikipedia.org/wiki/List_of_8-bit_computer_hardware_palettes Wikipedia's pageon the different 8 Bit systems Hardware Palettes and Modes] including amstrad CPC of course... | + | [http://www.en.wikipedia.org/wiki/List_of_8-bit_computer_hardware_palettes Wikipedia's pageon the different 8 Bit systems Hardware Palettes and Modes] including amstrad CPC of course... |
+ | |||
+ | [http://en.wikipedia.org/wiki/List_of_monochrome_and_RGB_palettes#18-bit_RGB Wikipedia's page on RGB palette] including Amstrad CPC specific one | ||
[http://sylvestre.grimware.org/cpc/ Les Sucres en Morceaux] the French site from supersly, shows many exemples and technics to use the different Video mode of the amstrad CPC. | [http://sylvestre.grimware.org/cpc/ Les Sucres en Morceaux] the French site from supersly, shows many exemples and technics to use the different Video mode of the amstrad CPC. | ||
[[Category:Graphic]][[Category:Programming]] | [[Category:Graphic]][[Category:Programming]] |
Revision as of 13:22, 23 October 2009
Contains stuff from Wikipedia.
The standard video modes or Screen Modes.
Those are :
- Mode 0: 160×200 pixels with 16 colors (4 bpp)
- Mode 1: 320×200 pixels with 4 colors (2 bpp)
- Mode 2: 640×200 pixels with 2 colors (1 bpp)
- Mode 3: 160x200 pixels with 4 colors (2bpp) (this is not an official mode, but rather a side-effect of the hardware)
The Video modes are known to display pixels with different sizes.
Basically, the Amstrad CPC Video work like a CGA video card from a PC. But extra features like a 16 colours mode exist.
Contents
Colours
- 3-level RGB
The Amstrad CPC (old) palette features 27 colours, despite the fact that the Video system (Gate Array and CRTC) could actually handle 32 colours.
Because this is a 3-level RGB custom palette.
This palette is used by the Amstrad CPC old series only and is not found in any other computers (but clones of course).
The 3-level (not bits) RGB uses three level for every red, green and blue color components, resulting in a 33 = 27 colours palette.
- 12-bit RGB
Used by the Amstrad Plus series.
It's like the good old Amiga 500 palette.
Systems with a 12-bit RGB palette use 4 bits (16 values) for each of the red, green, and blue color components. This results in a 163 = 4096 colours palette.
Mode 0 graphics
Mode 0 graphics are blockier thanks to the "2x1" ratio.
Courtesy from Wikipedia.
Yet the good amount of colours allows to use AntiAliasing technics to soften the shapes.
It is the mode that made CPC a Colour Personnal computer.
Mode 1 graphics
The pixels are square, but the only 4 colours a bit... few.
Courtesy from Wikipedia.
Yet a massive amount of horizontal "split rasters" allows to multiply the number of colours displayed on the screen.
It's like using the colour attribute specificity (as on ZX Spectrum) but with horizontal limitations.
Basically a CGA standard PC video display.
Mode 2 graphics
The pixels are 1x2, extremly slim.
Courtesy from Wikipedia.
This mode is difficult to use in a coloured way.
Better used as a Text Mode, yet it can be included in a splitted screen (games).
Because of this Mode, the Amstrad CPC was perhaps one of the 8 bit computer able to display the highest screen resolution in Full Screen (the so called "overscan")...
Border
The border allows 1 another additionnal colour to be displayed on the screen with no tricks.
Amstrad Plus
The Amstrad Plus display the same modes, but 15 more colours can naturally be displayed thanks to the Hardwired Sprites.
This means 32 colours per screen with no tricks (including Border).
Also it is worth noting that the resolution of those Sprites (16x16 pixels) can be displayed through "magnification".
The basic x1/x1 pixel is like a Mode2 Pixel (a x=1 and y=2 ratio...or X= 0.5 and Y=1).
This can be multiplied by x2 or x4 in both dimensions (X and Y).
A mode 1 like pixel must then be a x2/x1 pixel. A mode 0 like pixel x4/x1.
Related pages
External Links
Wikipedia's pageon the different 8 Bit systems Hardware Palettes and Modes including amstrad CPC of course...
Wikipedia's page on RGB palette including Amstrad CPC specific one
Les Sucres en Morceaux the French site from supersly, shows many exemples and technics to use the different Video mode of the amstrad CPC.