• Welcome to Dark Bit Factory & Gravity.
 

mode 13h default palette

Started by taj, February 13, 2007

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

taj

On a related topic can anyone point me to a page with the default colours listed or give me a formula to match them?

Challenge Trophies Won:

Jim

#1
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
Challenge Trophies Won: