//in source #include "testpicture.h" int main() { for(int i = 0; i < 256; i++) palette_mem[i] = testpicturePal[i]; while(1){} return 0; } //in testpicture.h #ifndef __TESTPICTURE__ #define __TESTPICTURE__ #define testpicturePalLen 512 extern const unsigned short testpicturePal[256]; #define testpictureBitmapLen 38400 extern const unsigned short testpictureBitmap[19200]; #endif // __TESTPICTURE__