PokittoLib with changes to lcd refresh etc.
Fork of Pokitto by
This is a fork by user @Spinal, and is used in Pokittris for testing. Do not import this to your own program.
Diff: POKITTO_CORE/PALETTES/palCGA.cpp
- Revision:
- 0:e8b8f36b4505
diff -r 000000000000 -r e8b8f36b4505 POKITTO_CORE/PALETTES/palCGA.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/POKITTO_CORE/PALETTES/palCGA.cpp Mon Sep 18 11:47:51 2017 +0000 @@ -0,0 +1,24 @@ +#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 +}; +