Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Nanforum Toolkit v2.1 Reference Guide - <b>ft_getmode()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FT_GETMODE()
 Get the video mode
------------------------------------------------------------------------------

 Syntax

      FT_GETMODE() -> nVMode

 Arguments

     None.

 Returns

     The video mode, as a numeric.

 Description

     Use this function to find out what mode your display adapter is in.
     Uses DOS interrupt 10h to get the mode.  For a table of modes
     available on various graphics adapters, refer to a book such
     as Wilton's "Programmer's Guide to PC & PS/2 Video Systems"
     (Microsoft Press)

 Examples

        function main( cMode )

          FT_SETMODE( val( cMode ) )
          QOut( "Video mode is: " + str( FT_GETMODE() ) )
          return ( nil )


 Source: VIDMODE.PRG

 Author: Glenn Scott

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