Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ v10.0 : C library - these functions deal with the hardware environment. the _getvideoconfig http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
These functions deal with the hardware environment.  The  _getvideoconfig
function returns information about the current video mode and the hardware
configuration.  The  _setvideomode function selects a new video mode.

Some video modes support multiple pages of screen memory.  The visual page
(the one displayed on the screen) may be different than the active page (the
one to which objects are being written).

The following functions are defined:

_getactivepage
    get the number of the current active graphics page

_getvideoconfig
    get information about the graphics configuration

_getvisualpage
    get the number of the current visual graphics page

_grstatus
    get the status of the most recently called graphics library function

_setactivepage
    set the active graphics page (the page to which graphics objects are
    drawn)

_settextrows
    set the number of rows of text displayed on the screen

_setvideomode
    select the video mode to be used

_setvideomoderows
    select the video mode and the number of text rows to be used

_setvisualpage
    set the visual graphics page (the page displayed on the screen)

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson