Switching Modes During Run-Time

The video mode can be changed from within a program using:

vid_setmode(vidmode);

where vidmode is any one of the values listed above. This function also can be used to switch between the monochrome board and a graphics adapter if both are installed.

vid_setmode() is useful to allow displays to be switched dynamically. This allows the users to select a video mode.


Home Contents Previous Next