3 unsigned char bgtile_gfx[] = {
4 0x31, 0x22, 0x31, 0x32, 0x22, 0x31, 0x23, 0x21, 0x13, 0x13, 0x31, 0x32,
5 0x32, 0x31, 0x23, 0x12, 0x21, 0x32, 0x13, 0x23, 0x23, 0x13, 0x31, 0x31,
6 0x12, 0x32, 0x13, 0x22, 0x23, 0x13, 0x22, 0x13
10 unsigned char bgtile_pal[] = {
11 0x65, 0x06, 0x67, 0x06, 0x79, 0x07, 0x8c, 0x08, 0xff, 0x0f, 0xff, 0x0f,
12 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f,
13 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f
18 unsigned char lol[5] = { 0xAA, 0x2, 0x3, 0x4, 0x5};
19 unsigned char lol2[5] = { 0x1, 0x2, 0x3, 0x4, 0x5};
20 unsigned char lol3[5] = { 0x1, 0x2, 0x3, 0x4, 0x5};
21 #define PALETTE_T (volatile unsigned *)0xFE00
22 #define SPRITE_T (volatile unsigned *)0x4000
25 static unsigned char blaat[100];
27 void outport(unsigned char portnr, unsigned char val)
33 :"r"(val), "r"(portnr)
55 unsigned char * ptr = PALETTE_T;
56 for (int i = 0; i < sizeof(bgtile_pal); ++i) {
57 *ptr++ = bgtile_pal[i];
61 for (int i = 0; i < sizeof(bgtile_gfx); ++i) {
62 *ptr++ = bgtile_gfx[i];