Author Topic: mode 13h default palette  (Read 3037 times)

0 Members and 1 Guest are viewing this topic.

Offline taj

  • Bytes hurt
  • DBF Aficionado
  • ******
  • Posts: 4810
  • Karma: 189
  • Scene there, done that.
    • View Profile
mode 13h default palette
« on: February 13, 2007 »
On a related topic can anyone point me to a page with the default colours listed or give me a formula to match them?

« Last Edit: February 14, 2007 by Jim »
Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: colours in mode 13h
« Reply #1 on: February 13, 2007 »
I might be wrong, but I think the first 16 colours are all the primarys, secondarys and their half-brights.
So

black
red
green
blue
cyan
magenta
yellow
white

black
dark red
dark green
dark blue
dark cyan
dark magenta
dark yellow
grey

then the rest are just whatever is hanging around from anything that's been run before, like bios/windows boot up screens.

This palette is the one I used in my ASCII movie player :-)

Having said that, I've just read they're not necessarily standard across all VGA cards.

edit: This is much more useful
http://answers.google.com/answers/threadview?id=126097

Jim
« Last Edit: February 13, 2007 by Jim »
Challenge Trophies Won: