mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-12 00:30:31 +00:00
mode7: re-optimize rle compression
smaller now. Still need to fix asm version
This commit is contained in:
parent
35923c2634
commit
e3185239bc
@ -9,6 +9,11 @@ all: fade fixed_point rainbow sparkle starfield kaleido \
|
||||
tfv mode7_demo text tfv_multiply
|
||||
|
||||
|
||||
|
||||
####
|
||||
demo_title.c: ../gr-utils/png2rle ../tfv/demo.png
|
||||
../gr-utils/png2rle c ../tfv/demo.png demo_rle > demo_title.c
|
||||
|
||||
####
|
||||
|
||||
fade: fade.o gr-sim.o tfv_utils.o
|
||||
|
@ -36,6 +36,7 @@ int main(int argc, char **argv) {
|
||||
clear_bottom(PAGE1);
|
||||
clear_bottom(PAGE2);
|
||||
|
||||
// grsim_unrle(demo_rle,0x400);
|
||||
grsim_unrle(demo_rle,0xc00);
|
||||
|
||||
gr_copy_to_current(0xc00);
|
||||
|
125
gr-sim/gr-sim.c
125
gr-sim/gr-sim.c
@ -698,7 +698,7 @@ int home(void) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int grsim_unrle(unsigned char *rle_data, int address) {
|
||||
int grsim_unrle_original(unsigned char *rle_data, int address) {
|
||||
|
||||
unsigned char s;
|
||||
|
||||
@ -787,6 +787,129 @@ int grsim_unrle(unsigned char *rle_data, int address) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int grsim_unrle(unsigned char *rle_data, int address) {
|
||||
|
||||
unsigned char s;
|
||||
|
||||
ram[GBASL]=0; /* input address */
|
||||
ram[GBASH]=0; /* we fake this in this environment */
|
||||
|
||||
x=0; /* Set X and Y registers to 0 */
|
||||
y=0;
|
||||
|
||||
ram[BASL]=address&0xff; /* output address? */
|
||||
ram[BASH]=(address>>8)&0xff;
|
||||
|
||||
ram[CV]=0;
|
||||
|
||||
/* Read xsize, put in CH */
|
||||
ram[CH]=rle_data[y_indirect(GBASL,y)];
|
||||
y++;
|
||||
|
||||
/* Skip ysize, we won't need it */
|
||||
// y++;
|
||||
|
||||
while(1) {
|
||||
|
||||
/* Get byte into A */
|
||||
a=rle_data[y_indirect(GBASL,y)];
|
||||
|
||||
/* 0xa1 is a special value meaning end */
|
||||
if (a==0xa1) break;
|
||||
|
||||
/* Store run length into TEMP */
|
||||
if ((a&0xf0)==0xa0) {
|
||||
if ((a&0xf)==0) {
|
||||
/* 16-bit increment of GBASL:GBASH */
|
||||
y++;
|
||||
if (y==0) ram[GBASH]++;
|
||||
|
||||
a=rle_data[y_indirect(GBASL,y)];
|
||||
ram[TEMP]=a;
|
||||
|
||||
}
|
||||
else {
|
||||
ram[TEMP]=a&0xf;
|
||||
}
|
||||
|
||||
/* 16-bit increment of GBASL:GBASH */
|
||||
y++;
|
||||
if (y==0) ram[GBASH]++;
|
||||
|
||||
/* Get the color into A */
|
||||
a=rle_data[y_indirect(GBASL,y)];
|
||||
|
||||
}
|
||||
else {
|
||||
ram[TEMP]=1;
|
||||
}
|
||||
|
||||
/* 16-bit increment of GBASL:GBASH */
|
||||
y++;
|
||||
if (y==0) ram[GBASH]++;
|
||||
|
||||
/* Push y on stack */
|
||||
s=y;
|
||||
y=0;
|
||||
|
||||
#if 0
|
||||
{
|
||||
printf("Run=%d Color=%x\n",ram[TEMP],a);
|
||||
}
|
||||
#endif
|
||||
while(1) {
|
||||
/* store out color */
|
||||
ram[y_indirect(BASL,y)]=a;
|
||||
|
||||
/* 16-bit increment of output pointer */
|
||||
ram[BASL]++;
|
||||
if (ram[BASL]==0) ram[BASH]++;
|
||||
|
||||
/* increment size */
|
||||
x++;
|
||||
|
||||
/* if size longer than width, adjust */
|
||||
if (x>=ram[CH]) {
|
||||
if (ram[BASL]>0xa7) ram[BASH]++;
|
||||
ram[BASL]+=0x58;
|
||||
ram[CV]+=2;
|
||||
if (ram[CV]>14) {
|
||||
ram[CV]=0;
|
||||
if (ram[BASL]<0xd8) {
|
||||
ram[BASL]=ram[BASL]-0xd8;
|
||||
ram[BASH]=ram[BASH]-0x4;
|
||||
}
|
||||
else {
|
||||
ram[BASL]=ram[BASL]-0xd8;
|
||||
ram[BASH]=ram[BASH]-0x3;
|
||||
}
|
||||
}
|
||||
x=0;
|
||||
}
|
||||
|
||||
/* repeat until use up all of run length */
|
||||
ram[TEMP]--;
|
||||
if (ram[TEMP]==0) break;
|
||||
}
|
||||
/* restore y from stack */
|
||||
y=s;
|
||||
|
||||
#if 0
|
||||
{
|
||||
grsim_update();
|
||||
int ch;
|
||||
ch=repeat_until_keypressed();
|
||||
grsim_update();
|
||||
if (ch=='q') break;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int basic_vlin(int y1, int y2, int at) {
|
||||
|
||||
// f244
|
||||
|
@ -1,415 +1,416 @@
|
||||
unsigned char title_rle[]={
|
||||
0x28,0x28,
|
||||
0x01,0x00, 0x19,0x20, 0x0F,0x00, 0x01,0x22, 0x03,0x66, 0x01,0x22, 0x01,0x62,
|
||||
0x01,0x66, 0x01,0x62, 0x01,0x22, 0x01,0x66, 0x03,0x22, 0x01,0x66, 0x01,0x26,
|
||||
0x01,0x62, 0x01,0x22, 0x01,0x62, 0x01,0x26, 0x01,0x62, 0x01,0x22, 0x03,0x66,
|
||||
0x01,0x22, 0x01,0x55, 0x01,0x00, 0x03,0x11, 0x01,0x44, 0x03,0x22, 0x01,0x44,
|
||||
0x03,0x22, 0x02,0x00, 0x02,0x22, 0x01,0x66, 0x02,0x22, 0x01,0x66, 0x01,0x62,
|
||||
0x01,0x66, 0x01,0x22, 0x01,0x66, 0x03,0x22, 0x01,0x66, 0x01,0x26, 0x01,0x62,
|
||||
0x01,0x22, 0x01,0x66, 0x01,0x22, 0x01,0x66, 0x02,0x22, 0x01,0x66, 0x02,0x22,
|
||||
0x01,0x55, 0x01,0x00, 0x01,0x01, 0x01,0x11, 0x01,0x41, 0x01,0x44, 0x01,0x42,
|
||||
0x01,0x22, 0x01,0x42, 0x01,0x44, 0x01,0x42, 0x01,0x22, 0x01,0x02, 0x02,0x00,
|
||||
0x02,0x22, 0x01,0x66, 0x02,0x22, 0x01,0x66, 0x01,0x22, 0x01,0x66, 0x01,0x22,
|
||||
0x03,0x66, 0x01,0x22, 0x01,0x66, 0x01,0x62, 0x01,0x26, 0x01,0x22, 0x01,0x26,
|
||||
0x01,0x62, 0x01,0x26, 0x02,0x22, 0x01,0x66, 0x02,0x22, 0x01,0x55, 0x02,0x00,
|
||||
0x01,0x11, 0x03,0x44, 0x01,0x22, 0x03,0x44, 0x01,0x22, 0x03,0x00, 0x01,0x02,
|
||||
0x18,0x52, 0x01,0x55, 0x0E,0x00, 0x1E,0x60, 0x0A,0x00, 0x01,0x66, 0x03,0x22,
|
||||
0x01,0x66, 0x01,0x26, 0x01,0x22, 0x01,0x26, 0x01,0x66, 0x01,0x22, 0x01,0x26,
|
||||
0x01,0x66, 0x01,0x22, 0x01,0x66, 0x03,0x22, 0x01,0x66, 0x01,0x26, 0x01,0x22,
|
||||
0x01,0x26, 0x01,0x66, 0x01,0x26, 0x02,0x62, 0x01,0x66, 0x01,0x22, 0x01,0x66,
|
||||
0x01,0x22, 0x01,0x66, 0x01,0x55, 0x09,0x00, 0x01,0x66, 0x01,0x22, 0x01,0x26,
|
||||
0x02,0x66, 0x01,0x22, 0x01,0x26, 0x01,0x22, 0x01,0x66, 0x01,0x22, 0x01,0x62,
|
||||
0x01,0x26, 0x01,0x22, 0x02,0x66, 0x01,0x22, 0x02,0x66, 0x01,0x22, 0x01,0x26,
|
||||
0x01,0x22, 0x01,0x66, 0x01,0x22, 0x02,0x26, 0x01,0x66, 0x01,0x62, 0x01,0x26,
|
||||
0x01,0x62, 0x01,0x66, 0x01,0x55, 0x09,0x00, 0x01,0x66, 0x01,0x22, 0x03,0x66,
|
||||
0x01,0x22, 0x01,0x66, 0x01,0x22, 0x01,0x66, 0x01,0x22, 0x01,0x66, 0x01,0x62,
|
||||
0x01,0x22, 0x02,0x66, 0x01,0x22, 0x02,0x66, 0x01,0x22, 0x01,0x66, 0x01,0x22,
|
||||
0x01,0x66, 0x02,0x26, 0x01,0x22, 0x02,0x66, 0x01,0x22, 0x02,0x66, 0x01,0x55,
|
||||
0x09,0x00, 0x01,0x06, 0x1D,0x56, 0x01,0x55, 0x03,0x00, 0x01,0x10, 0x24,0x00,
|
||||
0x01,0x10, 0x01,0x00, 0x01,0x10, 0x01,0x11, 0x01,0x01, 0x05,0x00, 0x08,0xCC,
|
||||
0x01,0x40, 0x09,0x00, 0x01,0xD0, 0x01,0x0D, 0x01,0x00, 0x01,0xD0, 0x01,0x0D,
|
||||
0x01,0x00, 0x01,0xD0, 0x05,0x00, 0x01,0x11, 0x0A,0x00, 0x01,0x04, 0x04,0x54,
|
||||
0x02,0xCC, 0x01,0x44, 0x01,0x55, 0x06,0x00, 0x01,0xD0, 0x01,0xDD, 0x02,0xD0,
|
||||
0x01,0xDD, 0x02,0xD0, 0x01,0xDD, 0x01,0xD0, 0x03,0x00, 0x02,0x01, 0x01,0x11,
|
||||
0x02,0x01, 0x0C,0x00, 0x02,0xCC, 0x01,0x44, 0x01,0x54, 0x01,0x55, 0x06,0x00,
|
||||
0x01,0xDD, 0x07,0xBB, 0x01,0xDD, 0x04,0x00, 0x01,0x10, 0x01,0x11, 0x01,0x10,
|
||||
0x0C,0x00, 0x02,0xCC, 0x01,0x44, 0x01,0x54, 0x01,0x55, 0x07,0x00, 0x01,0xDD,
|
||||
0x01,0xBB, 0x01,0xBF, 0x01,0xB0, 0x01,0xBB, 0x01,0xBF, 0x01,0xB0, 0x01,0xBB,
|
||||
0x01,0xDD, 0x03,0x00, 0x01,0x10, 0x03,0x11, 0x01,0x10, 0x0A,0x00, 0x02,0xCC,
|
||||
0x01,0x44, 0x01,0x54, 0x01,0x55, 0x08,0x00, 0x01,0xDD, 0x01,0xDB, 0x01,0xBB,
|
||||
0x01,0x3B, 0x01,0x33, 0x02,0xBB, 0x01,0xDB, 0x01,0xDD, 0x03,0x00, 0x02,0x01,
|
||||
0x01,0x11, 0x02,0x01, 0x0A,0x00, 0x02,0xCC, 0x01,0x44, 0x01,0x55, 0x09,0x00,
|
||||
0x02,0xDD, 0x05,0xBB, 0x02,0xDD, 0x05,0x00, 0x01,0x11, 0x0C,0x00, 0x02,0xCC,
|
||||
0x01,0x44, 0x01,0x55, 0x09,0x00, 0x01,0x0D, 0x01,0x00, 0x01,0xBB, 0x03,0xB1,
|
||||
0x01,0xBB, 0x01,0x00, 0x01,0x0D, 0x04,0x00, 0x02,0xBB, 0x0C,0x00, 0x01,0x0C,
|
||||
0x01,0x4C, 0x01,0x44, 0x01,0x55, 0x0C,0x00, 0x02,0xBB, 0x06,0x00, 0x01,0x20,
|
||||
0x01,0x22, 0x01,0x2B, 0x01,0x0B, 0x0E,0x00, 0x02,0x05, 0x09,0x00, 0x01,0x20,
|
||||
0x06,0x22, 0x03,0x20, 0x02,0x22, 0x01,0x02, 0x09,0x00, 0xFF,0xFF, };
|
||||
0x28, /* ysize=40 */
|
||||
0x00,0xA0,0x19,0x20,0xAF,0x00,0x22,0xA3,0x66,0x22,0x62,
|
||||
0x66,0x62,0x22,0x66,0xA3,0x22,0x66,0x26,
|
||||
0x62,0x22,0x62,0x26,0x62,0x22,0xA3,0x66,
|
||||
0x22,0x55,0x00,0xA3,0x11,0x44,0xA3,0x22,0x44,
|
||||
0xA3,0x22,0x00,0x00,0x22,0x22,0x66,0x22,0x22,0x66,0x62,
|
||||
0x66,0x22,0x66,0xA3,0x22,0x66,0x26,0x62,
|
||||
0x22,0x66,0x22,0x66,0x22,0x22,0x66,0x22,0x22,
|
||||
0x55,0x00,0x01,0x11,0x41,0x44,0x42,
|
||||
0x22,0x42,0x44,0x42,0x22,0x02,0x00,0x00,
|
||||
0x22,0x22,0x66,0x22,0x22,0x66,0x22,0x66,0x22,
|
||||
0xA3,0x66,0x22,0x66,0x62,0x26,0x22,0x26,
|
||||
0x62,0x26,0x22,0x22,0x66,0x22,0x22,0x55,0x00,0x00,
|
||||
0x11,0xA3,0x44,0x22,0xA3,0x44,0x22,0xA3,0x00,0x02,
|
||||
0xA0,0x18,0x52,0x55,0xAE,0x00,0xA0,0x1E,0x60,0xAA,0x00,0x66,0xA3,0x22,
|
||||
0x66,0x26,0x22,0x26,0x66,0x22,0x26,
|
||||
0x66,0x22,0x66,0xA3,0x22,0x66,0x26,0x22,
|
||||
0x26,0x66,0x26,0x62,0x62,0x66,0x22,0x66,
|
||||
0x22,0x66,0x55,0xA9,0x00,0x66,0x22,0x26,
|
||||
0x66,0x66,0x22,0x26,0x22,0x66,0x22,0x62,
|
||||
0x26,0x22,0x66,0x66,0x22,0x66,0x66,0x22,0x26,
|
||||
0x22,0x66,0x22,0x26,0x26,0x66,0x62,0x26,
|
||||
0x62,0x66,0x55,0xA9,0x00,0x66,0x22,0xA3,0x66,
|
||||
0x22,0x66,0x22,0x66,0x22,0x66,0x62,
|
||||
0x22,0x66,0x66,0x22,0x66,0x66,0x22,0x66,0x22,
|
||||
0x66,0x26,0x26,0x22,0x66,0x66,0x22,0x66,0x66,0x55,
|
||||
0xA9,0x00,0x06,0xA0,0x1D,0x56,0x55,0xA3,0x00,0x10,0xA0,0x24,0x00,
|
||||
0x10,0x00,0x10,0x11,0x01,0xA5,0x00,0xA8,0xCC,
|
||||
0x40,0xA9,0x00,0xD0,0x0D,0x00,0xD0,0x0D,
|
||||
0x00,0xD0,0xA5,0x00,0x11,0xAA,0x00,0x04,0xA4,0x54,
|
||||
0xCC,0xCC,0x44,0x55,0xA6,0x00,0xD0,0xDD,0xD0,0xD0,
|
||||
0xDD,0xD0,0xD0,0xDD,0xD0,0xA3,0x00,0x01,0x01,0x11,
|
||||
0x01,0x01,0xAC,0x00,0xCC,0xCC,0x44,0x54,0x55,0xA6,0x00,
|
||||
0xDD,0xA7,0xBB,0xDD,0xA4,0x00,0x10,0x11,0x10,
|
||||
0xAC,0x00,0xCC,0xCC,0x44,0x54,0x55,0xA7,0x00,0xDD,
|
||||
0xBB,0xBF,0xB0,0xBB,0xBF,0xB0,0xBB,
|
||||
0xDD,0xA3,0x00,0x10,0xA3,0x11,0x10,0xAA,0x00,0xCC,0xCC,
|
||||
0x44,0x54,0x55,0xA8,0x00,0xDD,0xDB,0xBB,
|
||||
0x3B,0x33,0xBB,0xBB,0xDB,0xDD,0xA3,0x00,0x01,0x01,
|
||||
0x11,0x01,0x01,0xAA,0x00,0xCC,0xCC,0x44,0x55,0xA9,0x00,
|
||||
0xDD,0xDD,0xA5,0xBB,0xDD,0xDD,0xA5,0x00,0x11,0xAC,0x00,0xCC,0xCC,
|
||||
0x44,0x55,0xA9,0x00,0x0D,0x00,0xBB,0xA3,0xB1,
|
||||
0xBB,0x00,0x0D,0xA4,0x00,0xBB,0xBB,0xAC,0x00,0x0C,
|
||||
0x4C,0x44,0x55,0xAC,0x00,0xBB,0xBB,0xA6,0x00,0x20,
|
||||
0x22,0x2B,0x0B,0xAE,0x00,0x05,0x05,0xA9,0x00,0x20,
|
||||
0xA6,0x22,0xA3,0x20,0x22,0x22,0x02,0xA9,0x00,0xA1, };
|
||||
unsigned char map_rle[]={
|
||||
0x28,0x28,
|
||||
0x23,0x66, 0x01,0x46, 0x01,0x06, 0x05,0x66, 0x01,0x56, 0x0E,0x66, 0x01,0xE6,
|
||||
0x04,0x66, 0x01,0x77, 0x01,0xFF, 0x01,0xF6, 0x08,0x66, 0x01,0x46, 0x03,0x44,
|
||||
0x03,0x66, 0x01,0xE6, 0x01,0x56, 0x01,0x55, 0x01,0x56, 0x01,0xE6, 0x0B,0x66,
|
||||
0x01,0x6E, 0x01,0x66, 0x01,0x6E, 0x02,0x66, 0x01,0x67, 0x04,0x6F, 0x07,0x66,
|
||||
0x01,0x4F, 0x01,0x47, 0x01,0x4F, 0x01,0x44, 0x0B,0x66, 0x17,0xD6, 0x03,0x66,
|
||||
0x01,0x64, 0x03,0x44, 0x01,0x46, 0x08,0x66, 0x01,0xDD, 0x07,0xFF, 0x01,0x4F,
|
||||
0x05,0xFF, 0x01,0x8F, 0x01,0x88, 0x01,0x8F, 0x01,0xFF, 0x01,0x7F, 0x01,0x77,
|
||||
0x01,0x07, 0x01,0x77, 0x01,0x07, 0x01,0x77, 0x01,0xDD, 0x03,0x66, 0x01,0xE6,
|
||||
0x03,0xE4, 0x01,0xE6, 0x07,0x66, 0x01,0xDD, 0x06,0xFF, 0x01,0xF4, 0x01,0x84,
|
||||
0x01,0xF4, 0x04,0xFF, 0x01,0x8F, 0x03,0xFF, 0x01,0x7F, 0x01,0x77, 0x03,0x75,
|
||||
0x01,0x77, 0x01,0xDD, 0x0F,0x66, 0x01,0xDD, 0x0C,0xCF, 0x03,0xC8, 0x03,0xCF,
|
||||
0x05,0xC7, 0x01,0xDD, 0x0A,0x66, 0x01,0xE6, 0x04,0x66, 0x01,0xDD, 0x02,0xCC,
|
||||
0x01,0x4C, 0x03,0xCC, 0x01,0x77, 0x06,0xCC, 0x01,0x8C, 0x01,0x88, 0x01,0x8C,
|
||||
0x01,0xCC, 0x01,0x4C, 0x05,0x44, 0x01,0xDD, 0x09,0x66, 0x01,0x6E, 0x01,0x66,
|
||||
0x01,0x6E, 0x03,0x66, 0x01,0xDD, 0x01,0xCC, 0x01,0x4C, 0x01,0x44, 0x01,0x4C,
|
||||
0x01,0xCC, 0x01,0x22, 0x03,0xFF, 0x01,0x22, 0x03,0xCC, 0x01,0x8C, 0x03,0xCC,
|
||||
0x01,0xC4, 0x05,0x44, 0x01,0xDD, 0x0C,0x66, 0x01,0xE6, 0x02,0x66, 0x01,0xDD,
|
||||
0x02,0xCC, 0x01,0xC8, 0x02,0xCC, 0x01,0xC2, 0x02,0xC7, 0x01,0xCF, 0x02,0xC2,
|
||||
0x01,0xCC, 0x03,0xC8, 0x03,0xCC, 0x01,0xC8, 0x01,0xCC, 0x01,0xC8, 0x01,0xCC,
|
||||
0x01,0xC8, 0x01,0xDD, 0x0B,0x66, 0x01,0x6E, 0x01,0x66, 0x01,0x6E, 0x01,0x66,
|
||||
0x01,0xDD, 0x01,0x4C, 0x01,0x84, 0x01,0xC4, 0x0A,0xCC, 0x01,0x8C, 0x01,0x88,
|
||||
0x01,0x8C, 0x01,0xCC, 0x01,0x4C, 0x05,0x44, 0x01,0xDD, 0x0F,0x66, 0x01,0xDD,
|
||||
0x01,0xC4, 0x01,0xCC, 0x01,0x88, 0x0A,0xCC, 0x01,0x8C, 0x03,0xCC, 0x06,0x44,
|
||||
0x01,0xDD, 0x02,0x66, 0x01,0x55, 0x01,0x56, 0x02,0x66, 0x01,0x55, 0x08,0x66,
|
||||
0x01,0xDD, 0x05,0xCC, 0x05,0x9C, 0x01,0xCC, 0x01,0x1C, 0x03,0xC8, 0x01,0x1C,
|
||||
0x02,0xCC, 0x01,0x84, 0x01,0xC4, 0x01,0x84, 0x01,0xC4, 0x01,0x84, 0x01,0xDD,
|
||||
0x02,0x66, 0x01,0x55, 0x01,0x66, 0x01,0x65, 0x01,0x56, 0x01,0x55, 0x08,0x66,
|
||||
0x01,0xDD, 0x03,0xCC, 0x02,0x4C, 0x01,0x99, 0x01,0x49, 0x01,0x44, 0x02,0x99,
|
||||
0x01,0xCC, 0x01,0x11, 0x01,0xC1, 0x01,0x1C, 0x01,0xC1, 0x01,0x11, 0x07,0xCC,
|
||||
0x01,0xDD, 0x02,0x66, 0x01,0x65, 0x03,0x66, 0x01,0x65, 0x02,0x66, 0x01,0x6E,
|
||||
0x01,0xE6, 0x01,0x6E, 0x03,0x66, 0x01,0xDD, 0x02,0xCC, 0x01,0x44, 0x01,0xC8,
|
||||
0x01,0x8C, 0x01,0x99, 0x01,0x94, 0x01,0x44, 0x01,0x94, 0x01,0x99, 0x01,0xCC,
|
||||
0x01,0xC1, 0x03,0xCC, 0x01,0xC1, 0x07,0xCC, 0x01,0xDD, 0x03,0x66, 0x01,0x16,
|
||||
0x01,0x91, 0x01,0x16, 0x04,0x66, 0x01,0xEE, 0x04,0x66, 0x01,0x6D, 0x04,0xDC,
|
||||
0x01,0xD8, 0x02,0xD9, 0x01,0xD4, 0x02,0xD9, 0x02,0xDC, 0x01,0x8C, 0x01,0x88,
|
||||
0x01,0x8E, 0x01,0xEE, 0x07,0xDC, 0x01,0x6D, 0x03,0x66, 0x01,0x69, 0x01,0x99,
|
||||
0x01,0x69, 0x03,0x66, 0x01,0x05, 0x01,0x55, 0x01,0x66, 0x01,0x55, 0x01,0x65,
|
||||
0x1C,0x66, 0x01,0x86, 0x01,0x96, 0x01,0x99, 0x01,0x96, 0x01,0x86, 0x02,0x66,
|
||||
0x04,0x65, 0x1F,0x66, 0x01,0x99, 0x1B,0x66, 0x01,0xE6, 0x01,0x6E, 0x01,0xE6,
|
||||
0x09,0x66, 0x01,0x69, 0x2B,0x66, 0xFF,0xFF, };
|
||||
0x28, /* ysize=40 */
|
||||
0xA0,0x23,0x66,0x46,0x06,0xA5,0x66,0x56,0xAE,0x66,0xE6,
|
||||
0xA4,0x66,0x77,0xFF,0xF6,0xA8,0x66,0x46,0xA3,0x44,
|
||||
0xA3,0x66,0xE6,0x56,0x55,0x56,0xE6,0xAB,0x66,
|
||||
0x6E,0x66,0x6E,0x66,0x66,0x67,0xA4,0x6F,0xA7,0x66,
|
||||
0x4F,0x47,0x4F,0x44,0xAB,0x66,0xA0,0x17,0xD6,0xA3,0x66,
|
||||
0x64,0xA3,0x44,0x46,0xA8,0x66,0xDD,0xA7,0xFF,0x4F,
|
||||
0xA5,0xFF,0x8F,0x88,0x8F,0xFF,0x7F,0x77,
|
||||
0x07,0x77,0x07,0x77,0xDD,0xA3,0x66,0xE6,
|
||||
0xA3,0xE4,0xE6,0xA7,0x66,0xDD,0xA6,0xFF,0xF4,0x84,
|
||||
0xF4,0xA4,0xFF,0x8F,0xA3,0xFF,0x7F,0x77,0xA3,0x75,
|
||||
0x77,0xDD,0xAF,0x66,0xDD,0xAC,0xCF,0xA3,0xC8,0xA3,0xCF,
|
||||
0xA5,0xC7,0xDD,0xAA,0x66,0xE6,0xA4,0x66,0xDD,0xCC,0xCC,
|
||||
0x4C,0xA3,0xCC,0x77,0xA6,0xCC,0x8C,0x88,0x8C,
|
||||
0xCC,0x4C,0xA5,0x44,0xDD,0xA9,0x66,0x6E,0x66,
|
||||
0x6E,0xA3,0x66,0xDD,0xCC,0x4C,0x44,0x4C,
|
||||
0xCC,0x22,0xA3,0xFF,0x22,0xA3,0xCC,0x8C,0xA3,0xCC,
|
||||
0xC4,0xA5,0x44,0xDD,0xAC,0x66,0xE6,0x66,0x66,0xDD,
|
||||
0xCC,0xCC,0xC8,0xCC,0xCC,0xC2,0xC7,0xC7,0xCF,0xC2,0xC2,
|
||||
0xCC,0xA3,0xC8,0xA3,0xCC,0xC8,0xCC,0xC8,0xCC,
|
||||
0xC8,0xDD,0xAB,0x66,0x6E,0x66,0x6E,0x66,
|
||||
0xDD,0x4C,0x84,0xC4,0xAA,0xCC,0x8C,0x88,
|
||||
0x8C,0xCC,0x4C,0xA5,0x44,0xDD,0xAF,0x66,0xDD,
|
||||
0xC4,0xCC,0x88,0xAA,0xCC,0x8C,0xA3,0xCC,0xA6,0x44,
|
||||
0xDD,0x66,0x66,0x55,0x56,0x66,0x66,0x55,0xA8,0x66,
|
||||
0xDD,0xA5,0xCC,0xA5,0x9C,0xCC,0x1C,0xA3,0xC8,0x1C,
|
||||
0xCC,0xCC,0x84,0xC4,0x84,0xC4,0x84,0xDD,
|
||||
0x66,0x66,0x55,0x66,0x65,0x56,0x55,0xA8,0x66,
|
||||
0xDD,0xA3,0xCC,0x4C,0x4C,0x99,0x49,0x44,0x99,0x99,
|
||||
0xCC,0x11,0xC1,0x1C,0xC1,0x11,0xA7,0xCC,
|
||||
0xDD,0x66,0x66,0x65,0xA3,0x66,0x65,0x66,0x66,0x6E,
|
||||
0xE6,0x6E,0xA3,0x66,0xDD,0xCC,0xCC,0x44,0xC8,
|
||||
0x8C,0x99,0x94,0x44,0x94,0x99,0xCC,
|
||||
0xC1,0xA3,0xCC,0xC1,0xA7,0xCC,0xDD,0xA3,0x66,0x16,
|
||||
0x91,0x16,0xA4,0x66,0xEE,0xA4,0x66,0x6D,0xA4,0xDC,
|
||||
0xD8,0xD9,0xD9,0xD4,0xD9,0xD9,0xDC,0xDC,0x8C,0x88,
|
||||
0x8E,0xEE,0xA7,0xDC,0x6D,0xA3,0x66,0x69,0x99,
|
||||
0x69,0xA3,0x66,0x05,0x55,0x66,0x55,0x65,
|
||||
0xA0,0x1C,0x66,0x86,0x96,0x99,0x96,0x86,0x66,0x66,
|
||||
0xA4,0x65,0xA0,0x1F,0x66,0x99,0xA0,0x1B,0x66,0xE6,0x6E,0xE6,
|
||||
0xA9,0x66,0x69,0xA0,0x2B,0x66,0xA1, };
|
||||
unsigned char landing_rle[]={
|
||||
0x28,0x28,
|
||||
0x03,0x66, 0x01,0x56, 0x27,0x66, 0x01,0x55, 0x01,0xF5, 0x26,0x66, 0x01,0x55,
|
||||
0x01,0xFF, 0x01,0xF5, 0x25,0x66, 0x01,0x55, 0x02,0xFF, 0x01,0xF5, 0x24,0x66,
|
||||
0x01,0x55, 0x03,0xFF, 0x01,0xF5, 0x20,0x66, 0x01,0xCC, 0x01,0x2C, 0x01,0xCC,
|
||||
0x01,0x55, 0x0F,0xF5, 0x04,0x22, 0x12,0xCC, 0x01,0x62, 0x01,0x22, 0x01,0x55,
|
||||
0x01,0xFF, 0x03,0x11, 0x01,0x44, 0x03,0x22, 0x01,0x44, 0x03,0x22, 0x03,0xFF,
|
||||
0x05,0x22, 0x11,0xCC, 0x01,0x22, 0x01,0x26, 0x01,0x55, 0x02,0xFF, 0x01,0x11,
|
||||
0x03,0x44, 0x01,0x22, 0x03,0x44, 0x01,0x22, 0x04,0xFF, 0x06,0x22, 0x10,0xCC,
|
||||
0x02,0x26, 0x01,0x55, 0x02,0xFF, 0x01,0xF1, 0x03,0xF4, 0x01,0xF2, 0x03,0xF4,
|
||||
0x01,0xF2, 0x01,0xFF, 0x02,0x8F, 0x01,0xFF, 0x07,0x22, 0x0F,0xCC, 0x01,0x62,
|
||||
0x01,0x26, 0x01,0x55, 0x0A,0x5F, 0x02,0xFF, 0x02,0x88, 0x01,0xFF, 0x08,0x22,
|
||||
0x0E,0xCC, 0x01,0x22, 0x01,0xC2, 0x01,0x55, 0x09,0xFF, 0x01,0x55, 0x02,0xFF,
|
||||
0x02,0x88, 0x0A,0xFF, 0x0F,0xCC, 0x03,0xC5, 0x01,0x85, 0x09,0xC5, 0x02,0x85,
|
||||
0x04,0xC5, 0x01,0x85, 0x05,0xC5, 0x11,0xCC, 0x01,0xC8, 0x09,0xCC, 0x04,0x85,
|
||||
0x04,0xCC, 0x01,0xC8, 0x1E,0xCC, 0x06,0x85, 0xFE,0xCC, 0x06,0xCC, 0xFF,0xFF, };
|
||||
0x28, /* ysize=40 */
|
||||
0xA3,0x66,0x56,0xA0,0x27,0x66,0x55,0xF5,0xA0,0x26,0x66,0x55,
|
||||
0xFF,0xF5,0xA0,0x25,0x66,0x55,0xFF,0xFF,0xF5,0xA0,0x24,0x66,
|
||||
0x55,0xA3,0xFF,0xF5,0xA0,0x20,0x66,0xCC,0x2C,0xCC,
|
||||
0x55,0xAF,0xF5,0xA4,0x22,0xA0,0x12,0xCC,0x62,0x22,0x55,
|
||||
0xFF,0xA3,0x11,0x44,0xA3,0x22,0x44,0xA3,0x22,0xA3,0xFF,
|
||||
0xA5,0x22,0xA0,0x11,0xCC,0x22,0x26,0x55,0xFF,0xFF,0x11,
|
||||
0xA3,0x44,0x22,0xA3,0x44,0x22,0xA4,0xFF,0xA6,0x22,0xA0,0x10,0xCC,
|
||||
0x26,0x26,0x55,0xFF,0xFF,0xF1,0xA3,0xF4,0xF2,0xA3,0xF4,
|
||||
0xF2,0xFF,0x8F,0x8F,0xFF,0xA7,0x22,0xAF,0xCC,0x62,
|
||||
0x26,0x55,0xAA,0x5F,0xFF,0xFF,0x88,0x88,0xFF,0xA8,0x22,
|
||||
0xAE,0xCC,0x22,0xC2,0x55,0xA9,0xFF,0x55,0xFF,0xFF,
|
||||
0x88,0x88,0xAA,0xFF,0xAF,0xCC,0xA3,0xC5,0x85,0xA9,0xC5,0x85,0x85,
|
||||
0xA4,0xC5,0x85,0xA5,0xC5,0xA0,0x11,0xCC,0xC8,0xA9,0xCC,0xA4,0x85,
|
||||
0xA4,0xCC,0xC8,0xA0,0x1E,0xCC,0xA6,0x85,0xA0,0xFF,0xCC,0xA5,0xCC,0xA1, };
|
||||
unsigned char harfco_rle[]={
|
||||
0x28,0x28,
|
||||
0x05,0x00, 0x1D,0xAA, 0x01,0x77, 0x09,0x00, 0x01,0xF0, 0x01,0x00, 0x1B,0xAA,
|
||||
0x01,0x77, 0x03,0x00, 0x01,0xF0, 0x03,0x00, 0x01,0xF0, 0x17,0x00, 0x01,0xF0,
|
||||
0x15,0x00, 0x01,0x0F, 0x19,0x00, 0x01,0xF0, 0x16,0x00, 0x01,0x0F, 0x17,0x00,
|
||||
0x28,0x22, 0x1D,0x77, 0x01,0x72, 0x0A,0x22, 0x1F,0x77, 0x01,0x72, 0x08,0x22,
|
||||
0x21,0x77, 0x01,0x72, 0x06,0x22, 0x11,0x77, 0x01,0x07, 0x01,0x77, 0x05,0x07,
|
||||
0x01,0x77, 0x01,0x00, 0x01,0x77, 0x01,0x07, 0x07,0x77, 0x05,0x22, 0x0C,0x77,
|
||||
0x01,0x57, 0x01,0x00, 0x01,0x57, 0x01,0x00, 0x01,0x57, 0x01,0x00, 0x01,0x57,
|
||||
0x05,0x00, 0x01,0x57, 0x01,0x00, 0x01,0x57, 0x01,0x00, 0x01,0x57, 0x07,0x77,
|
||||
0x04,0x22, 0x0B,0x77, 0x01,0x75, 0x01,0x55, 0x01,0x50, 0x03,0x55, 0x01,0x50,
|
||||
0x09,0x55, 0x01,0x50, 0x01,0x55, 0x01,0x75, 0x07,0x77, 0x03,0x22, 0x25,0x77,
|
||||
0x03,0x22, 0x24,0x77, 0x01,0x27, 0x03,0x22, 0x24,0x77, 0x04,0x22, 0x22,0x77,
|
||||
0x01,0x27, 0x05,0x22, 0x21,0x77, 0x01,0x27, 0x06,0x22, 0x20,0x77, 0x01,0x27,
|
||||
0x07,0x22, 0x1F,0x77, 0x01,0x27, 0x08,0x22, 0x1E,0x77, 0x01,0x27, 0x09,0x22, 0xFF,0xFF, };
|
||||
0x28, /* ysize=40 */
|
||||
0xA5,0x00,0xA0,0x1D,0x5A,0x77,0xA9,0x00,0xF0,0x00,0xA0,0x1B,0x5A,
|
||||
0x77,0xA3,0x00,0xF0,0xA3,0x00,0xF0,0xA0,0x17,0x00,0xF0,
|
||||
0xA0,0x15,0x00,0x0F,0xA0,0x19,0x00,0xF0,0xA0,0x16,0x00,0x0F,0xA0,0x17,0x00,
|
||||
0xA0,0x28,0x22,0xA0,0x1D,0x77,0x72,0xAA,0x22,0xA0,0x1F,0x77,0x72,0xA8,0x22,
|
||||
0xA0,0x21,0x77,0x72,0xA6,0x22,0xA0,0x11,0x77,0x07,0x77,0xA5,0x07,
|
||||
0x77,0x00,0x77,0x07,0xA7,0x77,0xA5,0x22,0xAC,0x77,
|
||||
0x57,0x00,0x57,0x00,0x57,0x00,0x57,
|
||||
0xA5,0x00,0x57,0x00,0x57,0x00,0x57,0xA7,0x77,
|
||||
0xA4,0x22,0xAB,0x77,0x75,0x55,0x50,0xA3,0x55,0x50,
|
||||
0xA9,0x55,0x50,0x55,0x75,0xA7,0x77,0xA3,0x22,0xA0,0x25,0x77,
|
||||
0xA3,0x22,0xA0,0x24,0x77,0x27,0xA3,0x22,0xA0,0x24,0x77,0xA4,0x22,0xA0,0x22,0x77,
|
||||
0x27,0xA5,0x22,0xA0,0x21,0x77,0x27,0xA6,0x22,0xA0,0x20,0x77,0x27,
|
||||
0xA7,0x22,0xA0,0x1F,0x77,0x27,0xA8,0x22,0xA0,0x1E,0x77,0x27,0xA9,0x22,0xA1, };
|
||||
unsigned char belair_rle[]={
|
||||
0x28,0x28,
|
||||
0x0A,0x00, 0x01,0x05, 0x01,0x57, 0x01,0x75, 0x01,0x57, 0x01,0x75, 0x01,0x57,
|
||||
0x01,0x75, 0x01,0x57, 0x01,0x75, 0x01,0x57, 0x01,0x75, 0x01,0x57, 0x01,0x75,
|
||||
0x01,0x57, 0x01,0x75, 0x01,0x57, 0x01,0x75, 0x01,0x57, 0x01,0x75, 0x01,0x57,
|
||||
0x01,0x05, 0x0B,0x00, 0x01,0x70, 0x09,0x00, 0x01,0x05, 0x0F,0x57, 0x01,0x05,
|
||||
0x05,0x00, 0x01,0x0D, 0x01,0xD0, 0x05,0x00, 0x01,0x07, 0x01,0x7F, 0x01,0x07,
|
||||
0x05,0x00, 0x01,0x70, 0x01,0xF7, 0x01,0x70, 0x17,0x00, 0x01,0xDD, 0x0E,0x00,
|
||||
0x01,0x07, 0x17,0x00, 0x01,0x0D, 0x0D,0x00, 0x01,0x70, 0x1C,0x00, 0x01,0x60,
|
||||
0x01,0xE6, 0x01,0x60, 0x07,0x00, 0x01,0x07, 0x01,0x7F, 0x01,0x07, 0x06,0x00,
|
||||
0x01,0x50, 0x06,0x85, 0x01,0x50, 0x0E,0x00, 0x01,0x06, 0x0C,0x00, 0x05,0x50,
|
||||
0x08,0x88, 0x10,0x00, 0x02,0x50, 0x01,0x20, 0x03,0x22, 0x01,0x92, 0x01,0xD9,
|
||||
0x03,0x50, 0x01,0x88, 0x01,0x98, 0x01,0x88, 0x01,0x98, 0x01,0x55, 0x01,0x88,
|
||||
0x01,0x89, 0x01,0x88, 0x02,0x08, 0x01,0x88, 0x01,0x89, 0x01,0x88, 0x03,0x50,
|
||||
0x06,0x40, 0x07,0x50, 0x01,0x20, 0x03,0x22, 0x01,0x92, 0x01,0xD9, 0x01,0x0D,
|
||||
0x01,0xD9, 0x03,0x00, 0x04,0x88, 0x01,0x55, 0x03,0x88, 0x02,0x00, 0x03,0x88,
|
||||
0x03,0x00, 0x06,0x74, 0x07,0x00, 0x02,0x22, 0x01,0x92, 0x01,0xD9, 0x01,0x0D,
|
||||
0x01,0xD9, 0x01,0x9D, 0x01,0xD9, 0x09,0x00, 0x01,0x08, 0x01,0x88, 0x02,0x00,
|
||||
0x01,0x88, 0x01,0x08, 0x04,0x00, 0x01,0x77, 0x01,0x07, 0x02,0xE7, 0x01,0x07,
|
||||
0x01,0x77, 0x07,0x00, 0x01,0x88, 0x01,0xD9, 0x01,0x0D, 0x01,0xD9, 0x01,0x9D,
|
||||
0x01,0xD9, 0x01,0x0D, 0x01,0xD9, 0x13,0x00, 0x01,0x77, 0x01,0x00, 0x02,0xEE,
|
||||
0x01,0x00, 0x01,0x77, 0x07,0x00, 0x01,0x88, 0x01,0xD9, 0x01,0x9D, 0x01,0xD9,
|
||||
0x01,0x0D, 0x01,0xD9, 0x01,0x9D, 0x01,0x09, 0x13,0x00, 0x02,0x77, 0x02,0xEE,
|
||||
0x02,0x77, 0x04,0x00, 0x01,0xD0, 0x01,0x10, 0x01,0x00, 0x01,0x88, 0x01,0xD9,
|
||||
0x01,0x0D, 0x01,0xD9, 0x01,0x00, 0x01,0x09, 0x1F,0x00, 0x01,0xDD, 0x01,0x11,
|
||||
0x01,0x01, 0x01,0x88, 0x01,0xD9, 0x01,0x9D, 0x01,0x09, 0x21,0x00, 0x01,0xDD,
|
||||
0x02,0x00, 0x01,0x08, 0x01,0x09, 0x20,0x00, 0x01,0x40, 0x01,0x44, 0x01,0x04,
|
||||
0x01,0xDD, 0x01,0x04, 0x01,0x44, 0x23,0x00, 0x05,0x04, 0xA0,0x00, 0xFF,0xFF, };
|
||||
0x28, /* ysize=40 */
|
||||
0xAA,0x00,0x05,0x57,0x75,0x57,0x75,0x57,
|
||||
0x75,0x57,0x75,0x57,0x75,0x57,0x75,
|
||||
0x57,0x75,0x57,0x75,0x57,0x75,0x57,
|
||||
0x05,0xAB,0x00,0x70,0xA9,0x00,0x05,0xAF,0x57,0x05,
|
||||
0xA5,0x00,0x0D,0xD0,0xA5,0x00,0x07,0x7F,0x07,
|
||||
0xA5,0x00,0x70,0xF7,0x70,0xA0,0x17,0x00,0xDD,0xAE,0x00,
|
||||
0x07,0xA0,0x17,0x00,0x0D,0xAD,0x00,0x70,0xA0,0x1C,0x00,0x60,
|
||||
0xE6,0x60,0xA7,0x00,0x07,0x7F,0x07,0xA6,0x00,
|
||||
0x50,0xA6,0x85,0x50,0xAE,0x00,0x06,0xAC,0x00,0xA5,0x50,
|
||||
0xA8,0x88,0xA0,0x10,0x00,0x50,0x50,0x20,0xA3,0x22,0x92,0xD9,
|
||||
0xA3,0x50,0x88,0x98,0x88,0x98,0x55,0x88,
|
||||
0x89,0x88,0x08,0x08,0x88,0x89,0x88,0xA3,0x50,
|
||||
0xA6,0x40,0xA7,0x50,0x20,0xA3,0x22,0x92,0xD9,0x0D,
|
||||
0xD9,0xA3,0x00,0xA4,0x88,0x55,0xA3,0x88,0x00,0x00,0xA3,0x88,
|
||||
0xA3,0x00,0xA6,0x74,0xA7,0x00,0x22,0x22,0x92,0xD9,0x0D,
|
||||
0xD9,0x9D,0xD9,0xA9,0x00,0x08,0x88,0x00,0x00,
|
||||
0x88,0x08,0xA4,0x00,0x77,0x07,0xE7,0xE7,0x07,
|
||||
0x77,0xA7,0x00,0x88,0xD9,0x0D,0xD9,0x9D,
|
||||
0xD9,0x0D,0xD9,0xA0,0x13,0x00,0x77,0x00,0xEE,0xEE,
|
||||
0x00,0x77,0xA7,0x00,0x88,0xD9,0x9D,0xD9,
|
||||
0x0D,0xD9,0x9D,0x09,0xA0,0x13,0x00,0x77,0x77,0xEE,0xEE,
|
||||
0x77,0x77,0xA4,0x00,0xD0,0x10,0x00,0x88,0xD9,
|
||||
0x0D,0xD9,0x00,0x09,0xA0,0x1F,0x00,0xDD,0x11,
|
||||
0x01,0x88,0xD9,0x9D,0x09,0xA0,0x21,0x00,0xDD,
|
||||
0x00,0x00,0x08,0x09,0xA0,0x20,0x00,0x40,0x44,0x04,
|
||||
0xDD,0x04,0x44,0xA0,0x23,0x00,0xA5,0x04,0xA0,0xA0,0x00,0xA1, };
|
||||
unsigned char math_office_rle[]={
|
||||
0x28,0x28,
|
||||
0x19,0x00, 0x0F,0x44, 0x19,0x00, 0x01,0x44, 0x01,0xFF, 0x01,0x4F, 0x01,0xF4,
|
||||
0x02,0x44, 0x01,0xF4, 0x01,0xFF, 0x01,0xF4, 0x02,0x44, 0x01,0xFF, 0x01,0xF4,
|
||||
0x01,0x44, 0x01,0xFF, 0x19,0x00, 0x01,0x44, 0x01,0xFF, 0x01,0x4F, 0x01,0xF4,
|
||||
0x01,0x44, 0x01,0x4F, 0x01,0x44, 0x01,0xFF, 0x01,0x44, 0x01,0x4F, 0x01,0x44,
|
||||
0x01,0xFF, 0x01,0x44, 0x01,0x4F, 0x01,0xFF, 0x19,0x00, 0x01,0x44, 0x02,0x4F,
|
||||
0x04,0x44, 0x01,0x4F, 0x03,0x44, 0x01,0x4F, 0x02,0x44, 0x01,0x4F, 0x19,0x00,
|
||||
0x0F,0x44, 0x02,0x00, 0x01,0x88, 0x01,0xB8, 0x07,0x00, 0x02,0x80, 0x07,0x00,
|
||||
0x01,0xB8, 0x01,0x88, 0x02,0x00, 0x01,0x0A, 0x0F,0x07, 0x02,0x00, 0x01,0x88,
|
||||
0x01,0xBB, 0x01,0x0B, 0x06,0x00, 0x01,0x88, 0x01,0xBB, 0x01,0xB0, 0x05,0x00,
|
||||
0x01,0x0B, 0x01,0xBB, 0x01,0x88, 0x04,0x00, 0x01,0xB8, 0x01,0x88, 0x0E,0x00,
|
||||
0x01,0x88, 0x08,0x00, 0x01,0x88, 0x01,0xFB, 0x07,0x00, 0x01,0x2B, 0x04,0x00,
|
||||
0x01,0x0B, 0x01,0xBB, 0x01,0x88, 0x0E,0x00, 0x01,0x77, 0x01,0xFF, 0x07,0x00,
|
||||
0x01,0xF8, 0x01,0xFF, 0x01,0xF0, 0x05,0x00, 0x01,0x44, 0x01,0x22, 0x05,0x00,
|
||||
0x01,0xFF, 0x01,0x08, 0x01,0x80, 0x0D,0x00, 0x02,0xF7, 0x01,0x0B, 0x06,0x00,
|
||||
0x01,0x7F, 0x01,0x11, 0x01,0x7F, 0x04,0x70, 0x01,0x11, 0x01,0x74, 0x01,0x72,
|
||||
0x03,0x70, 0x01,0x11, 0x02,0x7F, 0x06,0x70, 0x09,0x00, 0x02,0x4F, 0x05,0x00,
|
||||
0x01,0x70, 0x02,0x77, 0x01,0x71, 0x05,0x77, 0x01,0x71, 0x05,0x77, 0x01,0x71,
|
||||
0x06,0x77, 0x01,0x57, 0x01,0x55, 0x09,0x00, 0x02,0x44, 0x04,0x00, 0x16,0x57,
|
||||
0x01,0x55, 0x01,0x05, 0x01,0x55, 0x08,0x00, 0x02,0x04, 0x01,0xB4, 0x01,0x04,
|
||||
0x03,0x00, 0x01,0x55, 0x02,0x05, 0x01,0x55, 0x01,0x05, 0x01,0xB5, 0x04,0x05,
|
||||
0x01,0xD5, 0x05,0x05, 0x01,0xB5, 0x04,0x05, 0x01,0x55, 0x02,0x00, 0x01,0x55,
|
||||
0x0A,0x00, 0x01,0xBB, 0x04,0x00, 0x01,0x55, 0x02,0x00, 0x01,0x55, 0x01,0x00,
|
||||
0x02,0x08, 0x02,0x00, 0x02,0x08, 0x04,0x00, 0x02,0x08, 0x04,0x00, 0x01,0x55,
|
||||
0x02,0x00, 0x01,0x55, 0x0A,0x00, 0x01,0x8B, 0x01,0x80, 0x03,0x00, 0x01,0x55,
|
||||
0x02,0x00, 0x01,0x55, 0x11,0x00, 0x01,0x55, 0x02,0x00, 0x01,0x55, 0x0A,0x00,
|
||||
0x02,0x08, 0x03,0x00, 0x01,0x55, 0x02,0x00, 0x01,0x05, 0x11,0x00, 0x01,0x55,
|
||||
0x02,0x00, 0x01,0x05, 0x0F,0x00, 0x01,0x55, 0x14,0x00, 0x01,0x55, 0x82,0x00, 0xFF,0xFF, };
|
||||
0x28, /* ysize=40 */
|
||||
0xA0,0x19,0x00,0xAF,0x44,0xA0,0x19,0x00,0x44,0xFF,0x4F,0xF4,
|
||||
0x44,0x44,0xF4,0xFF,0xF4,0x44,0x44,0xFF,0xF4,
|
||||
0x44,0xFF,0xA0,0x19,0x00,0x44,0xFF,0x4F,0xF4,
|
||||
0x44,0x4F,0x44,0xFF,0x44,0x4F,0x44,
|
||||
0xFF,0x44,0x4F,0xFF,0xA0,0x19,0x00,0x44,0x4F,0x4F,
|
||||
0xA4,0x44,0x4F,0xA3,0x44,0x4F,0x44,0x44,0x4F,0xA0,0x19,0x00,
|
||||
0xAF,0x44,0x00,0x00,0x88,0xB8,0xA7,0x00,0x80,0x80,0xA7,0x00,
|
||||
0xB8,0x88,0x00,0x00,0x0A,0xAF,0x07,0x00,0x00,0x88,
|
||||
0xBB,0x0B,0xA6,0x00,0x88,0xBB,0xB0,0xA5,0x00,
|
||||
0x0B,0xBB,0x88,0xA4,0x00,0xB8,0x88,0xAE,0x00,
|
||||
0x88,0xA8,0x00,0x88,0xFB,0xA7,0x00,0x2B,0xA4,0x00,
|
||||
0x0B,0xBB,0x88,0xAE,0x00,0x77,0xFF,0xA7,0x00,
|
||||
0xF8,0xFF,0xF0,0xA5,0x00,0x44,0x22,0xA5,0x00,
|
||||
0xFF,0x08,0x80,0xAD,0x00,0xF7,0xF7,0x0B,0xA6,0x00,
|
||||
0x7F,0x11,0x7F,0xA4,0x70,0x11,0x74,0x72,
|
||||
0xA3,0x70,0x11,0x7F,0x7F,0xA6,0x70,0xA9,0x00,0x4F,0x4F,0xA5,0x00,
|
||||
0x70,0x77,0x77,0x71,0xA5,0x77,0x71,0xA5,0x77,0x71,
|
||||
0xA6,0x77,0x57,0x55,0xA9,0x00,0x44,0x44,0xA4,0x00,0xA0,0x16,0x57,
|
||||
0x55,0x05,0x55,0xA8,0x00,0x04,0x04,0xB4,0x04,
|
||||
0xA3,0x00,0x55,0x05,0x05,0x55,0x05,0xB5,0xA4,0x05,
|
||||
0xD5,0xA5,0x05,0xB5,0xA4,0x05,0x55,0x00,0x00,0x55,
|
||||
0xAA,0x00,0xBB,0xA4,0x00,0x55,0x00,0x00,0x55,0x00,
|
||||
0x08,0x08,0x00,0x00,0x08,0x08,0xA4,0x00,0x08,0x08,0xA4,0x00,0x55,
|
||||
0x00,0x00,0x55,0xAA,0x00,0x8B,0x80,0xA3,0x00,0x55,
|
||||
0x00,0x00,0x55,0xA0,0x11,0x00,0x55,0x00,0x00,0x55,0xAA,0x00,
|
||||
0x08,0x08,0xA3,0x00,0x55,0x00,0x00,0x05,0xA0,0x11,0x00,0x55,
|
||||
0x00,0x00,0x05,0xAF,0x00,0x55,0xA0,0x14,0x00,0x55,0xA0,0x82,0x00,0xA1, };
|
||||
unsigned char video_hr_rle[]={
|
||||
0x28,0x28,
|
||||
0x20,0x00, 0x01,0x77, 0x06,0x57, 0x01,0x77, 0x20,0x00, 0x01,0x77, 0x02,0x55,
|
||||
0x01,0x15, 0x03,0x55, 0x01,0x77, 0x20,0x00, 0x01,0x77, 0x01,0x55, 0x01,0x51,
|
||||
0x01,0x11, 0x03,0x55, 0x01,0x77, 0x20,0x00, 0x01,0x77, 0x02,0x55, 0x01,0x11,
|
||||
0x03,0x55, 0x01,0x77, 0x13,0x00, 0x01,0x50, 0x02,0x55, 0x01,0x50, 0x09,0x00,
|
||||
0x01,0x77, 0x01,0x55, 0x03,0x51, 0x02,0x55, 0x01,0x77, 0x03,0x00, 0x06,0x70,
|
||||
0x03,0x00, 0x01,0xDD, 0x01,0xBD, 0x05,0x00, 0x01,0xB0, 0x01,0xBB, 0x01,0x88,
|
||||
0x04,0x00, 0x02,0x80, 0x04,0x00, 0x01,0x77, 0x01,0x7C, 0x06,0x77, 0x02,0x00,
|
||||
0x01,0x70, 0x04,0x77, 0x01,0x87, 0x01,0x88, 0x03,0x00, 0x01,0xDD, 0x01,0xBB,
|
||||
0x01,0x0B, 0x05,0x00, 0x01,0xBB, 0x01,0x08, 0x03,0x00, 0x01,0xB0, 0x01,0xBB,
|
||||
0x01,0x88, 0x09,0x00, 0x01,0x05, 0x01,0x50, 0x02,0x00, 0x01,0x74, 0x01,0x47,
|
||||
0x01,0x44, 0x02,0x77, 0x01,0x87, 0x01,0x00, 0x01,0x88, 0x03,0x00, 0x01,0xDD,
|
||||
0x01,0xFF, 0x06,0x00, 0x02,0x22, 0x04,0x00, 0x01,0xBB, 0x01,0x08, 0x0B,0x00,
|
||||
0x01,0x05, 0x01,0x77, 0x02,0x99, 0x01,0x74, 0x01,0x77, 0x01,0x87, 0x02,0x00,
|
||||
0x01,0x88, 0x03,0x00, 0x01,0xDD, 0x01,0xFF, 0x01,0x0F, 0x01,0x0B, 0x02,0x00,
|
||||
0x01,0xB0, 0x01,0x20, 0x02,0x22, 0x04,0x00, 0x01,0x11, 0x0D,0x00, 0x01,0x77,
|
||||
0x02,0x79, 0x01,0x77, 0x01,0x87, 0x01,0x00, 0x02,0xE0, 0x01,0x88, 0x03,0x00,
|
||||
0x01,0x0D, 0x01,0x8F, 0x06,0x00, 0x02,0x52, 0x02,0x00, 0x01,0x0B, 0x01,0x01,
|
||||
0x01,0x11, 0x0D,0x00, 0x03,0x77, 0x01,0x87, 0x01,0x00, 0x01,0xD0, 0x01,0xDE,
|
||||
0x01,0xEE, 0x01,0x88, 0x04,0x07, 0x01,0x88, 0x06,0x07, 0x02,0x55, 0x04,0x07,
|
||||
0x01,0x44, 0x0D,0x07, 0x02,0x77, 0x01,0x87, 0x01,0x00, 0x01,0x30, 0x01,0x3D,
|
||||
0x01,0xDD, 0x01,0x8E, 0x01,0x08, 0x03,0x00, 0x01,0x08, 0x01,0xB8, 0x01,0x08,
|
||||
0x05,0x00, 0x02,0x55, 0x04,0x00, 0x01,0x44, 0x0D,0x00, 0x01,0x77, 0x01,0x08,
|
||||
0x01,0x00, 0x02,0x22, 0x01,0x33, 0x01,0x8D, 0x01,0x08, 0x05,0x00, 0x01,0xBB,
|
||||
0x06,0x00, 0x02,0x55, 0x04,0x00, 0x01,0x44, 0x0D,0x00, 0x01,0x08, 0x01,0x00,
|
||||
0x01,0x10, 0x01,0x12, 0x01,0x22, 0x01,0x83, 0x01,0x08, 0x06,0x00, 0x02,0x08,
|
||||
0x04,0x00, 0x03,0x08, 0x03,0x00, 0x02,0x08, 0x0E,0x00, 0x01,0x40, 0x01,0x41,
|
||||
0x01,0x11, 0x01,0x82, 0x01,0x08, 0x22,0x00, 0x01,0x19, 0x01,0x99, 0x01,0x44,
|
||||
0x01,0x11, 0x01,0x88, 0x23,0x00, 0x01,0x11, 0x01,0x99, 0x01,0x44, 0x01,0x88,
|
||||
0x24,0x00, 0x01,0x11, 0x01,0x99, 0x01,0x88, 0x25,0x00, 0x01,0x11, 0x01,0x88,
|
||||
0x26,0x00, 0x01,0x88, 0x27,0x00, 0xFF,0xFF, };
|
||||
0x28, /* ysize=40 */
|
||||
0xA0,0x20,0x00,0x77,0xA6,0x57,0x77,0xA0,0x20,0x00,0x77,0x55,0x55,
|
||||
0x15,0xA3,0x55,0x77,0xA0,0x20,0x00,0x77,0x55,0x51,
|
||||
0x11,0xA3,0x55,0x77,0xA0,0x20,0x00,0x77,0x55,0x55,0x11,
|
||||
0xA3,0x55,0x77,0xA0,0x13,0x00,0x50,0x55,0x55,0x50,0xA9,0x00,
|
||||
0x77,0x55,0xA3,0x51,0x55,0x55,0x77,0xA3,0x00,0xA6,0x70,
|
||||
0xA3,0x00,0xDD,0xBD,0xA5,0x00,0xB0,0xBB,0x88,
|
||||
0xA4,0x00,0x80,0x80,0xA4,0x00,0x77,0x7C,0xA6,0x77,0x00,0x00,
|
||||
0x70,0xA4,0x77,0x87,0x88,0xA3,0x00,0xDD,0xBB,
|
||||
0x0B,0xA5,0x00,0xBB,0x08,0xA3,0x00,0xB0,0xBB,
|
||||
0x88,0xA9,0x00,0x05,0x50,0x00,0x00,0x74,0x47,
|
||||
0x44,0x77,0x77,0x87,0x00,0x88,0xA3,0x00,0xDD,
|
||||
0xFF,0xA6,0x00,0x22,0x22,0xA4,0x00,0xBB,0x08,0xAB,0x00,
|
||||
0x05,0x77,0x99,0x99,0x74,0x77,0x87,0x00,0x00,
|
||||
0x88,0xA3,0x00,0xDD,0xFF,0x0F,0x0B,0x00,0x00,
|
||||
0xB0,0x20,0x22,0x22,0xA4,0x00,0x11,0xAD,0x00,0x77,
|
||||
0x79,0x79,0x77,0x87,0x00,0xE0,0xE0,0x88,0xA3,0x00,
|
||||
0x0D,0x8F,0xA6,0x00,0x52,0x52,0x00,0x00,0x0B,0x01,
|
||||
0x11,0xAD,0x00,0xA3,0x77,0x87,0x00,0xD0,0xDE,
|
||||
0xEE,0x88,0xA4,0x07,0x88,0xA6,0x07,0x55,0x55,0xA4,0x07,
|
||||
0x44,0xAD,0x07,0x77,0x77,0x87,0x00,0x30,0x3D,
|
||||
0xDD,0x8E,0x08,0xA3,0x00,0x08,0xB8,0x08,
|
||||
0xA5,0x00,0x55,0x55,0xA4,0x00,0x44,0xAD,0x00,0x77,0x08,
|
||||
0x00,0x22,0x22,0x33,0x8D,0x08,0xA5,0x00,0xBB,
|
||||
0xA6,0x00,0x55,0x55,0xA4,0x00,0x44,0xAD,0x00,0x08,0x00,
|
||||
0x10,0x12,0x22,0x83,0x08,0xA6,0x00,0x08,0x08,
|
||||
0xA4,0x00,0xA3,0x08,0xA3,0x00,0x08,0x08,0xAE,0x00,0x40,0x41,
|
||||
0x11,0x82,0x08,0xA0,0x22,0x00,0x19,0x99,0x44,
|
||||
0x11,0x88,0xA0,0x23,0x00,0x11,0x99,0x44,0x88,
|
||||
0xA0,0x24,0x00,0x11,0x99,0x88,0xA0,0x25,0x00,0x11,0x88,
|
||||
0xA0,0x26,0x00,0x88,0xA0,0x27,0x00,0xA1, };
|
||||
unsigned char collegep_rle[]={
|
||||
0x28,0x28,
|
||||
0x21,0x66, 0x02,0xF6, 0x08,0x66, 0x02,0xF6, 0x03,0xFF, 0x01,0xF6, 0x15,0x66,
|
||||
0x01,0xF6, 0x05,0xFF, 0x01,0xF6, 0x06,0x66, 0x01,0x6F, 0x01,0x5F, 0x01,0xFF,
|
||||
0x01,0xF5, 0x03,0xFF, 0x05,0x66, 0x01,0x76, 0x04,0xA6, 0x01,0x76, 0x04,0xA6,
|
||||
0x01,0x76, 0x03,0x66, 0x02,0x5F, 0x03,0xFF, 0x02,0x5F, 0x01,0x6F, 0x08,0x66,
|
||||
0x04,0x65, 0x05,0x66, 0x03,0x17, 0x02,0x1A, 0x01,0x17, 0x01,0xF7, 0x01,0x17,
|
||||
0x02,0x1A, 0x03,0x17, 0x03,0x66, 0x02,0x65, 0x02,0x6F, 0x14,0x66, 0x01,0x1F,
|
||||
0x01,0xFF, 0x01,0x1F, 0x01,0x4F, 0x01,0x1F, 0x01,0xFF, 0x01,0x1F, 0x01,0xFF,
|
||||
0x01,0x1F, 0x01,0x4F, 0x01,0x1F, 0x01,0xFF, 0x01,0x1F, 0x0D,0x66, 0x0E,0xCC,
|
||||
0x01,0x11, 0x01,0xFF, 0x01,0x11, 0x01,0x84, 0x01,0x11, 0x01,0xFF, 0x01,0x00,
|
||||
0x01,0xFF, 0x01,0x11, 0x01,0x84, 0x01,0x11, 0x01,0xFF, 0x01,0x11, 0x1B,0xCC,
|
||||
0x01,0xC7, 0x01,0xCF, 0x01,0xC7, 0x01,0xC8, 0x01,0xC7, 0x01,0xCF, 0x01,0xC0,
|
||||
0x01,0xCF, 0x01,0xC7, 0x01,0xC8, 0x01,0xC7, 0x01,0xCF, 0x01,0xC7, 0x1E,0xCC,
|
||||
0x01,0x5C, 0x02,0x15, 0x01,0x55, 0x02,0x15, 0x01,0x5C, 0x21,0xCC, 0x01,0x55,
|
||||
0x01,0x11, 0x01,0x55, 0x01,0x51, 0x01,0x55, 0x01,0x11, 0x01,0x55, 0x21,0xCC,
|
||||
0x01,0xC5, 0x01,0x51, 0x03,0x55, 0x01,0x51, 0x01,0xC5, 0x05,0xCC, 0x01,0x5C,
|
||||
0x0A,0x88, 0x0B,0xCC, 0x01,0xFC, 0x01,0xFF, 0x01,0x5C, 0x01,0xCC, 0x01,0xDC,
|
||||
0x08,0x8C, 0x05,0xCC, 0x01,0x88, 0x01,0x77, 0x01,0x7E, 0x08,0xEE, 0x0A,0xCC,
|
||||
0x01,0x8F, 0x02,0xFF, 0x01,0x85, 0x01,0xED, 0x09,0xEE, 0x02,0xE8, 0x01,0xDC,
|
||||
0x02,0xCC, 0x01,0x88, 0x02,0x77, 0x01,0x85, 0x01,0x58, 0x01,0x98, 0x05,0x88,
|
||||
0x09,0xCC, 0x01,0x9C, 0x02,0x88, 0x01,0x48, 0x01,0x58, 0x01,0x88, 0x01,0x8E,
|
||||
0x0A,0xEE, 0x01,0xED, 0x01,0xDC, 0x01,0xCC, 0x01,0x88, 0x02,0x77, 0x01,0x88,
|
||||
0x01,0x85, 0x03,0x58, 0x01,0x55, 0x02,0x58, 0x08,0xCC, 0x01,0x8C, 0x01,0x98,
|
||||
0x03,0x88, 0x01,0x48, 0x01,0x88, 0x01,0xA8, 0x01,0x8E, 0x0A,0xEE, 0x01,0xDD,
|
||||
0x01,0xCC, 0x01,0xC8, 0x02,0x77, 0x02,0x88, 0x01,0x55, 0x02,0x88, 0x01,0x85,
|
||||
0x02,0x88, 0x07,0xCC, 0x01,0x8C, 0x01,0x89, 0x02,0x88, 0x01,0x89, 0x04,0x88,
|
||||
0x01,0x85, 0x01,0x88, 0x0B,0xEE, 0x03,0xC7, 0x01,0xC8, 0x01,0x88, 0x01,0x55,
|
||||
0x03,0x88, 0x02,0x48, 0x06,0xCC, 0x01,0x8C, 0x01,0x89, 0x01,0x98, 0x01,0x88,
|
||||
0x01,0x98, 0x01,0x88, 0x01,0x84, 0x03,0x88, 0x01,0x85, 0x01,0x88, 0x01,0xA8,
|
||||
0x06,0xEE, 0x01,0xDE, 0x01,0xCE, 0x07,0xCC, 0x01,0x55, 0x01,0x48, 0x02,0x44,
|
||||
0x01,0x49, 0x01,0x44, 0x08,0xCC, 0x05,0xC8, 0x06,0x88, 0x05,0xEE, 0x01,0xDD,
|
||||
0x01,0xCD, 0x07,0xCC, 0x01,0x4C, 0x02,0x44, 0x01,0x49, 0x03,0x44, 0x11,0xDD,
|
||||
0x01,0xED, 0x05,0xEE, 0x11,0xDD, 0x10,0x77, 0x01,0xE7, 0x05,0xEE, 0x12,0x77, 0x28,0x22, 0xFF,0xFF, };
|
||||
0x28, /* ysize=40 */
|
||||
0xA0,0x21,0x66,0xF6,0xF6,0xA8,0x66,0xF6,0xF6,0xA3,0xFF,0xF6,0xA0,0x15,0x66,
|
||||
0xF6,0xA5,0xFF,0xF6,0xA6,0x66,0x6F,0x5F,0xFF,
|
||||
0xF5,0xA3,0xFF,0xA5,0x66,0x76,0xA4,0x56,0x76,0xA4,0x56,
|
||||
0x76,0xA3,0x66,0x5F,0x5F,0xA3,0xFF,0x5F,0x5F,0x6F,0xA8,0x66,
|
||||
0xA4,0x65,0xA5,0x66,0xA3,0x17,0x1A,0x1A,0x17,0xF7,0x17,
|
||||
0x1A,0x1A,0xA3,0x17,0xA3,0x66,0x65,0x65,0x6F,0x6F,0xA0,0x14,0x66,0x1F,
|
||||
0xFF,0x1F,0x4F,0x1F,0xFF,0x1F,0xFF,
|
||||
0x1F,0x4F,0x1F,0xFF,0x1F,0xAD,0x66,0xAE,0xCC,
|
||||
0x11,0xFF,0x11,0x84,0x11,0xFF,0x00,
|
||||
0xFF,0x11,0x84,0x11,0xFF,0x11,0xA0,0x1B,0xCC,
|
||||
0xC7,0xCF,0xC7,0xC8,0xC7,0xCF,0xC0,
|
||||
0xCF,0xC7,0xC8,0xC7,0xCF,0xC7,0xA0,0x1E,0xCC,
|
||||
0x5C,0x15,0x15,0x55,0x15,0x15,0x5C,0xA0,0x21,0xCC,0x55,
|
||||
0x11,0x55,0x51,0x55,0x11,0x55,0xA0,0x21,0xCC,
|
||||
0xC5,0x51,0xA3,0x55,0x51,0xC5,0xA5,0xCC,0x5C,
|
||||
0xAA,0x88,0xAB,0xCC,0xFC,0xFF,0x5C,0xCC,0xDC,
|
||||
0xA8,0x8C,0xA5,0xCC,0x88,0x77,0x7E,0xA8,0xEE,0xAA,0xCC,
|
||||
0x8F,0xFF,0xFF,0x85,0xED,0xA9,0xEE,0xE8,0xE8,0xDC,
|
||||
0xCC,0xCC,0x88,0x77,0x77,0x85,0x58,0x98,0xA5,0x88,
|
||||
0xA9,0xCC,0x9C,0x88,0x88,0x48,0x58,0x88,0x8E,
|
||||
0xAA,0xEE,0xED,0xDC,0xCC,0x88,0x77,0x77,0x88,
|
||||
0x85,0xA3,0x58,0x55,0x58,0x58,0xA8,0xCC,0x8C,0x98,
|
||||
0xA3,0x88,0x48,0x88,0x58,0x8E,0xAA,0xEE,0xDD,
|
||||
0xCC,0xC8,0x77,0x77,0x88,0x88,0x55,0x88,0x88,0x85,
|
||||
0x88,0x88,0xA7,0xCC,0x8C,0x89,0x88,0x88,0x89,0xA4,0x88,
|
||||
0x85,0x88,0xAB,0xEE,0xA3,0xC7,0xC8,0x88,0x55,
|
||||
0xA3,0x88,0x48,0x48,0xA6,0xCC,0x8C,0x89,0x98,0x88,
|
||||
0x98,0x88,0x84,0xA3,0x88,0x85,0x88,0x58,
|
||||
0xA6,0xEE,0xDE,0xCE,0xA7,0xCC,0x55,0x48,0x44,0x44,
|
||||
0x49,0x44,0xA8,0xCC,0xA5,0xC8,0xA6,0x88,0xA5,0xEE,0xDD,
|
||||
0xCD,0xA7,0xCC,0x4C,0x44,0x44,0x49,0xA3,0x44,0xA0,0x11,0xDD,
|
||||
0xED,0xA5,0xEE,0xA0,0x11,0xDD,0xA0,0x10,0x77,0xE7,0xA5,0xEE,0xA0,0x12,0x77,
|
||||
0xA0,0x28,0x22,0xA1, };
|
||||
unsigned char umcp_rle[]={
|
||||
0x28,0x28,
|
||||
0x1D,0x66, 0x03,0xF6, 0x01,0x76, 0x03,0x56, 0x10,0x66, 0x02,0x96, 0x0D,0x66,
|
||||
0x01,0xF6, 0x01,0x7F, 0x01,0xFF, 0x01,0x7F, 0x01,0x57, 0x01,0x75, 0x01,0x57,
|
||||
0x01,0x77, 0x01,0x55, 0x0F,0x66, 0x01,0x99, 0x02,0xDD, 0x01,0x99, 0x08,0x66,
|
||||
0x01,0xF6, 0x01,0x7F, 0x01,0xF7, 0x01,0x7F, 0x03,0x77, 0x01,0x75, 0x01,0x57,
|
||||
0x01,0x75, 0x02,0x55, 0x01,0x65, 0x0B,0x66, 0x01,0xF6, 0x01,0x76, 0x01,0x56,
|
||||
0x01,0x66, 0x01,0x99, 0x02,0xDD, 0x01,0x99, 0x08,0x66, 0x01,0x6F, 0x01,0xF7,
|
||||
0x03,0x77, 0x01,0x57, 0x02,0x55, 0x03,0x65, 0x0A,0x66, 0x01,0xFF, 0x01,0x7F,
|
||||
0x01,0xFF, 0x01,0x77, 0x01,0x55, 0x01,0x65, 0x02,0x66, 0x02,0x69, 0x2B,0x66,
|
||||
0x07,0x46, 0x1C,0x66, 0x01,0x44, 0x03,0x66, 0x09,0xD4, 0x12,0x66, 0x01,0x16,
|
||||
0x01,0x66, 0x01,0xF6, 0x01,0x66, 0x01,0x16, 0x03,0x66, 0x03,0x44, 0x02,0x66,
|
||||
0x01,0xDD, 0x01,0x5D, 0x02,0xDD, 0x01,0x5D, 0x02,0xDD, 0x01,0x5D, 0x01,0xDD,
|
||||
0x02,0x66, 0x02,0x86, 0x01,0x46, 0x08,0x66, 0x02,0xD6, 0x03,0x66, 0x01,0x51,
|
||||
0x01,0x56, 0x01,0x5F, 0x01,0x56, 0x01,0x51, 0x02,0x66, 0x02,0x64, 0x01,0x84,
|
||||
0x02,0x64, 0x01,0x66, 0x01,0xDD, 0x01,0xD5, 0x01,0xDD, 0x01,0x4D, 0x01,0x44,
|
||||
0x01,0x4D, 0x01,0xDD, 0x01,0xD5, 0x01,0xDD, 0x01,0x66, 0x01,0x86, 0x01,0x88,
|
||||
0x01,0x84, 0x02,0x44, 0x05,0x66, 0x02,0x6D, 0x02,0x1D, 0x01,0xCC, 0x01,0x5C,
|
||||
0x07,0x55, 0x01,0x5C, 0x02,0xCC, 0x01,0x88, 0x03,0xCC, 0x01,0xDD, 0x01,0x5D,
|
||||
0x02,0xDD, 0x01,0x8D, 0x02,0xDD, 0x01,0x5D, 0x01,0xDD, 0x01,0xCC, 0x01,0xC8,
|
||||
0x01,0x88, 0x03,0x44, 0x01,0xC0, 0x01,0x08, 0x01,0x58, 0x01,0x50, 0x01,0x0C,
|
||||
0x02,0xCC, 0x02,0x11, 0x01,0xCC, 0x01,0x1F, 0x01,0xFF, 0x05,0x1F, 0x01,0xFF,
|
||||
0x01,0x1F, 0x02,0xCC, 0x01,0x88, 0x03,0xCC, 0x01,0xDD, 0x01,0xD5, 0x02,0xDD,
|
||||
0x01,0x88, 0x02,0xDD, 0x01,0xD5, 0x01,0xDD, 0x02,0xCC, 0x02,0xC8, 0x01,0xC4,
|
||||
0x02,0xCC, 0x01,0xC0, 0x01,0x08, 0x01,0x58, 0x01,0x50, 0x01,0x05, 0x01,0x55,
|
||||
0x01,0x11, 0x01,0x10, 0x01,0xCC, 0x01,0x11, 0x01,0xFF, 0x01,0x10, 0x01,0x11,
|
||||
0x01,0x10, 0x01,0x11, 0x01,0x10, 0x01,0xFF, 0x01,0x11, 0x17,0xCC, 0x01,0x00,
|
||||
0x01,0x08, 0x01,0x58, 0x01,0x50, 0x01,0x05, 0x01,0x51, 0x01,0x11, 0x01,0xCC,
|
||||
0x01,0x11, 0x01,0xFF, 0x01,0x10, 0x01,0x11, 0x01,0x88, 0x01,0x11, 0x01,0x10,
|
||||
0x01,0xFF, 0x01,0x11, 0x18,0xCC, 0x01,0x00, 0x02,0x58, 0x01,0x50, 0x01,0x00,
|
||||
0x01,0x51, 0x01,0xCC, 0x01,0x11, 0x01,0x7F, 0x02,0x71, 0x01,0x78, 0x02,0x71,
|
||||
0x01,0x7F, 0x01,0x11, 0x19,0xCC, 0x01,0x00, 0x02,0x88, 0x01,0x00, 0x01,0x05,
|
||||
0x01,0xCC, 0x09,0xC7, 0x09,0xCC, 0x03,0x5C, 0x0D,0xCC, 0x01,0xC0, 0x01,0x05,
|
||||
0x02,0x85, 0x01,0x00, 0x11,0xCC, 0x01,0x5C, 0x01,0xE5, 0x03,0xEE, 0x01,0xE5,
|
||||
0x01,0x5C, 0x0C,0xCC, 0x01,0x00, 0x02,0x58, 0x01,0x50, 0x11,0xCC, 0x01,0xFF,
|
||||
0x02,0x75, 0x04,0x55, 0x0C,0xCC, 0x01,0xC0, 0x01,0x00, 0x02,0x88, 0x10,0xCC,
|
||||
0x02,0x44, 0x02,0x47, 0x03,0x45, 0x02,0x44, 0x0C,0xCC, 0x01,0x00, 0x01,0x05,
|
||||
0x01,0x85, 0x10,0xCC, 0x01,0x44, 0x01,0xD4, 0x01,0x9D, 0x01,0xD4, 0x01,0x44,
|
||||
0x01,0x34, 0x01,0xD3, 0x01,0x34, 0x01,0x44, 0x0D,0xCC, 0x01,0x00, 0x01,0x08,
|
||||
0x0F,0xCC, 0x03,0x44, 0x01,0xCD, 0x03,0x44, 0x01,0xC3, 0x03,0x44, 0x0C,0xCC,
|
||||
0x01,0xC0, 0x01,0x00, 0xFF,0xFF, };
|
||||
0x28, /* ysize=40 */
|
||||
0xA0,0x1D,0x66,0xA3,0xF6,0x76,0xA3,0x56,0xA0,0x10,0x66,0x96,0x96,0xAD,0x66,
|
||||
0xF6,0x7F,0xFF,0x7F,0x57,0x75,0x57,
|
||||
0x77,0x55,0xAF,0x66,0x99,0xDD,0xDD,0x99,0xA8,0x66,
|
||||
0xF6,0x7F,0xF7,0x7F,0xA3,0x77,0x75,0x57,
|
||||
0x75,0x55,0x55,0x65,0xAB,0x66,0xF6,0x76,0x56,
|
||||
0x66,0x99,0xDD,0xDD,0x99,0xA8,0x66,0x6F,0xF7,
|
||||
0xA3,0x77,0x57,0x55,0x55,0xA3,0x65,0xAA,0x66,0xFF,0x7F,
|
||||
0xFF,0x77,0x55,0x65,0x66,0x66,0x69,0x69,0xA0,0x2B,0x66,
|
||||
0xA7,0x46,0xA0,0x1C,0x66,0x44,0xA3,0x66,0xA9,0xD4,0xA0,0x12,0x66,0x16,
|
||||
0x66,0xF6,0x66,0x16,0xA3,0x66,0xA3,0x44,0x66,0x66,
|
||||
0xDD,0x5D,0xDD,0xDD,0x5D,0xDD,0xDD,0x5D,0xDD,
|
||||
0x66,0x66,0x86,0x86,0x46,0xA8,0x66,0xD6,0xD6,0xA3,0x66,0x51,
|
||||
0x56,0x5F,0x56,0x51,0x66,0x66,0x64,0x64,0x84,
|
||||
0x64,0x64,0x66,0xDD,0xD5,0xDD,0x4D,0x44,
|
||||
0x4D,0xDD,0xD5,0xDD,0x66,0x86,0x88,
|
||||
0x84,0x44,0x44,0xA5,0x66,0x6D,0x6D,0x1D,0x1D,0xCC,0x5C,
|
||||
0xA7,0x55,0x5C,0xCC,0xCC,0x88,0xA3,0xCC,0xDD,0x5D,
|
||||
0xDD,0xDD,0x8D,0xDD,0xDD,0x5D,0xDD,0xCC,0xC8,
|
||||
0x88,0xA3,0x44,0xC0,0x08,0x58,0x50,0x0C,
|
||||
0xCC,0xCC,0x11,0x11,0xCC,0x1F,0xFF,0xA5,0x1F,0xFF,
|
||||
0x1F,0xCC,0xCC,0x88,0xA3,0xCC,0xDD,0xD5,0xDD,0xDD,
|
||||
0x88,0xDD,0xDD,0xD5,0xDD,0xCC,0xCC,0xC8,0xC8,0xC4,
|
||||
0xCC,0xCC,0xC0,0x08,0x58,0x50,0x05,0x55,
|
||||
0x11,0x10,0xCC,0x11,0xFF,0x10,0x11,
|
||||
0x10,0x11,0x10,0xFF,0x11,0xA0,0x17,0xCC,0x00,
|
||||
0x08,0x58,0x50,0x05,0x51,0x11,0xCC,
|
||||
0x11,0xFF,0x10,0x11,0x88,0x11,0x10,
|
||||
0xFF,0x11,0xA0,0x18,0xCC,0x00,0x58,0x58,0x50,0x00,
|
||||
0x51,0xCC,0x11,0x7F,0x71,0x71,0x78,0x71,0x71,
|
||||
0x7F,0x11,0xA0,0x19,0xCC,0x00,0x88,0x88,0x00,0x05,
|
||||
0xCC,0xA9,0xC7,0xA9,0xCC,0xA3,0x5C,0xAD,0xCC,0xC0,0x05,
|
||||
0x85,0x85,0x00,0xA0,0x11,0xCC,0x5C,0xE5,0xA3,0xEE,0xE5,
|
||||
0x5C,0xAC,0xCC,0x00,0x58,0x58,0x50,0xA0,0x11,0xCC,0xFF,
|
||||
0x75,0x75,0xA4,0x55,0xAC,0xCC,0xC0,0x00,0x88,0x88,0xA0,0x10,0xCC,
|
||||
0x44,0x44,0x47,0x47,0xA3,0x45,0x44,0x44,0xAC,0xCC,0x00,0x05,
|
||||
0x85,0xA0,0x10,0xCC,0x44,0xD4,0x9D,0xD4,0x44,
|
||||
0x34,0xD3,0x34,0x44,0xAD,0xCC,0x00,0x08,
|
||||
0xAF,0xCC,0xA3,0x44,0xCD,0xA3,0x44,0xC3,0xA3,0x44,0xAC,0xCC,
|
||||
0xC0,0x00,0xA1, };
|
||||
unsigned char dining_rle[]={
|
||||
0x28,0x28,
|
||||
0x01,0x88, 0x03,0x98, 0x02,0x88, 0x01,0x98, 0x02,0x88, 0x02,0x98, 0x02,0x88,
|
||||
0x03,0x98, 0x01,0x88, 0x02,0x98, 0x01,0x88, 0x03,0x98, 0x04,0x88, 0x01,0x98,
|
||||
0x01,0x88, 0x01,0x98, 0x01,0x88, 0x03,0x98, 0x01,0x88, 0x01,0x98, 0x01,0x88,
|
||||
0x01,0x98, 0x01,0x88, 0x01,0x98, 0x02,0x88, 0x01,0x99, 0x02,0x88, 0x01,0x99,
|
||||
0x01,0x88, 0x01,0x99, 0x01,0x88, 0x01,0x99, 0x01,0x98, 0x01,0x89, 0x01,0x88,
|
||||
0x01,0x99, 0x01,0x88, 0x01,0x98, 0x01,0x88, 0x01,0x99, 0x01,0x98, 0x02,0x88,
|
||||
0x01,0x99, 0x05,0x88, 0x01,0x89, 0x01,0x98, 0x01,0x89, 0x01,0x88, 0x01,0x99,
|
||||
0x01,0x88, 0x01,0x99, 0x01,0x88, 0x01,0x99, 0x01,0x88, 0x01,0x99, 0x01,0x88,
|
||||
0x01,0x99, 0x02,0x88, 0x01,0x99, 0x02,0x88, 0x01,0x99, 0x01,0x89, 0x01,0x99,
|
||||
0x01,0x88, 0x01,0x99, 0x01,0x88, 0x01,0x99, 0x01,0x88, 0x01,0x99, 0x01,0x98,
|
||||
0x01,0x99, 0x01,0x88, 0x01,0x99, 0x01,0x98, 0x02,0x88, 0x01,0x99, 0x06,0x88,
|
||||
0x01,0x99, 0x02,0x88, 0x01,0x99, 0x01,0x98, 0x01,0x99, 0x01,0x88, 0x01,0x99,
|
||||
0x01,0x98, 0x01,0x99, 0x01,0x88, 0x01,0x99, 0x05,0x88, 0x01,0x08, 0x01,0xD8,
|
||||
0x01,0x08, 0x01,0xD8, 0x01,0xF8, 0x01,0x18, 0x01,0xF8, 0x01,0x18, 0x07,0x88,
|
||||
0x03,0x98, 0x01,0x88, 0x03,0x98, 0x01,0x88, 0x03,0x98, 0x01,0x88, 0x01,0x98,
|
||||
0x02,0x88, 0x01,0x98, 0x01,0x88, 0x03,0x98, 0x05,0x88, 0x01,0xDD, 0x01,0x00,
|
||||
0x01,0xDD, 0x01,0x0D, 0x02,0xF1, 0x02,0x1F, 0x07,0x88, 0x01,0x99, 0x01,0x98,
|
||||
0x01,0x99, 0x01,0x88, 0x01,0x99, 0x01,0x88, 0x01,0x99, 0x02,0x88, 0x01,0x99,
|
||||
0x02,0x88, 0x02,0x99, 0x01,0x98, 0x01,0x99, 0x02,0x88, 0x01,0x99, 0x06,0x88,
|
||||
0x01,0x00, 0x01,0xDD, 0x01,0x00, 0x01,0xD0, 0x01,0x11, 0x01,0xFF, 0x01,0x11,
|
||||
0x01,0xFF, 0x07,0x88, 0x01,0x99, 0x03,0x88, 0x01,0x99, 0x01,0x98, 0x01,0x99,
|
||||
0x01,0x88, 0x01,0x98, 0x01,0x99, 0x01,0x98, 0x01,0x88, 0x01,0x99, 0x01,0x88,
|
||||
0x01,0x89, 0x01,0x99, 0x02,0x88, 0x01,0x99, 0x2C,0x88, 0x02,0x58, 0x08,0x88,
|
||||
0x01,0x00, 0x01,0xB0, 0x1B,0x88, 0x01,0x58, 0x01,0x55, 0x01,0xBB, 0x01,0xB8,
|
||||
0x07,0x88, 0x01,0x00, 0x01,0xBB, 0x01,0x8B, 0x01,0x88, 0x01,0x68, 0x03,0x88,
|
||||
0x01,0x78, 0x03,0x88, 0x02,0x08, 0x04,0x88, 0x02,0x08, 0x09,0x88, 0x02,0x85,
|
||||
0x01,0xBB, 0x03,0x88, 0x01,0x66, 0x04,0x88, 0x01,0x00, 0x01,0x22, 0x02,0x88,
|
||||
0x01,0xFF, 0x03,0x88, 0x01,0x77, 0x02,0xA7, 0x01,0xB7, 0x01,0xBB, 0x01,0x00,
|
||||
0x01,0x57, 0x02,0xA7, 0x01,0xB7, 0x01,0xBB, 0x01,0x00, 0x07,0xA7, 0x03,0x08,
|
||||
0x02,0x11, 0x01,0x08, 0x01,0x77, 0x02,0x66, 0x01,0x77, 0x04,0x08, 0x01,0x22,
|
||||
0x01,0x02, 0x03,0x05, 0x02,0x08, 0x01,0x77, 0x03,0xAA, 0x01,0xFB, 0x01,0xF0,
|
||||
0x01,0x55, 0x03,0xAA, 0x01,0x2B, 0x01,0x00, 0x07,0xAA, 0x03,0x00, 0x02,0x11,
|
||||
0x04,0x77, 0x05,0x00, 0x01,0xA2, 0x07,0x00, 0x02,0x0A, 0x01,0x7A, 0x02,0x7F,
|
||||
0x01,0x75, 0x01,0x7A, 0x01,0x6A, 0x02,0x72, 0x01,0x70, 0x03,0xAA, 0x01,0xB8,
|
||||
0x01,0x88, 0x02,0xAA, 0x03,0x00, 0x01,0x81, 0x04,0x77, 0x06,0x00, 0x01,0xAA,
|
||||
0x07,0x00, 0x01,0x70, 0x01,0x87, 0x02,0x88, 0x01,0x78, 0x02,0x77, 0x01,0x99,
|
||||
0x02,0x77, 0x01,0x66, 0x01,0x77, 0x01,0x70, 0x01,0x0B, 0x01,0xBB, 0x01,0x88,
|
||||
0x05,0x00, 0x04,0x57, 0x07,0x00, 0x02,0x08, 0x05,0x00, 0x01,0x07, 0x0A,0x77,
|
||||
0x01,0x7F, 0x01,0x77, 0x01,0x7B, 0x01,0x04, 0x01,0x44, 0x01,0x08, 0x01,0x70,
|
||||
0x04,0x00, 0x01,0x55, 0x01,0x88, 0x12,0x00, 0x01,0x07, 0x01,0x87, 0x07,0x07,
|
||||
0x01,0x87, 0x01,0x07, 0x01,0x00, 0x01,0x20, 0x01,0x24, 0x01,0x00, 0x01,0x77,
|
||||
0x04,0x00, 0x01,0x55, 0x02,0x08, 0x12,0x00, 0x01,0x88, 0x07,0x00, 0x01,0x88,
|
||||
0x02,0x00, 0x01,0x22, 0x01,0x77, 0x01,0x07, 0x01,0x77, 0x04,0x00, 0x01,0x55,
|
||||
0x14,0x00, 0x01,0x08, 0x07,0x00, 0x01,0x08, 0x01,0x00, 0x02,0x08, 0x01,0x07,
|
||||
0x01,0x00, 0x01,0x07, 0x79,0x00, 0xFF,0xFF, };
|
||||
0x28, /* ysize=40 */
|
||||
0x88,0xA3,0x98,0x88,0x88,0x98,0x88,0x88,0x98,0x98,0x88,0x88,
|
||||
0xA3,0x98,0x88,0x98,0x98,0x88,0xA3,0x98,0xA4,0x88,0x98,
|
||||
0x88,0x98,0x88,0xA3,0x98,0x88,0x98,0x88,
|
||||
0x98,0x88,0x98,0x88,0x88,0x99,0x88,0x88,0x99,
|
||||
0x88,0x99,0x88,0x99,0x98,0x89,0x88,
|
||||
0x99,0x88,0x98,0x88,0x99,0x98,0x88,0x88,
|
||||
0x99,0xA5,0x88,0x89,0x98,0x89,0x88,0x99,
|
||||
0x88,0x99,0x88,0x99,0x88,0x99,0x88,
|
||||
0x99,0x88,0x88,0x99,0x88,0x88,0x99,0x89,0x99,
|
||||
0x88,0x99,0x88,0x99,0x88,0x99,0x98,
|
||||
0x99,0x88,0x99,0x98,0x88,0x88,0x99,0xA6,0x88,
|
||||
0x99,0x88,0x88,0x99,0x98,0x99,0x88,0x99,
|
||||
0x98,0x99,0x88,0x99,0xA5,0x88,0x08,0xD8,
|
||||
0x08,0xD8,0xF8,0x18,0xF8,0x18,0xA7,0x88,
|
||||
0xA3,0x98,0x88,0xA3,0x98,0x88,0xA3,0x98,0x88,0x98,
|
||||
0x88,0x88,0x98,0x88,0xA3,0x98,0xA5,0x88,0xDD,0x00,
|
||||
0xDD,0x0D,0xF1,0xF1,0x1F,0x1F,0xA7,0x88,0x99,0x98,
|
||||
0x99,0x88,0x99,0x88,0x99,0x88,0x88,0x99,
|
||||
0x88,0x88,0x99,0x99,0x98,0x99,0x88,0x88,0x99,0xA6,0x88,
|
||||
0x00,0xDD,0x00,0xD0,0x11,0xFF,0x11,
|
||||
0xFF,0xA7,0x88,0x99,0xA3,0x88,0x99,0x98,0x99,
|
||||
0x88,0x98,0x99,0x98,0x88,0x99,0x88,
|
||||
0x89,0x99,0x88,0x88,0x99,0xA0,0x2C,0x88,0x58,0x58,0xA8,0x88,
|
||||
0x00,0xB0,0xA0,0x1B,0x88,0x58,0x55,0xBB,0xB8,
|
||||
0xA7,0x88,0x00,0xBB,0x8B,0x88,0x68,0xA3,0x88,
|
||||
0x78,0xA3,0x88,0x08,0x08,0xA4,0x88,0x08,0x08,0xA9,0x88,0x85,0x85,
|
||||
0xBB,0xA3,0x88,0x66,0xA4,0x88,0x00,0x22,0x88,0x88,
|
||||
0xFF,0xA3,0x88,0x77,0x57,0x57,0xB7,0xBB,0x00,
|
||||
0xA3,0x57,0xB7,0xBB,0x00,0xA7,0x57,0xA3,0x08,0x11,0x11,
|
||||
0x08,0x77,0x66,0x66,0x77,0xA4,0x08,0x22,0x02,
|
||||
0xA3,0x05,0x08,0x08,0x77,0xA3,0x5A,0xFB,0xF0,0x55,
|
||||
0xA3,0x5A,0x2B,0x00,0xA7,0x5A,0xA3,0x00,0x11,0x11,0xA4,0x77,
|
||||
0xA5,0x00,0x52,0xA7,0x00,0x0A,0x0A,0x7A,0x7F,0x7F,0x75,
|
||||
0x7A,0x6A,0x72,0x72,0x70,0xA3,0x5A,0xB8,0x88,
|
||||
0x5A,0x5A,0xA3,0x00,0x81,0xA4,0x77,0xA6,0x00,0x5A,0xA7,0x00,
|
||||
0x70,0x87,0x88,0x88,0x78,0x77,0x77,0x99,0x77,0x77,
|
||||
0x66,0x77,0x70,0x0B,0xBB,0x88,0xA5,0x00,
|
||||
0xA4,0x57,0xA7,0x00,0x08,0x08,0xA5,0x00,0x07,0xAA,0x77,0x7F,
|
||||
0x77,0x7B,0x04,0x44,0x08,0x70,0xA4,0x00,
|
||||
0x55,0x88,0xA0,0x12,0x00,0x07,0x87,0xA7,0x07,0x87,
|
||||
0x07,0x00,0x20,0x24,0x00,0x77,0xA4,0x00,
|
||||
0x55,0x08,0x08,0xA0,0x12,0x00,0x88,0xA7,0x00,0x88,0x00,0x00,
|
||||
0x22,0x77,0x07,0x77,0xA4,0x00,0x55,0xA0,0x14,0x00,
|
||||
0x08,0xA7,0x00,0x08,0x00,0x08,0x08,0x07,0x00,
|
||||
0x07,0xA0,0x79,0x00,0xA1, };
|
||||
unsigned char metro_rle[]={
|
||||
0x28,0x28,
|
||||
0x1F,0x66, 0x09,0x77, 0x03,0x66, 0x04,0xF6, 0x0A,0x66, 0x01,0x11, 0x01,0x66,
|
||||
0x02,0x16, 0x01,0x66, 0x01,0x76, 0x08,0x66, 0x01,0x77, 0x02,0x22, 0x02,0x27,
|
||||
0x04,0x77, 0x02,0x66, 0x01,0x6F, 0x04,0x7F, 0x01,0x77, 0x09,0x66, 0x02,0x69,
|
||||
0x02,0x19, 0x01,0x69, 0x01,0x77, 0x08,0x66, 0x01,0x77, 0x05,0x22, 0x01,0x27,
|
||||
0x02,0x77, 0x02,0x66, 0x01,0x46, 0x1C,0x66, 0x01,0x77, 0x07,0x22, 0x01,0x77,
|
||||
0x01,0x66, 0x01,0x46, 0x01,0x44, 0x01,0x46, 0x1B,0x66, 0x01,0x77, 0x07,0x22,
|
||||
0x01,0x77, 0x01,0xC6, 0x01,0xC4, 0x01,0x84, 0x01,0xC4, 0x03,0xC6, 0x01,0x76,
|
||||
0x02,0x86, 0x01,0x76, 0x09,0xC6, 0x0B,0x56, 0x01,0x97, 0x01,0xDD, 0x06,0x22,
|
||||
0x01,0x77, 0x02,0xCC, 0x01,0xC8, 0x03,0xCC, 0x01,0x77, 0x02,0x80, 0x01,0x77,
|
||||
0x01,0xFF, 0x14,0xCC, 0x01,0x77, 0x01,0xDD, 0x06,0x22, 0x01,0x77, 0x04,0xCC,
|
||||
0x01,0x7C, 0x01,0x77, 0x02,0x80, 0x01,0x77, 0x02,0xFF, 0x14,0x0C, 0x01,0x77,
|
||||
0x01,0xDD, 0x04,0xD2, 0x02,0x22, 0x01,0x77, 0x03,0xCC, 0x01,0x7C, 0x01,0x77,
|
||||
0x02,0x08, 0x01,0x78, 0x01,0xF7, 0x01,0xFF, 0x01,0x0F, 0x14,0x00, 0x01,0x77,
|
||||
0x01,0x0D, 0x02,0xDD, 0x01,0x0D, 0x03,0x02, 0x01,0x77, 0x02,0xCC, 0x01,0x7C,
|
||||
0x01,0x87, 0x03,0x80, 0x01,0x77, 0x01,0xFF, 0x01,0x0F, 0x01,0x00, 0x01,0x55,
|
||||
0x01,0x85, 0x14,0x00, 0x01,0xF9, 0x02,0x30, 0x01,0xF0, 0x02,0x80, 0x01,0x77,
|
||||
0x01,0xCC, 0x01,0x7C, 0x01,0x07, 0x03,0x08, 0x01,0x77, 0x02,0xFF, 0x02,0x00,
|
||||
0x01,0x55, 0x01,0x88, 0x01,0x08, 0x11,0x00, 0x01,0x30, 0x01,0xFF, 0x01,0xF0,
|
||||
0x02,0xF3, 0x02,0xFF, 0x01,0x88, 0x01,0x77, 0x01,0x7C, 0x01,0x87, 0x03,0x80,
|
||||
0x01,0x70, 0x01,0xF7, 0x01,0x1F, 0x01,0xFF, 0x02,0x00, 0x02,0xFF, 0x01,0x00,
|
||||
0x01,0x80, 0x10,0x00, 0x01,0x0F, 0x06,0xFF, 0x01,0x88, 0x01,0x77, 0x01,0x07,
|
||||
0x03,0x08, 0x01,0x78, 0x01,0x77, 0x01,0xFF, 0x01,0xF1, 0x01,0xFF, 0x02,0x00,
|
||||
0x02,0xFF, 0x01,0x0F, 0x01,0x08, 0x04,0x00, 0x01,0xDD, 0x01,0xBD, 0x0C,0x00,
|
||||
0x02,0x3F, 0x02,0x0F, 0x01,0x3F, 0x01,0x38, 0x01,0x77, 0x04,0x80, 0x01,0x77,
|
||||
0x01,0xFF, 0x01,0x1F, 0x01,0xFF, 0x03,0x00, 0x02,0x1F, 0x06,0x00, 0x01,0xDD,
|
||||
0x01,0xDB, 0x01,0x0B, 0x11,0x00, 0x01,0x77, 0x03,0x08, 0x01,0x77, 0x01,0xF7,
|
||||
0x01,0xFF, 0x01,0xF1, 0x01,0x0F, 0x03,0x00, 0x02,0x11, 0x06,0x00, 0x01,0x22,
|
||||
0x13,0x00, 0x01,0x77, 0x02,0x00, 0x01,0x70, 0x01,0x77, 0x03,0xFF, 0x04,0x00,
|
||||
0x02,0x11, 0x06,0x00, 0x01,0x22, 0x01,0x02, 0x01,0x03, 0x0E,0x00, 0x01,0x50,
|
||||
0x02,0x55, 0x01,0x77, 0x02,0x88, 0x01,0x77, 0x01,0xFF, 0x01,0x11, 0x01,0xFF,
|
||||
0x05,0x00, 0x03,0x88, 0x05,0x00, 0x01,0x22, 0x11,0x00, 0x02,0x05, 0x01,0x77,
|
||||
0x01,0x00, 0x01,0x77, 0x01,0xF7, 0x02,0xFF, 0x01,0x0F, 0x0D,0x00, 0x01,0x82,
|
||||
0x01,0x80, 0x12,0x00, 0x01,0x77, 0x01,0x70, 0x01,0x77, 0x03,0xFF, 0x22,0x00,
|
||||
0x02,0x77, 0x03,0xFF, 0x23,0x00, 0x01,0x77, 0xFF,0xFF, };
|
||||
0x28, /* ysize=40 */
|
||||
0xA0,0x1F,0x66,0xA9,0x77,0xA3,0x66,0xA4,0xF6,0xAA,0x66,0x11,0x66,
|
||||
0x16,0x16,0x66,0x76,0xA8,0x66,0x77,0x22,0x22,0x27,0x27,
|
||||
0xA4,0x77,0x66,0x66,0x6F,0xA4,0x7F,0x77,0xA9,0x66,0x69,0x69,
|
||||
0x19,0x19,0x69,0x77,0xA8,0x66,0x77,0xA5,0x22,0x27,
|
||||
0x77,0x77,0x66,0x66,0x46,0xA0,0x1C,0x66,0x77,0xA7,0x22,0x77,
|
||||
0x66,0x46,0x44,0x46,0xA0,0x1B,0x66,0x77,0xA7,0x22,
|
||||
0x77,0xC6,0xC4,0x84,0xC4,0xA3,0xC6,0x76,
|
||||
0x86,0x86,0x76,0xA9,0xC6,0xAB,0x56,0x97,0xDD,0xA6,0x22,
|
||||
0x77,0xCC,0xCC,0xC8,0xA3,0xCC,0x77,0x80,0x80,0x77,
|
||||
0xFF,0xA0,0x14,0xCC,0x77,0xDD,0xA6,0x22,0x77,0xA4,0xCC,
|
||||
0x7C,0x77,0x80,0x80,0x77,0xFF,0xFF,0xA0,0x14,0x0C,0x77,
|
||||
0xDD,0xA4,0xD2,0x22,0x22,0x77,0xA3,0xCC,0x7C,0x77,
|
||||
0x08,0x08,0x78,0xF7,0xFF,0x0F,0xA0,0x14,0x00,0x77,
|
||||
0x0D,0xDD,0xDD,0x0D,0xA3,0x02,0x77,0xCC,0xCC,0x7C,
|
||||
0x87,0xA3,0x80,0x77,0xFF,0x0F,0x00,0x55,
|
||||
0x85,0xA0,0x14,0x00,0xF9,0x30,0x30,0xF0,0x80,0x80,0x77,
|
||||
0xCC,0x7C,0x07,0xA3,0x08,0x77,0xFF,0xFF,0x00,0x00,
|
||||
0x55,0x88,0x08,0xA0,0x11,0x00,0x30,0xFF,0xF0,
|
||||
0xF3,0xF3,0xFF,0xFF,0x88,0x77,0x7C,0x87,0xA3,0x80,
|
||||
0x70,0xF7,0x1F,0xFF,0x00,0x00,0xFF,0xFF,0x00,
|
||||
0x80,0xA0,0x10,0x00,0x0F,0xA6,0xFF,0x88,0x77,0x07,
|
||||
0xA3,0x08,0x78,0x77,0xFF,0xF1,0xFF,0x00,0x00,
|
||||
0xFF,0xFF,0x0F,0x08,0xA4,0x00,0xDD,0xBD,0xAC,0x00,
|
||||
0x3F,0x3F,0x0F,0x0F,0x3F,0x38,0x77,0xA4,0x80,0x77,
|
||||
0xFF,0x1F,0xFF,0xA3,0x00,0x1F,0x1F,0xA6,0x00,0xDD,
|
||||
0xDB,0x0B,0xA0,0x11,0x00,0x77,0xA3,0x08,0x77,0xF7,
|
||||
0xFF,0xF1,0x0F,0xA3,0x00,0x11,0x11,0xA6,0x00,0x22,
|
||||
0xA0,0x13,0x00,0x77,0x00,0x00,0x70,0x77,0xA3,0xFF,0xA4,0x00,
|
||||
0x11,0x11,0xA6,0x00,0x22,0x02,0x03,0xAE,0x00,0x50,
|
||||
0x55,0x55,0x77,0x88,0x88,0x77,0xFF,0x11,0xFF,
|
||||
0xA5,0x00,0xA3,0x88,0xA5,0x00,0x22,0xA0,0x11,0x00,0x05,0x05,0x77,
|
||||
0x00,0x77,0xF7,0xFF,0xFF,0x0F,0xAD,0x00,0x82,
|
||||
0x80,0xA0,0x12,0x00,0x77,0x70,0x77,0xA3,0xFF,0xA0,0x22,0x00,
|
||||
0x77,0x77,0xA3,0xFF,0xA0,0x23,0x00,0x77,0xA1, };
|
||||
unsigned char talbot_rle[]={
|
||||
0x28,0x28,
|
||||
0x01,0x22, 0x02,0x66, 0x02,0x77, 0x01,0xFF, 0x0C,0x77, 0x01,0x55, 0x01,0x00,
|
||||
0x01,0x66, 0x02,0x00, 0x01,0x55, 0x0B,0x77, 0x01,0xFF, 0x04,0x77, 0x03,0x66,
|
||||
0x02,0x77, 0x01,0xFF, 0x0B,0x77, 0x01,0x87, 0x01,0x55, 0x02,0x50, 0x02,0x53,
|
||||
0x01,0x55, 0x01,0x87, 0x0A,0x77, 0x01,0xFF, 0x04,0x77, 0x03,0x66, 0x02,0x77,
|
||||
0x01,0xFF, 0x06,0x77, 0x01,0x07, 0x01,0x00, 0x01,0x07, 0x01,0x77, 0x02,0x88,
|
||||
0x04,0x85, 0x01,0x8C, 0x01,0x85, 0x02,0x88, 0x02,0x77, 0x02,0x87, 0x05,0x77,
|
||||
0x01,0xFF, 0x04,0x77, 0x01,0x66, 0x01,0x33, 0x01,0x66, 0x02,0x77, 0x01,0xFF,
|
||||
0x06,0x77, 0x01,0x88, 0x01,0xBB, 0x01,0xB7, 0x01,0x77, 0x01,0x88, 0x01,0x77,
|
||||
0x01,0x88, 0x01,0x77, 0x02,0x27, 0x01,0x77, 0x01,0x88, 0x01,0x77, 0x01,0x88,
|
||||
0x01,0x77, 0x01,0xB7, 0x01,0xBB, 0x01,0x88, 0x05,0x77, 0x01,0xFF, 0x04,0x77,
|
||||
0x02,0x66, 0x01,0x76, 0x02,0x77, 0x01,0xFF, 0x06,0x77, 0x01,0x78, 0x01,0x1B,
|
||||
0x02,0x77, 0x01,0x88, 0x01,0x87, 0x01,0x88, 0x01,0x57, 0x02,0x85, 0x01,0x57,
|
||||
0x01,0x88, 0x01,0x87, 0x01,0x88, 0x02,0x77, 0x01,0x5B, 0x01,0x78, 0x05,0x77,
|
||||
0x01,0xFF, 0x04,0x77, 0x02,0x66, 0x02,0x77, 0x01,0xFF, 0x08,0x0F, 0x01,0x11,
|
||||
0x01,0x1F, 0x01,0xBF, 0x01,0x58, 0x02,0x05, 0x04,0x0F, 0x01,0x05, 0x01,0x5F,
|
||||
0x01,0x58, 0x01,0xBF, 0x01,0x5F, 0x01,0x55, 0x05,0x0F, 0x01,0xB8, 0x01,0x88,
|
||||
0x04,0x77, 0x01,0x66, 0x03,0x77, 0x01,0x44, 0x08,0x00, 0x01,0x41, 0x02,0x00,
|
||||
0x01,0x88, 0x08,0x00, 0x01,0x88, 0x02,0x00, 0x01,0x25, 0x04,0x00, 0x01,0xB7,
|
||||
0x01,0xB5, 0x01,0x88, 0x04,0x77, 0x01,0x66, 0x02,0x77, 0x01,0x47, 0x01,0xC4,
|
||||
0x01,0x40, 0x02,0x00, 0x01,0x55, 0x01,0xB5, 0x03,0x00, 0x01,0x44, 0x02,0x00,
|
||||
0x01,0x08, 0x06,0x00, 0x01,0x90, 0x01,0x95, 0x01,0x08, 0x02,0x00, 0x01,0x22,
|
||||
0x05,0x00, 0x01,0x2B, 0x01,0x00, 0x01,0xFF, 0x03,0x77, 0x01,0x66, 0x02,0x77,
|
||||
0x01,0x44, 0x01,0xCC, 0x01,0x44, 0x01,0x80, 0x01,0x00, 0x01,0x55, 0x01,0xBB,
|
||||
0x01,0x0B, 0x02,0x00, 0x02,0x08, 0x08,0x00, 0x01,0x09, 0x01,0x99, 0x01,0x55,
|
||||
0x01,0x99, 0x01,0x09, 0x01,0x95, 0x03,0x00, 0x01,0xB0, 0x01,0x20, 0x01,0x22,
|
||||
0x01,0x00, 0x01,0xFF, 0x05,0x77, 0x01,0x44, 0x01,0xCC, 0x01,0x4C, 0x02,0xC4,
|
||||
0x01,0x40, 0x01,0x00, 0x01,0x4B, 0x01,0x40, 0x01,0xB0, 0x0C,0x00, 0x01,0x99,
|
||||
0x01,0x00, 0x01,0x99, 0x01,0x00, 0x01,0x09, 0x05,0x00, 0x01,0x82, 0x01,0x00,
|
||||
0x01,0xFF, 0x05,0x77, 0x01,0x44, 0x01,0x4C, 0x01,0xC4, 0x01,0xCC, 0x01,0x4C,
|
||||
0x01,0x04, 0x01,0x00, 0x01,0x44, 0x18,0x00, 0x01,0x88, 0x01,0x00, 0x01,0xFF,
|
||||
0x01,0xF7, 0x04,0x77, 0x02,0x84, 0x02,0x8C, 0x01,0x44, 0x02,0x00, 0x01,0x55,
|
||||
0x07,0x00, 0x01,0xD0, 0x06,0x8D, 0x01,0xD0, 0x08,0x00, 0x01,0xA0, 0x01,0xA8,
|
||||
0x02,0x00, 0x01,0xFF, 0x04,0x77, 0x01,0x88, 0x02,0x44, 0x01,0x88, 0x01,0x00,
|
||||
0x02,0x80, 0x02,0x05, 0x05,0x00, 0x02,0x0D, 0x06,0xD8, 0x02,0x0D, 0x09,0x00,
|
||||
0x01,0x5D, 0x01,0xDD, 0x01,0xFF, 0x04,0x77, 0x01,0x88, 0x02,0x00, 0x01,0x88,
|
||||
0x01,0x00, 0x01,0x88, 0x01,0xBB, 0x01,0xB0, 0x0A,0x00, 0x02,0x88, 0x0C,0x00,
|
||||
0x01,0x0B, 0x01,0xBB, 0x01,0x0D, 0x01,0xFF, 0x03,0x77, 0x01,0xFF, 0x01,0x88,
|
||||
0x02,0x80, 0x01,0x88, 0x01,0x00, 0x01,0x88, 0x01,0x4B, 0x09,0x00, 0x02,0xD0,
|
||||
0x02,0x88, 0x02,0xD0, 0x0B,0x00, 0x01,0x6B, 0x01,0x00, 0x01,0x0F, 0x01,0xFF,
|
||||
0x02,0x77, 0x01,0xFF, 0x05,0x00, 0x01,0x88, 0x01,0x44, 0x01,0x04, 0x01,0x0B,
|
||||
0x05,0x00, 0x01,0xD0, 0x01,0xDD, 0x06,0x88, 0x01,0xDD, 0x01,0xD0, 0x07,0x00,
|
||||
0x01,0x0B, 0x01,0x06, 0x01,0x66, 0x02,0x00, 0x01,0xFF, 0x02,0x77, 0x01,0xFF,
|
||||
0x06,0x00, 0x01,0x22, 0x09,0x00, 0x06,0x0D, 0x0B,0x00, 0x01,0x22, 0x02,0x00,
|
||||
0x01,0xFF, 0x01,0x77, 0x02,0xFF, 0x06,0x00, 0x01,0x82, 0x01,0x80, 0x18,0x00,
|
||||
0x01,0x50, 0x01,0x52, 0x02,0x00, 0x01,0x0F, 0x01,0xF7, 0x01,0xFF, 0x01,0x0F,
|
||||
0x25,0x00, 0x02,0xFF, 0x26,0x00, 0x01,0xFF, 0xFF,0xFF, };
|
||||
0x28, /* ysize=40 */
|
||||
0x22,0x66,0x66,0x77,0x77,0xFF,0xAC,0x77,0x55,0x00,
|
||||
0x66,0x00,0x00,0x55,0xAB,0x77,0xFF,0xA4,0x77,0xA3,0x66,
|
||||
0x77,0x77,0xFF,0xAB,0x77,0x87,0x55,0x50,0x50,0x53,0x53,
|
||||
0x55,0x87,0xAA,0x77,0xFF,0xA4,0x77,0xA3,0x66,0x77,0x77,
|
||||
0xFF,0xA6,0x77,0x07,0x00,0x07,0x77,0x88,0x88,
|
||||
0xA4,0x85,0x8C,0x85,0x88,0x88,0x77,0x77,0x87,0x87,0xA5,0x77,
|
||||
0xFF,0xA4,0x77,0x66,0x33,0x66,0x77,0x77,0xFF,
|
||||
0xA6,0x77,0x88,0xBB,0xB7,0x77,0x88,0x77,
|
||||
0x88,0x77,0x27,0x27,0x77,0x88,0x77,0x88,
|
||||
0x77,0xB7,0xBB,0x88,0xA5,0x77,0xFF,0xA4,0x77,
|
||||
0x66,0x66,0x76,0x77,0x77,0xFF,0xA6,0x77,0x78,0x1B,
|
||||
0x77,0x77,0x88,0x87,0x88,0x57,0x85,0x85,0x57,
|
||||
0x88,0x87,0x88,0x77,0x77,0x5B,0x78,0xA5,0x77,
|
||||
0xFF,0xA4,0x77,0x66,0x66,0x77,0x77,0xFF,0xA8,0x0F,0x11,
|
||||
0x1F,0xBF,0x58,0x05,0x05,0xA4,0x0F,0x05,0x5F,
|
||||
0x58,0xBF,0x5F,0x55,0xA5,0x0F,0xB8,0x88,
|
||||
0xA4,0x77,0x66,0xA3,0x77,0x44,0xA8,0x00,0x41,0x00,0x00,
|
||||
0x88,0xA8,0x00,0x88,0x00,0x00,0x25,0xA4,0x00,0xB7,
|
||||
0xB5,0x88,0xA4,0x77,0x66,0x77,0x77,0x47,0xC4,
|
||||
0x40,0x00,0x00,0x55,0xB5,0xA3,0x00,0x44,0x00,0x00,
|
||||
0x08,0xA6,0x00,0x90,0x95,0x08,0x00,0x00,0x22,
|
||||
0xA5,0x00,0x2B,0x00,0xFF,0xA3,0x77,0x66,0x77,0x77,
|
||||
0x44,0xCC,0x44,0x80,0x00,0x55,0xBB,
|
||||
0x0B,0x00,0x00,0x08,0x08,0xA8,0x00,0x09,0x99,0x55,
|
||||
0x99,0x09,0x95,0xA3,0x00,0xB0,0x20,0x22,
|
||||
0x00,0xFF,0xA5,0x77,0x44,0xCC,0x4C,0xC4,0xC4,
|
||||
0x40,0x00,0x4B,0x40,0xB0,0xAC,0x00,0x99,
|
||||
0x00,0x99,0x00,0x09,0xA5,0x00,0x82,0x00,
|
||||
0xFF,0xA5,0x77,0x44,0x4C,0xC4,0xCC,0x4C,
|
||||
0x04,0x00,0x44,0xA0,0x18,0x00,0x88,0x00,0xFF,
|
||||
0xF7,0xA4,0x77,0x84,0x84,0x8C,0x8C,0x44,0x00,0x00,0x55,
|
||||
0xA7,0x00,0xD0,0xA6,0x8D,0xD0,0xA8,0x00,0x50,0x58,
|
||||
0x00,0x00,0xFF,0xA4,0x77,0x88,0x44,0x44,0x88,0x00,
|
||||
0x80,0x80,0x05,0x05,0xA5,0x00,0x0D,0x0D,0xA6,0xD8,0x0D,0x0D,0xA9,0x00,
|
||||
0x5D,0xDD,0xFF,0xA4,0x77,0x88,0x00,0x00,0x88,
|
||||
0x00,0x88,0xBB,0xB0,0xAA,0x00,0x88,0x88,0xAC,0x00,
|
||||
0x0B,0xBB,0x0D,0xFF,0xA3,0x77,0xFF,0x88,
|
||||
0x80,0x80,0x88,0x00,0x88,0x4B,0xA9,0x00,0xD0,0xD0,
|
||||
0x88,0x88,0xD0,0xD0,0xAB,0x00,0x6B,0x00,0x0F,0xFF,
|
||||
0x77,0x77,0xFF,0xA5,0x00,0x88,0x44,0x04,0x0B,
|
||||
0xA5,0x00,0xD0,0xDD,0xA6,0x88,0xDD,0xD0,0xA7,0x00,
|
||||
0x0B,0x06,0x66,0x00,0x00,0xFF,0x77,0x77,0xFF,
|
||||
0xA6,0x00,0x22,0xA9,0x00,0xA6,0x0D,0xAB,0x00,0x22,0x00,0x00,
|
||||
0xFF,0x77,0xFF,0xFF,0xA6,0x00,0x82,0x80,0xA0,0x18,0x00,
|
||||
0x50,0x52,0x00,0x00,0x0F,0xF7,0xFF,0x0F,
|
||||
0xA0,0x25,0x00,0xFF,0xFF,0xA0,0x26,0x00,0xFF,0xA1, };
|
||||
|
@ -49,19 +49,15 @@ int rle_original(int out_type, char *varname,
|
||||
/* get next top/bottom color pair */
|
||||
next=image[x];
|
||||
|
||||
// printf("x=%d, next=%x image[%d]=%x\n",
|
||||
// x,next,
|
||||
// x,image[x]);
|
||||
|
||||
|
||||
/* If color change (or too big) then output our run */
|
||||
/* Note 0xff for run length is special case meaning "finished" */
|
||||
if ((next!=last) || (run>253)) {
|
||||
|
||||
/* handle new line */
|
||||
if (out_type==OUTPUT_C) {
|
||||
if (count==0) {
|
||||
printf("\n\t");
|
||||
}
|
||||
printf("0x%02X,0x%02X, ",run,last);
|
||||
}
|
||||
else {
|
||||
if (count==0) {
|
||||
@ -70,24 +66,23 @@ int rle_original(int out_type, char *varname,
|
||||
else {
|
||||
printf(", ");
|
||||
}
|
||||
}
|
||||
|
||||
if (out_type==OUTPUT_C) {
|
||||
printf("0x%02X,0x%02X, ",run,last);
|
||||
}
|
||||
else {
|
||||
printf("$%02X,$%02X",run,last);
|
||||
}
|
||||
count++;
|
||||
|
||||
size+=2;
|
||||
|
||||
count++;
|
||||
run=0;
|
||||
last=next;
|
||||
}
|
||||
|
||||
x++;
|
||||
|
||||
/* Split up per-line */
|
||||
// enough++;
|
||||
// if (enough>=xsize) {
|
||||
// enough=0;
|
||||
// fprintf(stdout,"\n");
|
||||
// }
|
||||
|
||||
/* If we reach the end */
|
||||
if (x>=xsize*(ysize/2)) {
|
||||
run++;
|
||||
@ -129,6 +124,158 @@ int rle_original(int out_type, char *varname,
|
||||
return size;
|
||||
}
|
||||
|
||||
/*****************************************/
|
||||
/* \/ \/ */
|
||||
/* Converts a PNG to RLE compressed data */
|
||||
/*****************************************/
|
||||
|
||||
|
||||
static int print_run(int count, int out_type, int run, int last) {
|
||||
|
||||
int size=0;
|
||||
|
||||
if (count==0) {
|
||||
if (out_type==OUTPUT_C) {
|
||||
printf("\n\t");
|
||||
}
|
||||
else {
|
||||
printf("\n\t.byte ");
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (out_type==OUTPUT_C) {
|
||||
}
|
||||
else {
|
||||
printf(", ");
|
||||
}
|
||||
}
|
||||
|
||||
if (run==1) {
|
||||
if (out_type==OUTPUT_C) {
|
||||
printf("0x%02X,",last);
|
||||
}
|
||||
else {
|
||||
printf("$%02X",last);
|
||||
}
|
||||
size++;
|
||||
}
|
||||
if (run==2) {
|
||||
if (out_type==OUTPUT_C) {
|
||||
printf("0x%02X,0x%02X,",last,last);
|
||||
}
|
||||
else {
|
||||
printf("$%02X,$%02X",last,last);
|
||||
}
|
||||
size+=2;
|
||||
}
|
||||
|
||||
if ((run>2) && (run<16)) {
|
||||
if (out_type==OUTPUT_C) {
|
||||
printf("0x%02X,0x%02X,",0xA0|run,last);
|
||||
}
|
||||
else {
|
||||
printf("$%02X,$%02X",0xA0|run,last);
|
||||
}
|
||||
size+=2;
|
||||
}
|
||||
|
||||
if (run>=16) {
|
||||
if (out_type==OUTPUT_C) {
|
||||
printf("0x%02X,0x%02X,0x%02X,",0xA0,run,last);
|
||||
}
|
||||
else {
|
||||
printf("$%02X,$%02X,$%02X",0xA0,run,last);
|
||||
}
|
||||
size+=3;
|
||||
}
|
||||
|
||||
return size;
|
||||
}
|
||||
|
||||
|
||||
int rle_smaller(int out_type, char *varname,
|
||||
int xsize,int ysize, unsigned char *image) {
|
||||
|
||||
int run=0;
|
||||
int x;
|
||||
|
||||
int last=-1,next;
|
||||
int size=0;
|
||||
int count=0;
|
||||
|
||||
x=0;
|
||||
|
||||
/* Write out xsize and ysize */
|
||||
|
||||
if (out_type==OUTPUT_C) {
|
||||
fprintf(stdout,"unsigned char %s[]={\n",varname);
|
||||
fprintf(stdout,"\t0x%X, /* ysize=%d */",xsize,ysize);
|
||||
}
|
||||
else {
|
||||
fprintf(stdout,"%s:",varname);
|
||||
fprintf(stdout,"\t.byte $%X ; ysize=%d",xsize,ysize);
|
||||
}
|
||||
|
||||
size+=2;
|
||||
|
||||
/* Get first top/bottom color pair */
|
||||
last=image[x];
|
||||
run++;
|
||||
x++;
|
||||
|
||||
while(1) {
|
||||
|
||||
/* get next top/bottom color pair */
|
||||
next=image[x];
|
||||
|
||||
if ((next&0xf0)==0xA0) {
|
||||
fprintf(stderr,"Warning! Using color A (grey2)!\n");
|
||||
next&=~0xf0;
|
||||
next|=0x50; // substitute grey1
|
||||
}
|
||||
|
||||
/* If color change (or too big) then output our run */
|
||||
/* Note 0xff for run length is special case meaning "finished" */
|
||||
if ((next!=last) || (run>254)) {
|
||||
|
||||
size+=print_run(count,out_type,run,last);
|
||||
|
||||
count++;
|
||||
run=0;
|
||||
last=next;
|
||||
}
|
||||
|
||||
x++;
|
||||
|
||||
/* If we reach the end */
|
||||
if (x>=xsize*(ysize/2)) {
|
||||
run++;
|
||||
|
||||
size+=print_run(count,out_type,run,last);
|
||||
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
run++;
|
||||
if (count>6) count=0;
|
||||
|
||||
}
|
||||
|
||||
/* Print closing marker */
|
||||
|
||||
if (out_type==OUTPUT_C) {
|
||||
fprintf(stdout,"0xA1,");
|
||||
fprintf(stdout,"\t};\n");
|
||||
} else {
|
||||
fprintf(stdout,"\t.byte $A1\n");
|
||||
}
|
||||
|
||||
size+=1;
|
||||
|
||||
return size;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Converts a PNG to RLE compressed data */
|
||||
@ -159,7 +306,10 @@ int main(int argc, char **argv) {
|
||||
|
||||
fprintf(stderr,"Loaded image %d by %d\n",xsize,ysize);
|
||||
|
||||
size=rle_original(out_type,argv[3],
|
||||
// size=rle_original(out_type,argv[3],
|
||||
// xsize,ysize,image);
|
||||
|
||||
size=rle_smaller(out_type,argv[3],
|
||||
xsize,ysize,image);
|
||||
|
||||
fprintf(stderr,"Size %d bytes\n",size);
|
||||
|
Loading…
x
Reference in New Issue
Block a user