Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Fast Library For Clipper 3.02 Reference - <b>vesamode()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    VESAMode()

         Activates a VESA video mode

    Syntax:

         VESAMode( [nMode] ) -> nOldMode

         nMode : The VESA video mode to make active from the table:

           VESA 1.0

              0-255   ->   OEM video modes, CGA, EGA, VGA...
                256   ->   640 x  400 x 256 colors Graph
                257   ->   640 x  480 x 256 colors Graph
                258   ->   800 x  600 x  16 colors Graph
                259   ->   800 x  600 x 256 colors Graph
                260   ->  1024 x  768 x  16 colors Graph
                261   ->  1024 x  768 x 256 colors Graph
                262   ->  1280 x 1024 x  16 colors Graph
                263   ->  1280 x 1024 x 256 colors Graph
                264   ->    80 x   60 x  16 colors Text
                265   ->   132 x   25 x  16 colors Text
                266   ->   132 x   43 x  16 colors Text
                267   ->   132 x   50 x  16 colors Text
                268   ->   132 x   60 x  16 colors Text

           VESA 1.2

                269   ->   320 x  200 x 32k colors Graph
                270   ->   320 x  200 x 64k colors Graph
                271   ->   320 x  200 x 16M colors Graph
                272   ->   640 x  480 x 32k colors Graph
                273   ->   640 x  480 x 64k colors Graph
                274   ->   640 x  480 x 16M colors Graph
                275   ->   800 x  600 x 32k colors Graph
                276   ->   800 x  600 x 64k colors Graph
                277   ->   800 x  600 x 16M colors Graph
                278   ->  1024 x  768 x 32k colors Graph
                279   ->  1024 x  768 x 64k colors Graph
                280   ->  1024 x  768 x 16M colors Graph
                281   ->  1280 x 1024 x 32k colors Graph
                282   ->  1280 x 1024 x 64k colors Graph
                283   ->  1280 x 1024 x 16M colors Graph

    Description:

         It activates a video mode via VESA driver. The advantage of using
         this driver is that you can forget about programming different SVGA
         cards as the VESA driver will make them all behave in the same way.

         It already exists in most BBS the driver < Universal VESA > that
         can be installed over a great number of chip sets. Nevertheless,
         It is recommended to use the specific VESA drivers for each card
         as these ones are more optimized.

    Return:

         The last video mode.

    Example:

         ? VESAMode( 257 )  // activo mi SVGA a 640x480x256 colores

See Also: IsVESA() VESAOEM() VESAVer()

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