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

Dependents:   Sensitive

Fork of PokittoLib by Jonne Valola

POKITTO_CORE/PALETTES/palCGA.cpp

Committer:
spinal
Date:
2017-10-18
Revision:
15:0bbe8f6fae32
Parent:
0:e8b8f36b4505

File content as of revision 15:0bbe8f6fae32:

#include "PokittoPalettes.h"

const unsigned char paletteCGA[48] = {
0x00,0x00,0x00, //black
0xFF,0xFF,0xFF, //white
0xff,0x00,0xff, //magenta
0x00,0xFF,0xFF, //cyan

0xFF,0xFF,0x00, //yellow
0x00,0xFF,0x00, //green
0x00,0x00,0xFF, //blue
0xFF,0x00,0x00, //red

0x3F,0x3F,0x3F, //dark gray
0x7F,0x7F,0x7F, //light gray
0x7F,0x00,0x7F, //violet (dark magenta)
0x00,0x7F,0x7F, //teal (dark cyan)

0x7F,0x3F,0x00, //brown
0x00,0x7F,0x00, //dark green
0x00,0x00,0x7F, //dark blue
0x7F,0x00,0x00  //dark red
};