PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers palCGA.cpp Source File

palCGA.cpp

00001 #include "PokittoPalettes.h"
00002 
00003 const unsigned char paletteCGA[48] = {
00004 0x00,0x00,0x00, //black
00005 0xFF,0xFF,0xFF, //white
00006 0xff,0x00,0xff, //magenta
00007 0x00,0xFF,0xFF, //cyan
00008 
00009 0xFF,0xFF,0x00, //yellow
00010 0x00,0xFF,0x00, //green
00011 0x00,0x00,0xFF, //blue
00012 0xFF,0x00,0x00, //red
00013 
00014 0x3F,0x3F,0x3F, //dark gray
00015 0x7F,0x7F,0x7F, //light gray
00016 0x7F,0x00,0x7F, //violet (dark magenta)
00017 0x00,0x7F,0x7F, //teal (dark cyan)
00018 
00019 0x7F,0x3F,0x00, //brown
00020 0x00,0x7F,0x00, //dark green
00021 0x00,0x00,0x7F, //dark blue
00022 0x7F,0x00,0x00  //dark red
00023 };
00024