thanks jinzai for the tips. i now got a good idea of how it should work.
however i still cannot get it to compile. i am for sure missing something, somewhere, i think i have to declare "smileydata" somewhere...
any ideas would be greatly appreciated.
#include "DarkGDK.h"
void DarkGDK ( void )
{
dbSyncOn ( );
dbSyncRate ( 60 );
dbMakeMemblock (1,55500);
memcpy(dbGetMemblockPtr(1),smileydata);
dbMakeImageFromMemblock (1,1);
dbPasteImage (1, 0, 0);
dbPrint (dbCurrentGraphicsCard());
while ( LoopGDK ( ) )
{
dbSync ( );
}
return;
}
unsigned char smileydata[] = {
255, 216, 255, 224, 0, 16, 74, 70,
73, 70, 0, 1, 2, 1, 0, 72,
0, 72, 0, 0, 255, 254, 0, 38,
70, 105, 108, 101, 32, 119, 114, 105,
116, 116, 101, 110, 32, 98, 121, 32,
65, 100, 111, 98, 101, 32, 80, 104,
111, 116, 111, 115, 104, 111, 112, 168,
.......................................
.......................................
40, 3, 255, 217
};