PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)
Dependents: YATTT sd_map_test cPong SnowDemo ... more
PokittoLib
Library for programming Pokitto hardware
How to Use
- Import this library to online compiler (see button "import" on the right hand side
- DO NOT import mbed-src anymore, a better version is now included inside PokittoLib
- Change My_settings.h according to your project
- Start coding!
POKITTO_CORE/PALETTES/palZXSpec.cpp@71:531419862202, 2019-12-25 (annotated)
- Committer:
- Pokitto
- Date:
- Wed Dec 25 23:59:52 2019 +0000
- Revision:
- 71:531419862202
- Parent:
- 0:e8b8f36b4505
Changed Mode2 C++ refresh code (graphical errors)
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 paletteZXSpec[48] = { |
Pokitto | 0:e8b8f36b4505 | 4 | 0x00,0x00,0x00, //black |
Pokitto | 0:e8b8f36b4505 | 5 | 0x1C,0x1C,0x1C, // ANOTHER BLACK - POINTLESS. IVE MADE A VERY DARK GREY INSTEAD. |
Pokitto | 0:e8b8f36b4505 | 6 | 0x00,0x00,0xC0, //blue d |
Pokitto | 0:e8b8f36b4505 | 7 | 0x00,0x00,0xFF, //blue l |
Pokitto | 0:e8b8f36b4505 | 8 | |
Pokitto | 0:e8b8f36b4505 | 9 | 0xC0,0x00,0x00, // red d |
Pokitto | 0:e8b8f36b4505 | 10 | 0xFF,0x00,0x00, // red l |
Pokitto | 0:e8b8f36b4505 | 11 | 0xC0,0x00,0xC0, // magenta d |
Pokitto | 0:e8b8f36b4505 | 12 | 0xFF,0x00,0xFF, // magenta l |
Pokitto | 0:e8b8f36b4505 | 13 | |
Pokitto | 0:e8b8f36b4505 | 14 | 0x00,0xC0,0x00, // green d |
Pokitto | 0:e8b8f36b4505 | 15 | 0x00,0xFF,0x00, // green l |
Pokitto | 0:e8b8f36b4505 | 16 | 0x00,0xC0,0xC0, // cyan d |
Pokitto | 0:e8b8f36b4505 | 17 | 0x00,0xFF,0xFF, // cyan l |
Pokitto | 0:e8b8f36b4505 | 18 | |
Pokitto | 0:e8b8f36b4505 | 19 | 0xC0,0xC0,0x00, // yellow d |
Pokitto | 0:e8b8f36b4505 | 20 | 0xFF,0xFF,0x00, // yellow l |
Pokitto | 0:e8b8f36b4505 | 21 | 0xC0,0xC0,0xC0, // grey |
Pokitto | 0:e8b8f36b4505 | 22 | 0xFF,0xFF,0xFF // white |
Pokitto | 0:e8b8f36b4505 | 23 | }; |
Pokitto | 0:e8b8f36b4505 | 24 |