Determining the Current Video Mode

You can determine the current video mode by calling the video display get mode function, vid_getmode():

vid_getmode();

The return value is interpreted as follows:

BW40 40x25 black and white text mode
BW80 80x25 black and white text mode
CO40 40x25 color text mode
CO80 80x25 color text mode
MONO Monochrome board
4 Graphics Mode (320 x 200 color)
5 Graphics Mode (320 x 200 black and white)
6 Graphics Mode (640 x 200 black and white)
>=8 Graphics Mode


Home Contents Previous Next