Determining the Current Mode of the Terminal

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

vid_getmode()

The return value is interpreted as follows:

MONOMODE Terminal is monochrome.
COLORMODE Terminal is color.
MMMONOMODE Terminal is a memory mapped monochrome display.
MMCOLORMODE Terminal is a memory mapped color display.


Home Contents Previous Next