PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)
Diff: POKITTO_CORE/PokittoCore.cpp
- Revision:
- 13:680e1a8cdd8b
- Parent:
- 6:72f87b7c7400
- Child:
- 17:10609a82d462
diff -r 162abc242b3a -r 680e1a8cdd8b POKITTO_CORE/PokittoCore.cpp --- a/POKITTO_CORE/PokittoCore.cpp Wed Oct 18 20:20:09 2017 +0000 +++ b/POKITTO_CORE/PokittoCore.cpp Thu Oct 19 09:54:48 2017 +0000 @@ -218,7 +218,12 @@ #else uint32_t* bootinfo; bootinfo = (uint32_t*)0x3FE04; - if (*bootinfo != 0xB007AB1E) display.println("NO LOADER CONNECTED!"); + if (*bootinfo != 0xB007AB1E) { + bootinfo = (uint32_t*)0x3F004; + if (*bootinfo != 0xB007AB1E) { + display.println("NO LOADER CONNECTED!"); + } else start_application(*(bootinfo+2)); //never returns + } else start_application(*(bootinfo+2)); //never returns //display.println((unsigned int)(*(bootinfo+2)),16); #endif // POK_SIM