PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)
Fork of PokittoLib by
POKITTO_CORE/PALETTES/palCGA.cpp@15:0bbe8f6fae32, 2017-10-18 (annotated)
- Committer:
- spinal
- Date:
- Wed Oct 18 14:47:54 2017 +0000
- Revision:
- 15:0bbe8f6fae32
- Parent:
- 0:e8b8f36b4505
direct lcd stuff used by sensitive
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Pokitto | 0:e8b8f36b4505 | 1 | #include "PokittoPalettes.h" |
Pokitto | 0:e8b8f36b4505 | 2 | |
Pokitto | 0:e8b8f36b4505 | 3 | const unsigned char paletteCGA[48] = { |
Pokitto | 0:e8b8f36b4505 | 4 | 0x00,0x00,0x00, //black |
Pokitto | 0:e8b8f36b4505 | 5 | 0xFF,0xFF,0xFF, //white |
Pokitto | 0:e8b8f36b4505 | 6 | 0xff,0x00,0xff, //magenta |
Pokitto | 0:e8b8f36b4505 | 7 | 0x00,0xFF,0xFF, //cyan |
Pokitto | 0:e8b8f36b4505 | 8 | |
Pokitto | 0:e8b8f36b4505 | 9 | 0xFF,0xFF,0x00, //yellow |
Pokitto | 0:e8b8f36b4505 | 10 | 0x00,0xFF,0x00, //green |
Pokitto | 0:e8b8f36b4505 | 11 | 0x00,0x00,0xFF, //blue |
Pokitto | 0:e8b8f36b4505 | 12 | 0xFF,0x00,0x00, //red |
Pokitto | 0:e8b8f36b4505 | 13 | |
Pokitto | 0:e8b8f36b4505 | 14 | 0x3F,0x3F,0x3F, //dark gray |
Pokitto | 0:e8b8f36b4505 | 15 | 0x7F,0x7F,0x7F, //light gray |
Pokitto | 0:e8b8f36b4505 | 16 | 0x7F,0x00,0x7F, //violet (dark magenta) |
Pokitto | 0:e8b8f36b4505 | 17 | 0x00,0x7F,0x7F, //teal (dark cyan) |
Pokitto | 0:e8b8f36b4505 | 18 | |
Pokitto | 0:e8b8f36b4505 | 19 | 0x7F,0x3F,0x00, //brown |
Pokitto | 0:e8b8f36b4505 | 20 | 0x00,0x7F,0x00, //dark green |
Pokitto | 0:e8b8f36b4505 | 21 | 0x00,0x00,0x7F, //dark blue |
Pokitto | 0:e8b8f36b4505 | 22 | 0x7F,0x00,0x00 //dark red |
Pokitto | 0:e8b8f36b4505 | 23 | }; |
Pokitto | 0:e8b8f36b4505 | 24 |