/* TODO: random till hålen, hålen, adv.pics, banor, 1 player mode, variabel hastighet, variabel svängradie, sleep mellan spelen*/ /************************************************************************* test.c ------ Detta ar huvudprogrammet som ar skrivet i ANSI C. Exekveringen av hela programpaketet borjar i pmain.68k (lage __main). exp4() anropas fran assemblyprogrammet exp4.68k vid avbrott. _avben() anropar avben.68k vilket tillater avbrott fran PI/T. ****************************************************************************/ /* Display instruktioner */ #define DISP_START 0x3f #define DISP_RESET_Y 0xB8 #define DISP_RESET_X 0x40 #define FIXED_DECIMALS 4 #define ROTATE_MOD 64 #define DELAY_MAX 64000 #define DELAY_MOVIE 64000 #define DELAY_MED 8000 #define DELAY_MIN 160 #define DELAY_MENU 16000 #define SPEED 12000 #define RANDOM_SIZE (14*7) #define RANDOM_MIN 30 #define RANDOM_MUL 2 #define HOLE_LENGTH 5 #define HOLE_FIRST 59 #define INTRO #option sep_on class pelle unsigned short int random[] = { 5, 9, 2, 6, 9, 1, 6, 1, 5, 8, 2, 7, 2, 9, 7, 9, 9, 1,10, 0, 0, 2, 7, 1, 2, 7, 9, 2, 5, 3, 1, 9, 9, 9, 8, 7,10, 2, 9, 6, 1, 1, 5, 2, 1, 7, 8, 3, 6, 3, 3, 4, 7, 2, 2, 3, 4, 6, 1, 7, 5, 3, 9, 9, 4, 1, 5, 6, 1, 5, 1, 6, 2, 1, 2, 3, 3, 1, 5, 5, 9, 3, 4, 1, 5, 4, 6, 9, 4, 5, 4,10, 8, 3, 1, 1, 0,10 }; short int x_table[] = { 127, 126, 124, 121, 117, 111, 105, 97, 88, 79, 68, 57, 46, 34, 21, 9, -4, -17, -29, -42, -54, -65, -76, -85, -95, -103, -110, -116, -121, -124, -127, -128, -128, -126, -124, -120, -115, -109, -101, -93, -84, -74, -63, -52, -40, -27, -15, -2, 11, 23, 36, 48, 59, 70, 80, 90, 98, 106, 112, 118, 122, 125, 127 }; short int y_table[] = { 0, 12, 25, 37, 49, 61, 71, 82, 91, 99, 107, 113, 118, 122, 125, 127, 127, 126, 124, 120, 115, 110, 103, 95, 86, 76, 65, 54, 42, 30, 17, 5, -8, -21, -33, -45, -57, -68, -79, -88, -97, -105, -112, -117, -122, -125, -127, -128, -128, -126, -123, -119, -113, -107, -99, -90, -81, -71, -60, -48, -36, -24, -11 }; #ifdef INTRO short int intro0[] = { 0x80,0x08, 0xff,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xf8,0xf8,0xf8, 0x38,0x38,0x38,0x38,0x78,0xf8,0xf0,0xf0,0xc0,0x00,0x00,0x30,0x78,0x78, 0x78,0x30,0x00,0x00,0x00,0xf0,0xf0,0xf0,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xf8,0xf8, 0xf8,0xf8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff, 0xff,0xff,0x0e,0x0e,0x0e,0x0e,0x9f,0xff,0xff,0xfb,0xf1,0x00,0x00,0x00, 0xff,0xff,0xff,0x00,0x00,0x0f,0x0f,0xff,0xff,0xff,0x8f,0x8f,0x8f,0x00, 0x00,0xfc,0xfe,0xff,0xff,0x0e,0x0e,0x0e,0xff,0xff,0xfe,0xfe,0x0e,0x0e, 0x0f,0xff,0xff,0xfe,0xfc,0x00,0x00,0xf8,0xfc,0xfe,0xdf,0x8f,0x8f,0x8f, 0x8e,0xfe,0xff,0xfe,0x00,0x00,0x00,0x1c,0x3e,0xff,0xe7,0xc6,0x00,0x00, 0xff,0xff,0xff,0xff,0xcc,0xce,0xcf,0xcf,0xff,0xff,0x7e,0x3c,0x00,0x00, 0xf8,0xfc,0xfe,0xf7,0xb7,0x37,0x37,0x37,0x3e,0x3e,0x3c,0x00,0x00,0x00, 0xff,0xff,0xff,0x1c,0x0e,0x0e,0x0f,0x1f,0xff,0xfe,0xfe,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x03,0x01,0x00, 0x00,0x00,0x07,0x07,0x07,0x00,0x00,0x00,0x00,0x03,0x07,0x07,0x07,0x07, 0x03,0x00,0x00,0x07,0x07,0x07,0x07,0x00,0x00,0x00,0x07,0x07,0x07,0x07, 0x00,0x00,0x00,0x07,0x07,0x07,0x07,0x00,0x00,0x00,0x01,0x03,0x07,0x07, 0x07,0x03,0x01,0x07,0x07,0x07,0x00,0x00,0x03,0x07,0x07,0x03,0x03,0x01, 0x00,0x00,0x07,0x07,0x07,0x07,0x00,0x00,0x00,0x01,0x07,0x07,0x06,0x00, 0x00,0x00,0x00,0x01,0x03,0x03,0x07,0x07,0x07,0x07,0x07,0x07,0x02,0x00, 0x00,0x00,0x07,0x07,0x07,0x00,0x00,0x00,0x00,0x00,0x07,0x07,0x07,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0xf0,0xf0,0xf0,0x70,0x70,0x70,0x70,0xf0,0xf0,0xe0,0xe0,0x80,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0xe0,0xe0,0x00, 0x00,0x00,0x00,0x00,0x60,0xf0,0xf0,0xf0,0x60,0x00,0x00,0xf0,0xf0,0xf0, 0xf0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0xff,0xff,0xff,0x1c,0x1c,0x1c,0x1c,0x3e,0xff,0xff,0xf7, 0xe3,0x00,0x00,0xf0,0xf8,0xfc,0xee,0x6e,0x6e,0x6e,0x6e,0x7c,0x7c,0x78, 0x00,0x00,0x1c,0xfc,0xfe,0xfe,0x1c,0x1c,0x1e,0x00,0x1e,0x1e,0xff,0xff, 0xff,0x1e,0x1e,0x1e,0x00,0x00,0x00,0xfe,0xfe,0xfe,0x00,0x00,0x00,0xff, 0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x0f,0x0f,0x0f,0x0e,0x0e,0x0e,0x0e,0x0f,0x0f, 0x0f,0x07,0x03,0x00,0x00,0x01,0x03,0x07,0x07,0x0f,0x0e,0x0e,0x0e,0x0e, 0x0e,0x04,0x00,0x00,0x00,0x0f,0x0f,0x0f,0x00,0x00,0x00,0x00,0x00,0x00, 0x07,0x0f,0x0f,0x0f,0x0f,0x07,0x00,0x00,0x00,0x0f,0x0f,0x0f,0x00,0x00, 0x00,0x0f,0x0f,0x0f,0x0f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff, 0xff,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0xff }; short int intro1[] = { 0x3f,0x05, 0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x07,0x07,0x07,0x07, 0x07,0x07,0x07,0x07,0x07,0x03,0x01,0x00,0x00,0x00,0x07,0x07,0x07,0x00, 0x00,0x00,0x00,0x03,0x07,0x07,0x07,0x07,0x03,0x00,0x00,0x07,0x07,0x07, 0x07,0x00,0x00,0x00,0x07,0x07,0x07,0x07,0x00,0x00,0x00,0x07,0x07,0x07, 0x07,0x00,0x00,0x00,0x01,0x03,0x07,0xff,0x20,0x20,0x20,0x20,0x20,0x20, 0x60,0x40,0xc0,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xff,0x87,0x85,0x87,0xc0,0x40,0xe3,0x63,0x20,0x30,0x1f,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x03,0x0e,0x18,0x1f,0x01, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xff,0x9c,0x98,0x90,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80 }; short int intro2[] = { 0x3f,0x05, 0xff,0x00,0x80,0x80,0x80,0x80,0x80,0x00,0x00,0x07,0x07,0x07,0x07,0x07, 0x07,0x07,0x07,0x07,0x07,0x03,0x01,0x00,0x00,0x00,0x07,0x07,0x07,0x00, 0x00,0x00,0x00,0x03,0x07,0x07,0x07,0x07,0x03,0x00,0x00,0x07,0x07,0x07, 0x07,0x00,0x00,0x00,0x07,0x07,0x07,0x07,0x00,0x00,0x00,0x07,0x07,0x07, 0x07,0x00,0x00,0x00,0x01,0x03,0x07,0xff,0xfe,0x83,0xc0,0x78,0x78,0x43, 0x7e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x60,0x40,0xc0,0x80, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xff,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x87,0x85,0x87, 0xc0,0x40,0xe3,0x63,0x20,0x30,0x1f,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x0c,0x1c,0x34,0x66,0xc2,0x8f, 0x99,0x31,0x3f,0x01,0x00,0x03,0x0e,0x18,0x1f,0x01,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xff,0xc0,0xc0,0xc0,0xe0,0xa0,0xa0,0xa1,0xb1,0x93,0x96,0x9c,0x98,0x90, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80 }; short int intro3[] = { 0x3f,0x05, 0xff,0x00,0x00,0x80,0x80,0x80,0x80,0x80,0x80,0x07,0x07,0x07,0x87,0x87, 0x87,0x87,0x87,0x07,0x07,0x03,0x01,0x00,0x00,0x00,0x07,0x07,0x07,0x00, 0x00,0x00,0x00,0x03,0x07,0x07,0x07,0x07,0x03,0x00,0x00,0x07,0x07,0x07, 0x07,0x00,0x00,0x00,0x07,0x07,0x07,0x07,0x00,0x00,0x00,0x07,0x07,0x07, 0x07,0x00,0x00,0x00,0x01,0x03,0x07,0xff,0x00,0xfe,0x03,0x00,0xe0,0xf0, 0xf0,0xe1,0x07,0xfc,0xfe,0x83,0xc0,0x78,0x78,0x43,0x7e,0x20,0x20,0x20, 0x20,0x20,0x20,0x20,0x20,0x20,0x60,0x40,0xc0,0x80,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xff,0x10,0x1f,0x08,0x08,0x0f,0x07,0x07,0x03,0x03,0x01,0x01,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x87,0x85,0x87,0xc0,0x40,0xe3,0x63, 0x20,0x30,0x1f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x0c,0x1c,0x34,0x66,0xc2,0x8f,0x99,0x31,0x3f,0x01, 0x00,0x03,0x0e,0x18,0x1f,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xff,0x8c,0x98,0x90,0xb0,0xa0,0xe0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0, 0xe0,0xa0,0xa0,0xa1,0xb1,0x93,0x96,0x9c,0x98,0x90,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80 }; short int intro4[] = { 0x3f,0x05, 0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x07,0x07,0x07,0x87, 0x87,0x87,0x87,0x87,0x87,0x03,0x01,0x00,0x80,0x80,0x87,0x87,0x87,0x00, 0x00,0x00,0x00,0x03,0x07,0x07,0x07,0x07,0x03,0x00,0x00,0x07,0x07,0x07, 0x07,0x00,0x00,0x00,0x07,0x07,0x07,0x07,0x00,0x00,0x00,0x07,0x07,0x07, 0x07,0x00,0x00,0x00,0x01,0x03,0x07,0xff,0xfe,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0xfe,0x03,0x00,0xe0,0xf0,0xf0,0xe1,0x07,0xfc, 0xfe,0x83,0xc0,0x78,0x78,0x43,0x7e,0x20,0x20,0x20,0x20,0x20,0x20,0x20, 0x20,0x20,0x60,0x40,0xc0,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xc0,0x60,0x30,0x10,0x1f,0x08, 0x08,0x0f,0x07,0x07,0x03,0x03,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x80,0x80,0x87,0x85,0x87,0xc0,0x40,0xe3,0x63,0x20,0x30,0x1f,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x83,0x81,0x81,0xc1,0x41,0xc1, 0x81,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x0c,0x1c,0x34,0x66,0xc2,0x8f,0x99,0x31,0x3f,0x01,0x00,0x03,0x0e,0x18, 0x1f,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xff,0x81,0x80,0x80,0x80,0x80,0x80,0x80,0x81,0x82,0x84,0x8c,0x98,0x90, 0xb0,0xa0,0xe0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xe0,0xa0,0xa0,0xa1, 0xb1,0x93,0x96,0x9c,0x98,0x90,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80 }; short int intro5[] = { 0x3f,0x05, 0xff,0x30,0x00,0x20,0x60,0x40,0x40,0xc0,0x80,0x87,0x07,0x07,0x07,0x07, 0x07,0x07,0x07,0x07,0x07,0x03,0x01,0x00,0x00,0x80,0x87,0x87,0x87,0x80, 0x80,0x00,0x00,0x03,0x87,0x87,0x87,0x87,0x83,0x00,0x00,0x07,0x07,0x07, 0x07,0x00,0x00,0x00,0x07,0x07,0x07,0x07,0x00,0x00,0x00,0x07,0x07,0x07, 0x07,0x00,0x00,0x00,0x01,0x03,0x07,0xff,0xf0,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x01,0x83,0xfe,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0xfe,0x03,0x00,0xe0,0xf0,0xf0,0xe1,0x07,0xfc,0xfe,0x83,0xc0,0x78, 0x78,0x43,0x7e,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x60,0x40, 0xc0,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xff,0x00,0x00,0x80,0xc0,0x60,0x20,0x30,0x18,0x0c,0x07,0x00,0x00,0x00, 0x00,0x00,0x00,0x80,0xc0,0x60,0x30,0x10,0x1f,0x08,0x08,0x0f,0x07,0x07, 0x03,0x03,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x87, 0x85,0x87,0xc0,0x40,0xe3,0x63,0x20,0x30,0x1f,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x07,0x05,0x0c,0x08,0x0c, 0x04,0x04,0x06,0x02,0x83,0x81,0x81,0xc1,0x41,0xc1,0x81,0x80,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0c,0x1c,0x34,0x66, 0xc2,0x8f,0x99,0x31,0x3f,0x01,0x00,0x03,0x0e,0x18,0x1f,0x01,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xff,0x82,0x82,0x82,0x82,0x82,0x82,0x80,0x83,0x81,0x81,0x81,0x80,0x80, 0x80,0x80,0x80,0x80,0x81,0x82,0x84,0x8c,0x98,0x90,0xb0,0xa0,0xe0,0xc0, 0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xe0,0xa0,0xa0,0xa1,0xb1,0x93,0x96,0x9c, 0x98,0x90,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80 }; short int intro6[] = { 0x3f,0x05, 0xff,0x48,0xc8,0x88,0x88,0x08,0x08,0x18,0x10,0x17,0x17,0x37,0x27,0x27, 0x67,0x47,0x47,0xc7,0x87,0x83,0x01,0x00,0x00,0x00,0x07,0x07,0x07,0x00, 0x00,0x00,0x00,0x03,0x07,0x87,0x87,0x87,0x83,0x80,0x80,0x07,0x07,0x07, 0x87,0x80,0x80,0x80,0x87,0x07,0x07,0x07,0x00,0x00,0x00,0x07,0x07,0x07, 0x07,0x00,0x00,0x00,0x01,0x03,0x07,0xff,0x00,0x00,0x00,0x01,0x01,0x03, 0x02,0x06,0x0c,0x98,0xf0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x83, 0xfe,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xfe,0x03,0x00, 0xe0,0xf0,0xf0,0xe1,0x07,0xfc,0xfe,0x83,0xc0,0x78,0x78,0x43,0x7e,0x20, 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x60,0x40,0xc0,0x80,0x00,0x00, 0xff,0x00,0x00,0x00,0x00,0x80,0xe0,0x38,0x0c,0x06,0x03,0x00,0x00,0x80, 0xc0,0x60,0x20,0x30,0x18,0x0c,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x80, 0xc0,0x60,0x30,0x10,0x1f,0x08,0x08,0x0f,0x07,0x07,0x03,0x03,0x01,0x01, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x87,0x85,0x87,0xc0,0x40, 0xe3,0x63,0x20,0x30,0x1f,0x00,0x00,0xff,0x00,0x00,0x00,0x78,0xcf,0x80, 0x00,0x00,0x00,0x00,0x00,0x07,0x05,0x0c,0x08,0x0c,0x04,0x04,0x06,0x02, 0x83,0x81,0x81,0xc1,0x41,0xc1,0x81,0x80,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x0c,0x1c,0x34,0x66,0xc2,0x8f,0x99,0x31, 0x3f,0x01,0x00,0x03,0x0e,0x18,0x1f,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0xff,0x80,0x80,0x80,0x80,0x80,0x81,0x81,0x83,0x82,0x82,0x82,0x82,0x82, 0x82,0x82,0x82,0x80,0x83,0x81,0x81,0x81,0x80,0x80,0x80,0x80,0x80,0x80, 0x81,0x82,0x84,0x8c,0x98,0x90,0xb0,0xa0,0xe0,0xc0,0xc0,0xc0,0xc0,0xc0, 0xc0,0xc0,0xe0,0xa0,0xa0,0xa1,0xb1,0x93,0x96,0x9c,0x98,0x90,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80 }; short int intro7[] = { 0x3f,0x05, 0xff,0x48,0xc8,0x88,0x88,0x08,0x08,0x18,0x10,0x17,0x17,0x37,0x07,0x27, 0x67,0x47,0x47,0xc7,0x87,0x83,0x01,0x00,0x00,0x00,0x07,0x07,0x07,0x10, 0x20,0x40,0x00,0x03,0x07,0xb7,0x87,0x87,0x83,0xb0,0x80,0x07,0x47,0x27, 0x97,0x80,0x80,0x80,0x87,0x07,0x07,0x07,0x00,0x00,0x00,0x07,0x07,0x07, 0x07,0x00,0x00,0x00,0x01,0x03,0x07,0xff,0x00,0x00,0x00,0x01,0x01,0x03, 0x02,0x06,0x0c,0x98,0xf0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x83, 0xfe,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x00,0x00,0x00,0xfe,0x43,0x40, 0x40,0x40,0x20,0x21,0x27,0xfc,0xfe,0x83,0xc0,0x78,0x78,0x43,0x7e,0x20, 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x60,0x40,0xc0,0x80,0x00,0x00, 0xff,0x00,0x00,0x00,0x00,0x80,0xe0,0x38,0x0c,0x06,0x03,0x00,0x00,0x80, 0xc0,0x60,0x20,0x30,0x18,0x0c,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x80, 0xc0,0x60,0x30,0x10,0x1f,0x08,0x08,0x08,0x04,0x04,0x02,0x03,0x01,0x01, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x87,0x85,0x87,0xc0,0x40, 0xe3,0x63,0x20,0x30,0x1f,0x00,0x00,0xff,0x00,0x00,0x00,0x78,0xcf,0x80, 0x00,0x00,0x00,0x00,0x00,0x07,0x05,0x0c,0x08,0x0c,0x04,0x04,0x06,0x02, 0x83,0x81,0x81,0xc1,0x41,0xc1,0x81,0x80,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x0c,0x1c,0x34,0x66,0xc2,0x8f,0x99,0x31, 0x3f,0x01,0x00,0x03,0x0e,0x18,0x1f,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0xff,0x80,0x80,0x80,0x80,0x80,0x81,0x81,0x83,0x82,0x82,0x82,0x82,0x82, 0x82,0x82,0x82,0x82,0x83,0x81,0x81,0x81,0x80,0x80,0x80,0x80,0x80,0x80, 0x81,0x82,0x84,0x8c,0x98,0x90,0xb0,0xa0,0xe0,0xc0,0xc0,0xc0,0xc0,0xc0, 0xc0,0xc0,0xe0,0xa0,0xa0,0xa1,0xb1,0x93,0x96,0x9c,0x98,0x90,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80 }; #endif /* Bannor ====== */ unsigned int lvl1_len = 454; unsigned short int lvl1[] = { 0,0,1,0,2,0,3,0,4,0,5,0,6,0, 7,0,8,0,9,0,10,0,11,0,12,0,13,0, 14,0,15,0,16,0,17,0,18,0,19,0,20,0, 21,0,22,0,23,0,24,0,25,0,26,0,27,0, 28,0,29,0,30,0,31,0,32,0,33,0,34,0, 35,0,36,0,37,0,38,0,39,0,40,0,41,0, 42,0,43,0,44,0,45,0,46,0,47,0,48,0, 49,0,50,0,51,0,52,0,53,0,54,0,55,0, 56,0,57,0,58,0,59,0,60,0,61,0,62,0, 63,0,64,0,65,0,66,0,67,0,68,0,69,0, 70,0,71,0,72,0,73,0,74,0,75,0,76,0, 77,0,78,0,79,0,80,0,81,0,82,0,83,0, 84,0,85,0,86,0,87,0,88,0,89,0,90,0, 91,0,92,0,93,0,94,0,95,0,96,0,97,0, 98,0,99,0,100,0,101,0,102,0,103,0,104,0, 105,0,106,0,107,0,108,0,109,0,110,0,111,0, 112,0,113,0,114,0,115,0,116,0,117,0,118,0, 119,0,120,0,121,0,122,0,123,0,124,0,125,0, 126,0,127,0,0,1,127,1,0,2,127,2,0,3, 127,3,0,4,127,4,0,5,127,5,0,6,127,6, 0,7,127,7,0,8,127,8,0,9,127,9,0,10, 127,10,0,11,127,11,0,12,127,12,0,13,127,13, 0,14,63,14,64,14,127,14,0,15,63,15,64,15, 127,15,0,16,63,16,64,16,127,16,0,17,63,17, 64,17,127,17,0,18,63,18,64,18,127,18,0,19, 63,19,64,19,127,19,0,20,63,20,64,20,127,20, 0,21,63,21,64,21,127,21,0,22,63,22,64,22, 127,22,0,23,63,23,64,23,127,23,0,24,63,24, 64,24,127,24,0,25,63,25,64,25,127,25,0,26, 63,26,64,26,127,26,0,27,63,27,64,27,127,27, 0,28,63,28,64,28,127,28,0,29,63,29,64,29, 127,29,0,30,63,30,64,30,127,30,0,31,63,31, 64,31,127,31,0,32,63,32,64,32,127,32,0,33, 63,33,64,33,127,33,0,34,63,34,64,34,127,34, 0,35,63,35,64,35,127,35,0,36,63,36,64,36, 127,36,0,37,63,37,64,37,127,37,0,38,63,38, 64,38,127,38,0,39,63,39,64,39,127,39,0,40, 63,40,64,40,127,40,0,41,63,41,64,41,127,41, 0,42,63,42,64,42,127,42,0,43,63,43,64,43, 127,43,0,44,63,44,64,44,127,44,0,45,63,45, 64,45,127,45,0,46,63,46,64,46,127,46,0,47, 63,47,64,47,127,47,0,48,63,48,64,48,127,48, 0,49,63,49,64,49,127,49,0,50,63,50,64,50, 127,50,0,51,127,51,0,52,127,52,0,53,127,53, 0,54,127,54,0,55,127,55,0,56,127,56,0,57, 127,57,0,58,127,58,0,59,127,59,0,60,127,60, 0,61,127,61,0,62,127,62,0,63,1,63,2,63, 3,63,4,63,5,63,6,63,7,63,8,63,9,63, 10,63,11,63,12,63,13,63,14,63,15,63,16,63, 17,63,18,63,19,63,20,63,21,63,22,63,23,63, 24,63,25,63,26,63,27,63,28,63,29,63,30,63, 31,63,32,63,33,63,34,63,35,63,36,63,37,63, 38,63,39,63,40,63,41,63,42,63,43,63,44,63, 45,63,46,63,47,63,48,63,49,63,50,63,51,63, 52,63,53,63,54,63,55,63,56,63,57,63,58,63, 59,63,60,63,61,63,62,63,63,63,64,63,65,63, 66,63,67,63,68,63,69,63,70,63,71,63,72,63, 73,63,74,63,75,63,76,63,77,63,78,63,79,63, 80,63,81,63,82,63,83,63,84,63,85,63,86,63, 87,63,88,63,89,63,90,63,91,63,92,63,93,63, 94,63,95,63,96,63,97,63,98,63,99,63,100,63, 101,63,102,63,103,63,104,63,105,63,106,63,107,63, 108,63,109,63,110,63,111,63,112,63,113,63,114,63, 115,63,116,63,117,63,118,63,119,63,120,63,121,63, 122,63,123,63,124,63,125,63,126,63,127,63 }; unsigned int lvl2_len = 615; unsigned short int lvl2[] = { 0,0,1,0,2,0,3,0,4,0,5,0,6,0, 7,0,8,0,9,0,10,0,11,0,12,0,13,0, 14,0,15,0,16,0,17,0,18,0,19,0,20,0, 21,0,22,0,23,0,24,0,25,0,26,0,27,0, 28,0,29,0,30,0,31,0,32,0,33,0,34,0, 35,0,36,0,37,0,38,0,39,0,40,0,41,0, 42,0,43,0,44,0,45,0,46,0,47,0,48,0, 49,0,62,0,63,0,64,0,65,0,66,0,67,0, 68,0,69,0,70,0,71,0,72,0,73,0,74,0, 75,0,76,0,77,0,78,0,79,0,80,0,81,0, 82,0,83,0,84,0,85,0,86,0,87,0,88,0, 89,0,90,0,91,0,92,0,93,0,94,0,95,0, 96,0,97,0,98,0,99,0,100,0,101,0,102,0, 103,0,104,0,105,0,106,0,107,0,108,0,109,0, 110,0,111,0,112,0,113,0,114,0,115,0,116,0, 117,0,118,0,119,0,120,0,121,0,122,0,123,0, 124,0,125,0,126,0,127,0,0,1,46,1,49,1, 62,1,65,1,127,1,0,2,46,2,47,2,48,2, 49,2,62,2,63,2,64,2,65,2,127,2,0,3, 127,3,0,4,127,4,0,5,127,5,0,6,127,6, 0,7,21,7,22,7,23,7,24,7,25,7,26,7, 127,7,0,8,21,8,26,8,127,8,0,9,21,9, 26,9,99,9,100,9,101,9,102,9,103,9,104,9, 105,9,106,9,107,9,108,9,109,9,110,9,111,9, 112,9,113,9,114,9,115,9,127,9,0,10,21,10, 22,10,23,10,24,10,25,10,26,10,99,10,115,10, 127,10,0,11,99,11,115,11,127,11,0,12,99,12, 115,12,127,12,0,13,99,13,115,13,127,13,0,14, 99,14,115,14,127,14,0,15,54,15,55,15,56,15, 57,15,58,15,59,15,99,15,115,15,127,15,0,16, 53,16,60,16,99,16,115,16,127,16,0,17,52,17, 61,17,99,17,115,17,127,17,0,18,51,18,62,18, 99,18,115,18,127,18,0,19,50,19,63,19,99,19, 100,19,101,19,102,19,103,19,104,19,105,19,106,19, 107,19,108,19,109,19,110,19,111,19,112,19,113,19, 114,19,115,19,127,19,0,20,50,20,63,20,127,20, 0,21,50,21,63,21,127,21,0,22,50,22,63,22, 127,22,0,23,50,23,63,23,127,23,0,24,51,24, 62,24,127,24,0,25,52,25,61,25,127,25,0,26, 53,26,60,26,127,26,0,27,54,27,55,27,56,27, 57,27,58,27,59,27,127,27,0,28,127,28,0,29, 127,29,0,30,127,30,0,31,127,31,0,32,127,32, 0,33,127,33,0,34,61,34,62,34,63,34,64,34, 65,34,66,34,67,34,68,34,69,34,70,34,127,34, 0,35,61,35,70,35,127,35,0,36,61,36,70,36, 127,36,0,37,61,37,70,37,127,37,0,38,61,38, 70,38,127,38,0,39,61,39,70,39,127,39,0,40, 13,40,14,40,15,40,16,40,17,40,18,40,19,40, 20,40,21,40,22,40,23,40,24,40,25,40,26,40, 27,40,28,40,29,40,61,40,70,40,127,40,0,41, 13,41,29,41,61,41,70,41,127,41,0,42,13,42, 29,42,61,42,70,42,127,42,0,43,13,43,29,43, 61,43,70,43,127,43,0,44,13,44,29,44,61,44, 70,44,127,44,0,45,13,45,29,45,61,45,70,45, 127,45,0,46,13,46,29,46,61,46,70,46,127,46, 0,47,13,47,29,47,61,47,70,47,127,47,0,48, 13,48,29,48,61,48,70,48,127,48,0,49,13,49, 29,49,61,49,70,49,127,49,0,50,13,50,29,50, 61,50,70,50,127,50,0,51,13,51,29,51,61,51, 70,51,99,51,100,51,101,51,127,51,0,52,13,52, 14,52,15,52,16,52,17,52,18,52,19,52,20,52, 21,52,22,52,23,52,24,52,25,52,26,52,27,52, 28,52,29,52,61,52,70,52,99,52,101,52,127,52, 0,53,61,53,62,53,63,53,64,53,65,53,66,53, 67,53,68,53,69,53,70,53,99,53,100,53,101,53, 127,53,0,54,127,54,0,55,127,55,0,56,42,56, 43,56,44,56,45,56,46,56,47,56,48,56,49,56, 127,56,0,57,42,57,49,57,127,57,0,58,42,58, 49,58,127,58,0,59,42,59,49,59,127,59,0,60, 42,60,49,60,127,60,0,61,42,61,49,61,62,61, 63,61,64,61,127,61,0,62,42,62,49,62,62,62, 64,62,127,62,0,63,1,63,2,63,3,63,4,63, 5,63,6,63,7,63,8,63,9,63,10,63,11,63, 12,63,13,63,14,63,15,63,16,63,17,63,18,63, 19,63,20,63,21,63,22,63,23,63,24,63,25,63, 26,63,27,63,28,63,29,63,30,63,31,63,32,63, 33,63,34,63,35,63,36,63,37,63,38,63,39,63, 40,63,41,63,42,63,43,63,44,63,45,63,46,63, 47,63,48,63,49,63,62,63,63,63,64,63,65,63, 66,63,67,63,68,63,69,63,70,63,71,63,72,63, 73,63,74,63,75,63,76,63,77,63,78,63,79,63, 80,63,81,63,82,63,83,63,84,63,85,63,86,63, 87,63,88,63,89,63,90,63,91,63,92,63,93,63, 94,63,95,63,96,63,97,63,98,63,99,63,100,63, 101,63,102,63,103,63,104,63,105,63,106,63,107,63, 108,63,109,63,110,63,111,63,112,63,113,63,114,63, 115,63,116,63,117,63,118,63,119,63,120,63,121,63, 122,63,123,63,124,63,125,63,126,63,127,63, }; /* Pilar/pil-bild */ unsigned short int levels[] = { 0x32,0x07, 0x00,0x00,0x10,0x10,0xf0,0x10,0x10,0x10,0xe0,0x00,0x00,0x00,0x00,0xc0, 0x30,0xc0,0x00,0x00,0x00,0x00,0x10,0xf0,0x40,0x80,0x00,0x00,0x10,0xf0, 0x00,0x00,0x00,0x00,0xc0,0x30,0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x20,0xe0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x1f,0x11, 0x11,0x11,0x0e,0x00,0x10,0x18,0x17,0x02,0x02,0x02,0x17,0x18,0x10,0x00, 0x10,0x1f,0x10,0x00,0x01,0x02,0x04,0x1f,0x00,0x10,0x18,0x17,0x02,0x02, 0x02,0x17,0x18,0x10,0x00,0x00,0x00,0x00,0x10,0x1f,0x10,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x20,0x20,0xe0,0x20,0x20,0x20,0xc0,0x00,0x00,0x00, 0x00,0x80,0x60,0x80,0x00,0x00,0x00,0x00,0x20,0xe0,0x80,0x00,0x00,0x00, 0x20,0xe0,0x00,0x00,0x00,0x00,0x80,0x60,0x80,0x00,0x00,0x00,0x00,0x00, 0x00,0x80,0x40,0x40,0x40,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20, 0x3f,0x22,0x22,0x22,0x1d,0x00,0x20,0x30,0x2e,0x05,0x04,0x05,0x2e,0x30, 0x20,0x00,0x20,0x3f,0x20,0x01,0x02,0x04,0x08,0x3f,0x00,0x20,0x30,0x2e, 0x05,0x04,0x05,0x2e,0x30,0x20,0x00,0x00,0x00,0x20,0x30,0x28,0x24,0x23, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x40,0xc0,0x40,0x40,0x40,0x80, 0x00,0x00,0x00,0x00,0x00,0xc0,0x00,0x00,0x00,0x00,0x00,0x40,0xc0,0x00, 0x00,0x00,0x00,0x40,0xc0,0x00,0x00,0x00,0x00,0x00,0xc0,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x80,0x40,0x40,0x80,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x40,0x7f,0x44,0x44,0x44,0x3b,0x00,0x40,0x60,0x5c,0x0b,0x08, 0x0b,0x5c,0x60,0x40,0x00,0x40,0x7f,0x41,0x02,0x04,0x08,0x10,0x7f,0x00, 0x40,0x60,0x5c,0x0b,0x08,0x0b,0x5c,0x60,0x40,0x00,0x00,0x00,0x40,0x42, 0x42,0x25,0x1c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; unsigned short int pil1[] = { 0x14,0x06, 0x00,0x00,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0xa0,0xc0,0xc0,0x80, 0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x03,0x03,0x03,0x03, 0x03,0x03,0x0b,0x07,0x07,0x03,0x03,0x01,0x01,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; unsigned short int pil2[] = { 0x14,0x06, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x80,0x80,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07, 0x17,0x0f,0x0f,0x07,0x07,0x02,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; unsigned short int pil3[] = { 0x14,0x06, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x0e,0x2e,0x1f, 0x1f,0x0e,0x0e,0x04,0x04,0x00,0x00,0x00, }; /* BILDER */ unsigned short int pic_dubbel[] = { 0x80,0x08, 0xff,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xbc,0xbe,0xbf,0xb1,0x2d, 0xed,0xef,0xee,0xe4,0x00,0x01,0x1f,0xff,0xff,0xf1,0x0c,0x06,0xff,0xff, 0xfe,0x38,0x0c,0xce,0xfe,0xfe,0x3c,0x00,0x00,0x00,0xc0,0x78,0x26,0x26, 0x27,0xfe,0xf8,0xe0,0x00,0x00,0x00,0xfc,0xfe,0xe3,0x01,0x09,0x1d,0x1f, 0x1e,0x0c,0x02,0x3e,0xfe,0xfe,0xf3,0x2c,0x26,0x63,0xcd,0xcf,0x8f,0x06, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x07,0x07, 0x05,0x04,0x06,0x07,0x03,0x01,0x00,0x00,0x02,0x03,0x03,0x07,0x00,0x00, 0xc7,0x47,0x46,0x40,0x42,0xc3,0x03,0x02,0x02,0x00,0x02,0x02,0x07,0x04, 0x00,0x00,0x00,0x03,0x03,0x03,0x03,0x02,0xc0,0x41,0x43,0x47,0x47,0xc6, 0x06,0x02,0x01,0x00,0x00,0x02,0x03,0x03,0x03,0x00,0x00,0x02,0x03,0x03, 0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x30,0x10,0x10,0x10,0x18,0x08,0x08, 0x08,0x08,0x08,0x10,0x10,0x10,0x20,0x20,0x40,0xc0,0x80,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xc0,0x40,0x60,0x30,0x10, 0x18,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x0c,0x08,0x18,0x10,0x10,0x10, 0x18,0x17,0x30,0x2c,0x24,0x20,0x38,0x7d,0x47,0xe2,0xb3,0x91,0xc1,0x61, 0x3f,0x06,0x06,0x3f,0x61,0xc1,0x91,0xb3,0xe2,0x47,0x7d,0x38,0x20,0x24, 0x2c,0x30,0x17,0x18,0x10,0x10,0x10,0x18,0x08,0x0c,0x04,0x04,0x04,0x04, 0x04,0x04,0x08,0x18,0x10,0x30,0x60,0x40,0xc0,0x80,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xc0,0x40,0x20,0x20,0x10,0x10, 0x10,0x08,0x08,0x08,0x08,0x08,0x18,0xff,0xff,0x04,0x04,0x04,0x04,0x04, 0x0c,0x08,0x08,0x18,0x10,0x30,0x60,0x40,0x80,0x80,0x00,0x00,0x01,0x01, 0x03,0x02,0x02,0x02,0x02,0x02,0x02,0x03,0x01,0x01,0x01,0x80,0x80,0x80, 0xc0,0x40,0x60,0x20,0x30,0x10,0x18,0x08,0x08,0x08,0x08,0x08,0x08,0x08, 0x18,0x10,0x30,0x60,0xc0,0x80,0x18,0x38,0xe0,0xc0,0x80,0x80,0x00,0x01, 0x02,0x06,0x3c,0xe0,0xe0,0x3c,0x06,0x02,0x01,0x00,0x80,0x80,0xc0,0xe0, 0x38,0x18,0x80,0xc0,0x60,0x30,0x10,0x18,0x08,0x08,0x08,0x08,0x08,0x08, 0x08,0x18,0x10,0x30,0x20,0x60,0x40,0xc0,0x80,0x80,0x80,0x01,0x01,0x01, 0x03,0x02,0x02,0x02,0x02,0x02,0x02,0x03,0x01,0x01,0x00,0x00,0x80,0x80, 0x40,0x60,0x30,0x10,0x18,0x08,0x08,0x0c,0x04,0xff,0xff,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x03,0x02, 0x02,0x04,0x04,0x04,0x04,0x04,0x06,0x02,0x02,0x02,0x02,0x03,0x01,0x01, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x81,0x81,0x00,0x00,0x01, 0x03,0x02,0x02,0x03,0x01,0x01,0x01,0x01,0x03,0x02,0x02,0x03,0x81,0x00, 0x00,0x01,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x01,0x01, 0x03,0x02,0x02,0x02,0x02,0x06,0x04,0x04,0x04,0x04,0x04,0x02,0x02,0x03, 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff, 0x01,0x01,0x01,0x03,0x86,0xfc,0x00,0x00,0xf8,0xf8,0x00,0x00,0x00,0xf8, 0xf8,0x00,0x00,0xff,0x18,0x08,0x08,0x18,0xf0,0x00,0x00,0xff,0xff,0x08, 0x08,0x08,0xf8,0xe0,0x00,0xe0,0xf0,0x48,0x48,0x48,0x78,0x60,0x00,0x00, 0xff,0x00,0x00,0xf8,0xf8,0x08,0x08,0x18,0xf0,0x00,0x00,0xe0,0xf0,0x08, 0x08,0x08,0x18,0xf0,0x00,0x00,0xf0,0x18,0x08,0x08,0x18,0x00,0x00,0xff, 0x60,0xe0,0x90,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff, 0xff,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x83,0x82,0x82,0x82,0x83,0x81,0x80,0x80,0x80,0x80,0x83,0x82,0x82, 0x83,0x83,0x83,0x80,0x80,0x83,0x83,0x82,0x82,0x83,0x81,0x80,0x80,0x83, 0x83,0x82,0x82,0x82,0x81,0x80,0x80,0x80,0x81,0x82,0x82,0x82,0x82,0x80, 0x80,0x80,0x83,0x80,0x80,0x83,0x83,0x80,0x80,0x80,0x83,0x80,0x80,0x80, 0x81,0x82,0x82,0x82,0x83,0x81,0x80,0x80,0x81,0x83,0x82,0x82,0x83,0x80, 0x80,0x83,0x80,0x80,0x81,0x83,0x82,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0xff, }; unsigned short int pic_spelare1[] = { 0x80,0x08, 0xff,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0xf0,0xf8,0x98, 0x0c,0x0c,0x06,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0xf8,0xf8,0x18,0x18, 0x18,0x10,0x30,0xf0,0xe0,0x00,0x00,0x00,0x00,0x00,0xf8,0xf8,0x18,0x18, 0x18,0x18,0x18,0x00,0x00,0x00,0x00,0x00,0xf8,0xf8,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0xe0,0x70,0xe0,0x80, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xf8,0xf8,0x18,0x18,0x18, 0x18,0x30,0xf0,0xe0,0x00,0x00,0x00,0x00,0x00,0x00,0xf8,0xf8,0x18,0x18, 0x18,0x18,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0xc0,0x60,0x30,0x38,0xf8,0xfc,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01, 0x01,0x83,0x83,0xc7,0xfe,0x7c,0x38,0x00,0x00,0x00,0x00,0x00,0xff,0xff, 0x38,0x18,0x18,0x18,0x0c,0x07,0x03,0x00,0x00,0x00,0x00,0x00,0xff,0xff, 0x06,0x06,0x06,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xc0,0xf0,0x3c,0x3f,0x33,0x30,0x30, 0x31,0x37,0x3f,0x3c,0xf0,0xe0,0x80,0x00,0x00,0x00,0x00,0xff,0xff,0x00, 0x00,0x0c,0x1c,0x3e,0x73,0xe1,0xc0,0x80,0x00,0x00,0x00,0x00,0xff,0xff, 0x06,0x06,0x06,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x01,0x03,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x03,0x03, 0x03,0x03,0x03,0x03,0x03,0x03,0x00,0x00,0x01,0x03,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x03,0x01,0x00,0x00,0x00,0x03, 0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x03,0x01,0x00,0x00,0x00,0x00, 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xc0,0x80, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01, 0x07,0x1f,0x7c,0xf0,0xc0,0x00,0x00,0x00,0x00,0x80,0xe0,0x78,0x1e,0x0f, 0x03,0x00,0x00,0x00,0x00,0xc0,0xe0,0x78,0x1e,0x1e,0x38,0xf0,0xc0,0x80, 0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xff,0x7e,0x1c,0x38,0x70,0xe0,0xc0, 0x80,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x80,0xff,0x7e, 0x1c,0x38,0x70,0xe0,0xc0,0x80,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x03,0x0f,0x3e,0xf8,0x78,0x1e,0x07,0x01,0x00, 0x00,0x00,0x00,0x20,0x70,0x3c,0x0f,0x07,0x07,0x06,0x06,0x06,0x06,0x06, 0x07,0x0f,0x1e,0x78,0x30,0x00,0x00,0x00,0x7f,0x7f,0x00,0x00,0x00,0x00, 0x00,0x01,0x03,0x07,0x0e,0x1c,0x3f,0x7f,0x00,0x00,0x00,0x00,0x00,0x7f, 0x7f,0x00,0x00,0x00,0x00,0x00,0x01,0x03,0x07,0x0e,0x1c,0x3f,0x7f,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff, 0xff,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0xff, }; unsigned short int pic_spelare2[] = { 0x80,0x08, 0xff,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0xf0,0xf8,0x98, 0x0c,0x0c,0x06,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0xf8,0xf8,0x18,0x18, 0x18,0x10,0x30,0xf0,0xe0,0x00,0x00,0x00,0x00,0x00,0xf8,0xf8,0x18,0x18, 0x18,0x18,0x18,0x00,0x00,0x00,0x00,0x00,0xf8,0xf8,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0xe0,0x70,0xe0,0x80, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xf8,0xf8,0x18,0x18,0x18, 0x18,0x30,0xf0,0xe0,0x00,0x00,0x00,0x00,0x00,0x00,0xf8,0xf8,0x18,0x18, 0x18,0x18,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x06,0x06,0x0c,0x0c,0x1c,0x18,0xf8,0xf0,0xc0,0x00,0x00,0x00, 0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01, 0x01,0x83,0x83,0xc7,0xfe,0x7c,0x38,0x00,0x00,0x00,0x00,0x00,0xff,0xff, 0x38,0x18,0x18,0x18,0x0c,0x07,0x03,0x00,0x00,0x00,0x00,0x00,0xff,0xff, 0x06,0x06,0x06,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xc0,0xf0,0x3c,0x3f,0x33,0x30,0x30, 0x31,0x37,0x3f,0x3c,0xf0,0xe0,0x80,0x00,0x00,0x00,0x00,0xff,0xff,0x00, 0x00,0x0c,0x1c,0x3e,0x73,0xe1,0xc0,0x80,0x00,0x00,0x00,0x00,0xff,0xff, 0x06,0x06,0x06,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x80,0xc0,0xe0,0x70,0x38,0x1f,0x0f,0x03,0x00, 0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x01,0x03,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x03,0x03, 0x03,0x03,0x03,0x03,0x03,0x03,0x00,0x00,0x01,0x03,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x03,0x01,0x00,0x00,0x00,0x03, 0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x03,0x01,0x00,0x00,0x00,0x00, 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x02,0x02,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, 0x03,0x03,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xc0,0x80, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01, 0x07,0x1f,0x7c,0xf0,0xc0,0x00,0x00,0x00,0x00,0x80,0xe0,0x78,0x1e,0x0f, 0x03,0x00,0x00,0x00,0x00,0xc0,0xe0,0x78,0x1e,0x1e,0x38,0xf0,0xc0,0x80, 0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xff,0x7e,0x1c,0x38,0x70,0xe0,0xc0, 0x80,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x80,0xff,0x7e, 0x1c,0x38,0x70,0xe0,0xc0,0x80,0x00,0x00,0x00,0xff,0xff,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x03,0x0f,0x3e,0xf8,0x78,0x1e,0x07,0x01,0x00, 0x00,0x00,0x00,0x20,0x70,0x3c,0x0f,0x07,0x07,0x06,0x06,0x06,0x06,0x06, 0x07,0x0f,0x1e,0x78,0x30,0x00,0x00,0x00,0x7f,0x7f,0x00,0x00,0x00,0x00, 0x00,0x01,0x03,0x07,0x0e,0x1c,0x3f,0x7f,0x00,0x00,0x00,0x00,0x00,0x7f, 0x7f,0x00,0x00,0x00,0x00,0x00,0x01,0x03,0x07,0x0e,0x1c,0x3f,0x7f,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff, 0xff,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80, 0x80,0xff, }; #option sep_off typedef unsigned short int byte; unsigned short int *dioder; unsigned short int *disp0i; unsigned short int *disp1i; unsigned short int *disp0d; unsigned short int *disp1d; unsigned short int *adread; unsigned short int *ad_p1_x; unsigned short int *ad_p1_y; unsigned short int *ad_p2_x; unsigned short int *ad_p2_y; typedef struct { int x, y; } joystick_t; /* typedef struct { union { unsigned int full; unsigned short exponent, decimals; } value; } fixedpoint_t;*/ typedef struct { unsigned short int life; struct { unsigned int x, y; } loc, old, hd_loc; unsigned short int table_index; unsigned short int random_seed; short int hole; joystick_t input; } player_t; struct { unsigned short int data[512]; } disp[2]; player_t player[2]; unsigned short int level_current; short int nr; unsigned int process; unsigned int speed; unsigned short int joystick_mux; delay(unsigned int len) { unsigned int i; for (i=0;i 63 ? 1:0; if (disp_id == 1) { disp_ptr = disp1i; x = x - 64; } else { disp_ptr = disp0i; } block = y / 8; bitmask = 1 << (y%8); mem_ptr = &disp[disp_id].data[block*64 + x]; ret = bitmask & *mem_ptr; bitmask |= *mem_ptr; *mem_ptr = bitmask; screen_action(disp_ptr, disp_ptr, 0x40 + x); screen_action(disp_ptr, disp_ptr, 0xb8 + block); screen_action(disp_ptr, disp_ptr+1, bitmask); return ret; } clear_screen() { int i, j; unsigned short int line = DISP_RESET_Y; screen_action(disp0i, disp0i, DISP_RESET_Y); screen_action(disp1i, disp1i, DISP_RESET_Y); /*screen_action(disp0i, disp0i, DISP_RESET_Y);*/ for (j=0;j<8;j++) { for (i=0;i<64;i++) { screen_action(disp0i, disp0d, 0x0); screen_action(disp1i, disp1d, 0x0); } line++; screen_action(disp1i, disp1i, line); screen_action(disp0i, disp0i, line); } } write_picture(const short int* picture, unsigned int x, unsigned int y) { unsigned short int x_mask = 0x40; unsigned short int y_mask = 0xB8; unsigned int offset = 2; int i, j; unsigned short int line = DISP_RESET_Y; unsigned short int width = *picture; unsigned short int height = *(picture + 1); unsigned short int* ptr0 = picture + offset; unsigned short int* ptr1; screen_action(disp0i, disp0i, DISP_RESET_X); screen_action(disp1i, disp1i, DISP_RESET_X); screen_action(disp0i, disp0i, DISP_RESET_Y); screen_action(disp1i, disp1i, DISP_RESET_Y); screen_action(disp0i, disp0i, x_mask | x); line = y_mask | y; screen_action(disp0i, disp0i, y_mask | y); if(x >= 64){ /*Endast på höger skärm */ screen_action(disp1i, disp1i, x_mask | x-64); line = y_mask | y; screen_action(disp1i, disp1i, y_mask | y); for (j=0;j= 64){ /*Måste använda båda skärmarna */ unsigned short int disp0width = 64 - x; unsigned short int disp1width = width - disp0width; unsigned int left; unsigned int right; screen_action(disp0i, disp0i, x_mask | x); screen_action(disp1i, disp1i, DISP_RESET_X); line = y_mask | y; screen_action(disp0i, disp0i, y_mask | y); screen_action(disp1i, disp1i, y_mask | y); ptr1 = picture + offset + (64 - x); for (j=0;jold.x = p->loc.x; p->old.y = p->loc.y; if (nr % 2 == 0) { int index = p->table_index + (127 - p->input.x) / 30; p->table_index = (ROTATE_MOD + index) % ROTATE_MOD; } p->hd_loc.x += x_table[p->table_index] / 9; p->hd_loc.y += y_table[p->table_index] / 9; p->loc.x = p->hd_loc.x >> FIXED_DECIMALS; p->loc.y = p->hd_loc.y >> FIXED_DECIMALS; p->loc.x = p->loc.x % 128; p->loc.y = p->loc.y % 64; /* Hållogik */ p->hole--; if (p->hole <= -HOLE_LENGTH) { p->random_seed = (p->random_seed+1) % RANDOM_SIZE; p->hole = RANDOM_MIN + random[p->random_seed]*RANDOM_MUL; } if ((p->old.x != p->loc.x || p->old.y != p->loc.y) && p->hole > 0) { ret = set_pixel(p->loc.x, p->loc.y); } return ret; } level_apply() { const unsigned short int* level; unsigned int len; unsigned int i = 0; switch (level_current) { case 1 : clear_screen(); len = lvl1_len; level = lvl1; break; case 2 : clear_screen(); len = lvl2_len; level = lvl2; break; default : case 0: clear_screen(); return; break; } for (i;i> 2) % 3; weight += (player[0].input.y - 127) / 64; if (old != current) { switch (current) { case 1 : write_picture(pil2, 20, 1); break; case 2 : write_picture(pil3, 20, 1); break; case 0 : default : write_picture(pil1, 20, 1); break; } old = current; level_current = current; } player[0].random_seed = (player[0].random_seed + player[0].input.y) % RANDOM_SIZE; player[1].random_seed = (player[1].random_seed + player[1].input.x) % RANDOM_SIZE; delay(DELAY_MENU); } level_apply(); } init() { player[0].life = 0xff; player[1].life = 0xff; *dioder = 0xff; } game_reset() { int i; byte out = 0; out = player[0].life & 0x0f | player[1].life & 0xf0; *dioder = out; /* Töm spelplanen */ for (i=0;i<512;i++) { disp[0].data[i] = 0x0; disp[1].data[i] = 0x0; } nr=0; /* Spelarna */ player[0].table_index = 1; player[0].hd_loc.x = 10 << FIXED_DECIMALS; player[0].hd_loc.y = 32 << FIXED_DECIMALS; player[1].table_index = 33; player[1].hd_loc.x = 118 << FIXED_DECIMALS; player[1].hd_loc.y = 32 << FIXED_DECIMALS; player[0].hole = HOLE_FIRST; player[1].hole = HOLE_FIRST; level_apply(); } main() { unsigned int i; int p0, p1; p0 = 0x0; p1 = 0x0; level_current = 0; speed = 3; /* 1-10 */ dioder = (unsigned short int *) 0x0024000; /*Timer Control register*/ disp0i = (unsigned short int *) 0x0010000; disp1i = (unsigned short int *) 0x0014000; disp0d = (unsigned short int *) 0x0010001; disp1d = (unsigned short int *) 0x0014001; adread = (unsigned short int *) 0x0028000; ad_p1_x = (unsigned short int *) 0x0020000; ad_p1_y = (unsigned short int *) 0x0020001; ad_p2_x = (unsigned short int *) 0x0020002; ad_p2_y = (unsigned short int *) 0x0020003; *dioder = 0xff; nr=*adread; joystick_mux = 0; /* Starta skarmen */ screen_action(disp0i, disp0i, DISP_START); screen_action(disp1i, disp1i, DISP_START); /* *disp0i = DISP_START; delay(DELAY_MIN); *disp1i = DISP_START;*/ *disp0d = 0x77; *disp0d = 0x77; *disp0d = 0x77; init(); game_reset(); _avben(); *ad_p1_x = 0x33; /*Startar ADn, player1 X*/ write_intro(); level(); while (1) { while (p0 == 0 && p1 == 0){ while (process); i = 0; while (i < SPEED) i++; p0 = handle_player(&player[0]); p1 = handle_player(&player[1]); process = 1; nr++; } if (p0 != 0) player[0].life <<= 1; if (p1 != 0) player[1].life >>= 1; if (p0 != 0 && p1 != 0) { write_picture(pic_dubbel, 0, 0); delay(DELAY_MAX); } p0 = 0; p1 = 0; clear_screen(); game_reset(); if(!(player[0].life & 0x0f && player[1].life & 0xf0)) { if (player[0].life & 0x0f) { write_picture(pic_spelare1, 0, 0); delay(DELAY_MAX); delay(DELAY_MAX); delay(DELAY_MAX); } if (player[1].life & 0xf0) { write_picture(pic_spelare2, 0, 0); delay(DELAY_MAX); delay(DELAY_MAX); delay(DELAY_MAX); } clear_screen(); level(); init(); } /* if(player[0].life & 0x0f && player[1].life & 0xf0){ } else init();*/ } } exp2() /* avbrottsprogram ad */ { switch(joystick_mux){ case 0:{ player[0].input.x = *adread; *ad_p1_y = 0xff; } break; case 1:{ player[0].input.y = *adread; *ad_p2_x = 0xff; } break; case 2:{ player[1].input.x = *adread; *ad_p2_y = 0xff; } break; case 3:{ player[1].input.y = *adread; *ad_p1_x = 0xff; } break; } /**dioder = player[1].input.x;*/ joystick_mux = joystick_mux + 1; if (joystick_mux >= 4){ joystick_mux = 0; } return; } exp5() /* avbrottsprogram counter */ { process = 0; return; }