Video display modes: Difference between revisions

From Rosetta Code
Content added Content deleted
m (wiki syntax fixes)
m (more data)
Line 6: Line 6:
The Amstrad CPC464 supports three video modes:
The Amstrad CPC464 supports three video modes:


* Mode 0 - Graphics 160x200 (16 colours)
* Mode 0 - Graphics: 160x200 Text: 20x? Colours: 16
* Mode 1 - Graphics 320x200 (4 colours)
* Mode 1 - Graphics: 320x200 Text: 40x? Colours: 4
* Mode 2 - Graphics 640x200 (2 colours)
* Mode 2 - Graphics: 640x200 Text: 80x? Colours: 2


Note that text can be displayed using conventional means in all display modes.
Note that text can be displayed using conventional means in all display modes.

Revision as of 21:55, 6 June 2011

Video display modes is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.

The task is to demonstrate how to switch video display modes within the language. A brief description of the supported video modes would be useful.

Locomotive Basic

The Amstrad CPC464 supports three video modes:

  • Mode 0 - Graphics: 160x200 Text: 20x? Colours: 16
  • Mode 1 - Graphics: 320x200 Text: 40x? Colours: 4
  • Mode 2 - Graphics: 640x200 Text: 80x? Colours: 2

Note that text can be displayed using conventional means in all display modes.

<lang basic>10 MODE 0: REM switch to mode 0</lang>