#include <at89x52.h>
#include <absacc.h>
xdata unsigned char DATA1[8] _at_ 0x0100;//左半屏数据地址
xdata unsigned char DATA2[8] _at_ 0x0200;//右半屏数据地址
xdata unsigned char COM1[8] _at_ 0x0300;//上半屏行扫描数据地址
xdata unsigned char COM2[8] _at_ 0x0400;//下半屏行扫描数据地址
code Con[]={0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f};
code unsigned image1[]={
/*-- 调入了一幅图像:D:\11.bmp --*/
/*-- 宽度x高度=128x128 --*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0A,0xAA,0xA8,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x14,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xAA,0x80,0x02,0x80,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x05,0x40,0x10,0x40,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0A,0x8A,0xB8,0x3E,0xA8,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x14,0x07,0x10,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2A,0x20,0x2A,0x03,0xAA,0x80,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x04,0x05,0x41,0xC4,0x40,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xAA,0xAE,0xAA,0xA9,0xFB,0xB8,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x40,0x04,0x00,0x50,0x70,0x54,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x02,0xA2,0xAA,0xA2,0xAA,0xFE,0xAE,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x40,0x00,0x40,0x44,0x5C,0x15,0x40,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x02,0xAA,0xAA,0xF8,0xAA,0xBE,0xBB,0xA0,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x50,0x00,0x14,0x15,0x17,0x15,0x50,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x06,0xAA,0xAA,0x3E,0x2A,0xAF,0xAA,0xE8,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x54,0x40,0x1C,0x45,0x45,0x05,0x54,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x0B,0xBB,0xAA,0xBF,0xAA,0xAB,0xAB,0xBB,0x80,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x55,0x50,0x07,0x11,0x51,0x55,0x51,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x0A,0xAA,0xAA,0xAF,0xAA,0xAE,0xAA,0xAA,0x80,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x54,0x54,0x05,0x44,0x54,0x00,0x05,0x40,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x0A,0xAA,0xAA,0xAB,0xAA,0xAA,0xAA,0x8A,0x80,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x55,0x55,0x15,0x55,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x0A,0xAA,0xAA,0xAA,0xAA,0x2A,0x22,0x22,0x20,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x54,0x54,0x54,0x40,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x0A,0xAA,0xAA,0xAB,0xAA,0xAA,0xAA,0x88,0x88,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x55,0x55,0x54,0x00,0x10,0x10,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x0A,0xAA,0xAA,0xAA,0xA2,0x2A,0xAA,0x22,0x82,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x55,0x55,0x50,0x05,0x40,0x04,0x04,0x40,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x0A,0xAA,0xAA,0xBA,0xAA,0xF8,0x0A,0x8A,0xA8,0xA0,
0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x55,0x55,0x15,0x00,0x1C,0x01,0x00,0x00,0x40,
0x00,0x00,0x00,0x00,0x00,0x00,0x02,0xAA,0xAA,0xAB,0xEA,0xAF,0x02,0xA8,0x02,0xE0,
0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x54,0x54,0x00,0x5D,0x01,0xC0,0x00,0x05,0xC0,
0x00,0x00,0x00,0x00,0x00,0x00,0x02,0xAA,0xAA,0xAA,0xBF,0xA8,0xE0,0xA0,0x0F,0xB8,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x55,0x50,0x00,0x45,0x54,0x70,0x40,0x15,0x10,
0x00,0x00,0x00,0x00,0x00,0x00,0x02,0xAA,0xAA,0xAA,0xAA,0xAF,0xFE,0xAA,0xFA,0xA8,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x55,0x40,0x00,0x40,0x45,0x55,0x5D,0x50,0x44,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xAA,0xAA,0xAA,0xA8,0x2A,0xAB,0xBA,0xAA,0x88,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x55,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xEE,0xAA,0x2A,0xA0,0x22,0x22,0x22,0x22,0xA2,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x14,0x40,0x01,0x40,0x00,0x40,0x00,0x40,0x44,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0xAA,0xAA,0xAA,0xA8,0xF8,0xA8,0xF8,0xAA,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x10,0x01,0x14,0x01,0x50,0x01,0x50,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xAA,0xAA,0xAA,0x22,0xAA,0x22,0xAA,0x22,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x44,0x00,0x04,0x05,0x54,0x01,0x54,0x40,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2A,0xAA,0xAA,0x8B,0xB8,0x8B,0xBE,0xAA,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x01,0x00,0x05,0x54,0x05,0x54,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2A,0x2A,0xA0,0x26,0xFE,0x22,0xFE,0x22,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x40,0x05,0x54,0x05,0x54,0x41,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0A,0xAA,0xA8,0xAB,0xF8,0xAB,0xF8,0xAB,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x01,0x10,0x05,0x50,0x05,0x50,0x01,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0xA2,0xA0,0x22,0xAA,0x22,0xAA,0xA2,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x50,0x01,0x50,0x04,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0xAA,0xA8,0x8B,0xAA,0x8A,0xEA,0x8A,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x10,0x00,0x00,0x15,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xAA,0xAA,0x22,0x22,0x2A,0xA2,0x2A,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x44,0x00,0x00,0x40,0x10,0x10,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xAA,0xAA,0xAA,0xA8,0x80,0x0A,0xA2,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x11,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x22,0x2A,0xA2,0x22,0x00,0x08,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x04,0x40,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0A,0xAA,0xAA,0xAA,0xAA,0x80,0x08,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x15,0x00,0x00,0x00,0x10,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0A,0x22,0x22,0x20,0x00,0x00,0x20,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x40,0x04,0x00,0x00,0x40,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3A,0xAA,0xAA,0xA8,0x80,0x8A,0x80,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x54,0x00,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xBE,0x22,0x22,0x20,0x00,0xA0,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x54,0x00,0x00,0x00,0x04,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0xAB,0x88,0x88,0xAA,0xA8,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x15,0x50,0x11,0x10,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0A,0xAA,0xFA,0xAA,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x44,0x54,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1A,0xAA,0xBF,0x80,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x11,0x01,0x55,0x40,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2A,0xAA,0xAE,0xE0,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x44,0x1C,0x45,0x50,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6A,0xAE,0xBB,0xAE,0x80,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x15,0x55,0x55,0x40,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xEA,0xAF,0xFA,0xFA,0x20,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x54,0x55,0xD5,0x40,0x10,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xAB,0xBF,0xFF,0xEA,0x88,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x51,0x55,0x45,0x40,0x50,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xEA,0xFF,0x83,0xA2,0x20,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x55,0x55,0x01,0x40,0x40,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xBF,0xFF,0xA0,0xAA,0xA0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x15,0x75,0x50,0x40,0x40,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xAA,0xAA,0xAE,0x2A,0xE0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x54,0x54,0x15,0x40,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xAA,0xBA,0xEA,0x0B,0xE0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x55,0x41,0x01,0x40,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xAA,0xBA,0xAA,0xA2,0xA0,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x44,0x55,0x55,0x55,0x50,0x00,0x00,0x00,
0x00,0x00