The video mode can be changed from within a program using:
|
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.