Initializing the System for a Specific Video Mode

You can ensure that your application is running in a specified video mode by specifically setting the video mode before Vermont Views is initialized. You do this by calling the video display set mode function, vid_setmode():

void vid_setmode(vidmode)

int vidmode;        /* Video mode number to switch to        */

For the video mode, specify one of the following:

BW40 For 40x25 black and white text mode
BW80 For 80x25 black and white text mode
CO40 For 40x25 color text mode
CO80 For 80x25 color text mode
MONO For a monochrome board

Caution: Do not specify a graphics mode. Vermont Views does not work in any graphics mode unless you are using the Vermont Views GraphEx product.


Home Contents Previous Next