Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfvesaset()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfVesaSet()
Set a VESA mode
------------------------------------------------------------------------------
Syntax:

     dfVesaSet( <nMode> ) --> lSet

Parameters:

     <nMode>    Mode to set

Returns:

     <lSet>   If .T. the modality it's available

Description:

     Set a VESA mode

Example:

     #include "dfVesa.ch"
     * ###############################
     FUNCTION main(  )
     * ###############################
     
     @ 0,0 SAY dfVesaSet( DBS_80x60  )
     @ 1,0 SAY MAXROW()
     @ 2,0 SAY MAXCOL()
     INKEY(0)
     
     @ 0,0 SAY dfVesaSet( DBS_132x25 )
     @ 1,0 SAY MAXROW()
     @ 2,0 SAY MAXCOL()
     INKEY(0)
     
     @ 0,0 SAY dfVesaSet( DBS_132x43 )
     @ 1,0 SAY MAXROW()
     @ 2,0 SAY MAXCOL()
     INKEY(0)
     
     @ 0,0 SAY dfVesaSet( DBS_132x50 )
     @ 1,0 SAY MAXROW()
     @ 2,0 SAY MAXCOL()
     INKEY(0)
     
     @ 0,0 SAY dfVesaSet( DBS_132x60 )
     @ 1,0 SAY MAXROW()
     @ 2,0 SAY MAXCOL()
     INKEY(0)
     
     RETURN NIL

See also:

     dfIsVesa()

See Also: dfIsVesa()

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