1 /* #include <code16bit.h> */
16 static unsigned char data[] = {
17 0x65, 0x06, 0x67, 0x06, 0x79, 0x07, 0x8c, 0x08, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f,
18 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f
21 static unsigned char data2[] = {
22 0x65, 0x06, 0x67, 0x06, 0x79, 0x07, 0x8c, 0x08, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f,
23 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f
26 static unsigned char data3[] = {
27 0x65, 0x06, 0x67, 0x06, 0x79, 0x07, 0x8c, 0x08, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f,
28 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f, 0xff, 0x0f
33 unsigned short *memcpy(dest, src, cnt)
48 for (i = 0; i < cnt; ++i) {
66 // unsigned short dest = 0xFE00;
67 // unsigned * ptr = dest;
71 memcpy(0xFE00, 0x1000, 16);
75 //wmemcpy(WSC_PALETTES, 0x2F000, 32);
81 unsigned short data_seg = 0xF000;
82 unsigned short data_ram = 0x1000;
83 unsigned short rel_ram = data_seg - data_ram;
88 memcpy(0xFE00, data - rel_ram, 16);
89 //memcpy(0xFE00, data_seg + data, 16);
92 // /* outport(0x15EE); */
93 // unsigned reg = 0x15;
94 // unsigned val = 0xEE;
95 // outport((reg << 8) | val);