Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>set_vgapal()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SET_VGAPAL()
   Sets up the color palette.

   Syntax
         SET_VGAPAL(nNumber,nRed,nGreen,nBlue)

   Arguments
         nNumber     Sets the color element (0 to 255).

         nRed        Amount of red color (0 to 63).

         nGreen      Amount of green color (0 to 63).

         nBlue       Amount of blue color (0 to 63).

   Returns
         SET_VGAPAL(nNumber,@nRed,@nGreen,@nBlue)

   Description
         With the VGA video adapter, you can choose 16 of 256 colors
         available. Each of the 256 colors can be changed with the
         SET_VGAPAL() function. The current colors can be returned by
         passing the color values by reference.

See Also: SET_PAL()

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