Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- NGX - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

   VGApalette      [Type: byte list]   [Range: 0-63]       [Max: 48 bytes]

   Applies to MCGA/VGA/SVGA only.

   If you haven't had your hands on a VGA palette editor before, here's
   an ultra-brief introduction:
     - Any color can be defined as having an amount of (R)ed, (G)reen,
       and (B)lue. A true black is: R=0,G=0,B=0. A bright white is:
       R=63,G=63,B=63
     - The MCGA and the VGA can use six-bit values (i.e. range 0-63
       decimal, 00h-3Fh hex), so any of the 16 text mode colors can be
       defined from a range of 262,144 different colors (64*64*64).


   To see what it is all about, copy the following example to your .ini
   file, and run NGX. This palette will replace DOS's toon town colors
   with darker and softer hues, but it won't disturb the general color
   scheme:

   Example: PaletteChange = enabled            ;Enable palette feature
            VGApalette = 0Ch,0Bh,13h, \        ;R/G/B values for black
                         0Ah,14h,1Dh, \        ;R/G/B -      -   blue
                         15h,21h,1Fh, \        ;R/G/B -      -   green
                         10h,24h,25h,31h,0Dh,1Ah,24h,10h,29h, \   ;Etc.
                         31h,22h,0Ah,3Ch,30h,21h,07h,16h,1Bh, \
                         15h,18h,1Ah,09h,29h,1Dh,1Ch,2Bh,24h, \
                         3Dh,04h,1Dh,37h,04h,33h,3Eh,2Bh,18h, \
                         37h,3Ah,2Dh           ;R/G/B values for white
            ; End of example


   Example: PaletteChange = on
            VGApalette = ,,,0Ch,14h,20h         ;Change blue only

   Here's another example with dusty colors:
   PaletteChange = enabled
   PaletteLock   = enabled
   VGApalette = 0Ch,06h,01h, \
                0Ah,17h,17h,17h,22h,1Eh,08h,21h,1Eh, \
                23h,12h,18h,28h,13h,1Eh,1Eh,28h,20h, \
                30h,34h,23h,02h,10h,10h,07h,15h,18h, \
                12h,1Eh,18h,14h,2Ah,23h,22h,0Fh,15h, \
                25h,0Dh,2Eh,30h,2Dh,1Ch,28h,34h,28h


   Tech note: The byte list will eventually end up in the MCGA/VGA's
              color registers. In the MCGA, the first 16 DACs will be
              used.
              In the VGA, NGX will use the DACs pointed to by whatever
              ega registers are active; you don't need to specify what
              ega registers to use.

See Also: PaletteChange PaletteLock

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