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>dfdacgreen()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfDacGreen()
Reads the Green component from the DAC register
------------------------------------------------------------------------------
Syntax:

     dfDacGreen( <nReg> ) --> nDac

Parameters:

     <nReg>     Register to be read. This can be any number between 0 and
     255, i.e., the legal values for the color palette

Returns:

     <nDac> Green component of the DAC register.

Description:

     Reads the Green component from the DAC register

Example:

     ? dfDacGreen( dfPalette(0) ) // reads green component
                                 // of palette 0

See also:

     dfDacBlue(), dfDacRed(), dfPalette()

See Also: dfDacBlue() dfDacRed() dfPalette()

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