Commit | Line | Data |
---|---|---|
9b6b563c PM |
1 | /* |
2 | * Procedures for drawing on the screen early on in the boot process. | |
3 | * | |
4 | * Benjamin Herrenschmidt <benh@kernel.crashing.org> | |
5 | */ | |
9b6b563c PM |
6 | #include <linux/kernel.h> |
7 | #include <linux/string.h> | |
8 | #include <linux/init.h> | |
9 | #include <linux/module.h> | |
10 | ||
11 | #include <asm/sections.h> | |
12 | #include <asm/prom.h> | |
13 | #include <asm/btext.h> | |
14 | #include <asm/prom.h> | |
15 | #include <asm/page.h> | |
16 | #include <asm/mmu.h> | |
17 | #include <asm/pgtable.h> | |
18 | #include <asm/io.h> | |
19 | #include <asm/lmb.h> | |
20 | #include <asm/processor.h> | |
719c91cc | 21 | #include <asm/udbg.h> |
9b6b563c PM |
22 | |
23 | #define NO_SCROLL | |
24 | ||
25 | #ifndef NO_SCROLL | |
26 | static void scrollscreen(void); | |
27 | #endif | |
28 | ||
29 | static void draw_byte(unsigned char c, long locX, long locY); | |
30 | static void draw_byte_32(unsigned char *bits, unsigned int *base, int rb); | |
31 | static void draw_byte_16(unsigned char *bits, unsigned int *base, int rb); | |
32 | static void draw_byte_8(unsigned char *bits, unsigned int *base, int rb); | |
33 | ||
51d3082f | 34 | #define __force_data __attribute__((__section__(".data"))) |
9b6b563c | 35 | |
51d3082f BH |
36 | static int g_loc_X __force_data; |
37 | static int g_loc_Y __force_data; | |
38 | static int g_max_loc_X __force_data; | |
39 | static int g_max_loc_Y __force_data; | |
40 | ||
41 | static int dispDeviceRowBytes __force_data; | |
42 | static int dispDeviceDepth __force_data; | |
43 | static int dispDeviceRect[4] __force_data; | |
44 | static unsigned char *dispDeviceBase __force_data; | |
45 | static unsigned char *logicalDisplayBase __force_data; | |
9b6b563c PM |
46 | |
47 | unsigned long disp_BAT[2] __initdata = {0, 0}; | |
48 | ||
49 | #define cmapsz (16*256) | |
50 | ||
51 | static unsigned char vga_font[cmapsz]; | |
52 | ||
51d3082f | 53 | int boot_text_mapped __force_data = 0; |
9b6b563c PM |
54 | int force_printk_to_btext = 0; |
55 | ||
40ef8cbc | 56 | #ifdef CONFIG_PPC32 |
9b6b563c PM |
57 | /* Calc BAT values for mapping the display and store them |
58 | * in disp_BAT. Those values are then used from head.S to map | |
59 | * the display during identify_machine() and MMU_Init() | |
60 | * | |
61 | * The display is mapped to virtual address 0xD0000000, rather | |
62 | * than 1:1, because some some CHRP machines put the frame buffer | |
b5666f70 | 63 | * in the region starting at 0xC0000000 (PAGE_OFFSET). |
9b6b563c PM |
64 | * This mapping is temporary and will disappear as soon as the |
65 | * setup done by MMU_Init() is applied. | |
66 | * | |
67 | * For now, we align the BAT and then map 8Mb on 601 and 16Mb | |
68 | * on other PPCs. This may cause trouble if the framebuffer | |
69 | * is really badly aligned, but I didn't encounter this case | |
70 | * yet. | |
71 | */ | |
51d3082f | 72 | void __init btext_prepare_BAT(void) |
9b6b563c | 73 | { |
b5666f70 | 74 | unsigned long vaddr = PAGE_OFFSET + 0x10000000; |
9b6b563c PM |
75 | unsigned long addr; |
76 | unsigned long lowbits; | |
77 | ||
78 | addr = (unsigned long)dispDeviceBase; | |
79 | if (!addr) { | |
80 | boot_text_mapped = 0; | |
81 | return; | |
82 | } | |
83 | if (PVR_VER(mfspr(SPRN_PVR)) != 1) { | |
84 | /* 603, 604, G3, G4, ... */ | |
85 | lowbits = addr & ~0xFF000000UL; | |
86 | addr &= 0xFF000000UL; | |
87 | disp_BAT[0] = vaddr | (BL_16M<<2) | 2; | |
88 | disp_BAT[1] = addr | (_PAGE_NO_CACHE | _PAGE_GUARDED | BPP_RW); | |
89 | } else { | |
90 | /* 601 */ | |
91 | lowbits = addr & ~0xFF800000UL; | |
92 | addr &= 0xFF800000UL; | |
93 | disp_BAT[0] = vaddr | (_PAGE_NO_CACHE | PP_RWXX) | 4; | |
94 | disp_BAT[1] = addr | BL_8M | 0x40; | |
95 | } | |
96 | logicalDisplayBase = (void *) (vaddr + lowbits); | |
97 | } | |
40ef8cbc | 98 | #endif |
9b6b563c | 99 | |
51d3082f BH |
100 | |
101 | /* This function can be used to enable the early boot text when doing | |
102 | * OF booting or within bootx init. It must be followed by a btext_unmap() | |
103 | * call before the logical address becomes unuseable | |
9b6b563c | 104 | */ |
51d3082f BH |
105 | void __init btext_setup_display(int width, int height, int depth, int pitch, |
106 | unsigned long address) | |
9b6b563c PM |
107 | { |
108 | g_loc_X = 0; | |
109 | g_loc_Y = 0; | |
110 | g_max_loc_X = width / 8; | |
111 | g_max_loc_Y = height / 16; | |
112 | logicalDisplayBase = (unsigned char *)address; | |
113 | dispDeviceBase = (unsigned char *)address; | |
114 | dispDeviceRowBytes = pitch; | |
ab134466 | 115 | dispDeviceDepth = depth == 15 ? 16 : depth; |
9b6b563c PM |
116 | dispDeviceRect[0] = dispDeviceRect[1] = 0; |
117 | dispDeviceRect[2] = width; | |
118 | dispDeviceRect[3] = height; | |
119 | boot_text_mapped = 1; | |
120 | } | |
121 | ||
51d3082f BH |
122 | void __init btext_unmap(void) |
123 | { | |
124 | boot_text_mapped = 0; | |
125 | } | |
126 | ||
9b6b563c PM |
127 | /* Here's a small text engine to use during early boot |
128 | * or for debugging purposes | |
129 | * | |
130 | * todo: | |
131 | * | |
132 | * - build some kind of vgacon with it to enable early printk | |
133 | * - move to a separate file | |
134 | * - add a few video driver hooks to keep in sync with display | |
135 | * changes. | |
136 | */ | |
137 | ||
51d3082f | 138 | static void map_boot_text(void) |
9b6b563c PM |
139 | { |
140 | unsigned long base, offset, size; | |
141 | unsigned char *vbase; | |
142 | ||
143 | /* By default, we are no longer mapped */ | |
144 | boot_text_mapped = 0; | |
145 | if (dispDeviceBase == 0) | |
146 | return; | |
147 | base = ((unsigned long) dispDeviceBase) & 0xFFFFF000UL; | |
148 | offset = ((unsigned long) dispDeviceBase) - base; | |
149 | size = dispDeviceRowBytes * dispDeviceRect[3] + offset | |
150 | + dispDeviceRect[0]; | |
151 | vbase = __ioremap(base, size, _PAGE_NO_CACHE); | |
152 | if (vbase == 0) | |
153 | return; | |
154 | logicalDisplayBase = vbase + offset; | |
155 | boot_text_mapped = 1; | |
156 | } | |
157 | ||
158 | int btext_initialize(struct device_node *np) | |
159 | { | |
160 | unsigned int width, height, depth, pitch; | |
161 | unsigned long address = 0; | |
a7f67bdf | 162 | const u32 *prop; |
9b6b563c | 163 | |
a7f67bdf | 164 | prop = get_property(np, "linux,bootx-width", NULL); |
ab134466 | 165 | if (prop == NULL) |
a7f67bdf | 166 | prop = get_property(np, "width", NULL); |
9b6b563c PM |
167 | if (prop == NULL) |
168 | return -EINVAL; | |
169 | width = *prop; | |
a7f67bdf | 170 | prop = get_property(np, "linux,bootx-height", NULL); |
ab134466 | 171 | if (prop == NULL) |
a7f67bdf | 172 | prop = get_property(np, "height", NULL); |
9b6b563c PM |
173 | if (prop == NULL) |
174 | return -EINVAL; | |
175 | height = *prop; | |
a7f67bdf | 176 | prop = get_property(np, "linux,bootx-depth", NULL); |
ab134466 | 177 | if (prop == NULL) |
a7f67bdf | 178 | prop = get_property(np, "depth", NULL); |
9b6b563c PM |
179 | if (prop == NULL) |
180 | return -EINVAL; | |
181 | depth = *prop; | |
182 | pitch = width * ((depth + 7) / 8); | |
a7f67bdf | 183 | prop = get_property(np, "linux,bootx-linebytes", NULL); |
ab134466 | 184 | if (prop == NULL) |
a7f67bdf | 185 | prop = get_property(np, "linebytes", NULL); |
441cbd8d | 186 | if (prop && *prop != 0xffffffffu) |
9b6b563c PM |
187 | pitch = *prop; |
188 | if (pitch == 1) | |
189 | pitch = 0x1000; | |
a7f67bdf | 190 | prop = get_property(np, "address", NULL); |
9b6b563c PM |
191 | if (prop) |
192 | address = *prop; | |
193 | ||
51d3082f BH |
194 | /* FIXME: Add support for PCI reg properties. Right now, only |
195 | * reliable on macs | |
196 | */ | |
9b6b563c PM |
197 | if (address == 0) |
198 | return -EINVAL; | |
199 | ||
200 | g_loc_X = 0; | |
201 | g_loc_Y = 0; | |
202 | g_max_loc_X = width / 8; | |
203 | g_max_loc_Y = height / 16; | |
9b6b563c PM |
204 | dispDeviceBase = (unsigned char *)address; |
205 | dispDeviceRowBytes = pitch; | |
ab134466 | 206 | dispDeviceDepth = depth == 15 ? 16 : depth; |
9b6b563c PM |
207 | dispDeviceRect[0] = dispDeviceRect[1] = 0; |
208 | dispDeviceRect[2] = width; | |
209 | dispDeviceRect[3] = height; | |
210 | ||
211 | map_boot_text(); | |
212 | ||
213 | return 0; | |
214 | } | |
215 | ||
51d3082f | 216 | int __init btext_find_display(int allow_nonstdout) |
9b6b563c | 217 | { |
a7f67bdf | 218 | const char *name; |
9b6b563c PM |
219 | struct device_node *np = NULL; |
220 | int rc = -ENODEV; | |
221 | ||
a7f67bdf | 222 | name = get_property(of_chosen, "linux,stdout-path", NULL); |
9b6b563c PM |
223 | if (name != NULL) { |
224 | np = of_find_node_by_path(name); | |
225 | if (np != NULL) { | |
226 | if (strcmp(np->type, "display") != 0) { | |
227 | printk("boot stdout isn't a display !\n"); | |
228 | of_node_put(np); | |
229 | np = NULL; | |
230 | } | |
231 | } | |
232 | } | |
233 | if (np) | |
234 | rc = btext_initialize(np); | |
51d3082f BH |
235 | if (rc == 0 || !allow_nonstdout) |
236 | return rc; | |
9b6b563c PM |
237 | |
238 | for (np = NULL; (np = of_find_node_by_type(np, "display"));) { | |
239 | if (get_property(np, "linux,opened", NULL)) { | |
240 | printk("trying %s ...\n", np->full_name); | |
241 | rc = btext_initialize(np); | |
242 | printk("result: %d\n", rc); | |
243 | } | |
244 | if (rc == 0) | |
51d3082f | 245 | break; |
9b6b563c | 246 | } |
51d3082f | 247 | return rc; |
9b6b563c PM |
248 | } |
249 | ||
250 | /* Calc the base address of a given point (x,y) */ | |
251 | static unsigned char * calc_base(int x, int y) | |
252 | { | |
253 | unsigned char *base; | |
254 | ||
255 | base = logicalDisplayBase; | |
256 | if (base == 0) | |
257 | base = dispDeviceBase; | |
258 | base += (x + dispDeviceRect[0]) * (dispDeviceDepth >> 3); | |
259 | base += (y + dispDeviceRect[1]) * dispDeviceRowBytes; | |
260 | return base; | |
261 | } | |
262 | ||
263 | /* Adjust the display to a new resolution */ | |
264 | void btext_update_display(unsigned long phys, int width, int height, | |
265 | int depth, int pitch) | |
266 | { | |
267 | if (dispDeviceBase == 0) | |
268 | return; | |
269 | ||
270 | /* check it's the same frame buffer (within 256MB) */ | |
271 | if ((phys ^ (unsigned long)dispDeviceBase) & 0xf0000000) | |
272 | return; | |
273 | ||
274 | dispDeviceBase = (__u8 *) phys; | |
275 | dispDeviceRect[0] = 0; | |
276 | dispDeviceRect[1] = 0; | |
277 | dispDeviceRect[2] = width; | |
278 | dispDeviceRect[3] = height; | |
279 | dispDeviceDepth = depth; | |
280 | dispDeviceRowBytes = pitch; | |
281 | if (boot_text_mapped) { | |
282 | iounmap(logicalDisplayBase); | |
283 | boot_text_mapped = 0; | |
284 | } | |
285 | map_boot_text(); | |
286 | g_loc_X = 0; | |
287 | g_loc_Y = 0; | |
288 | g_max_loc_X = width / 8; | |
289 | g_max_loc_Y = height / 16; | |
290 | } | |
291 | EXPORT_SYMBOL(btext_update_display); | |
292 | ||
293 | void btext_clearscreen(void) | |
294 | { | |
51d3082f | 295 | unsigned int *base = (unsigned int *)calc_base(0, 0); |
9b6b563c | 296 | unsigned long width = ((dispDeviceRect[2] - dispDeviceRect[0]) * |
51d3082f | 297 | (dispDeviceDepth >> 3)) >> 2; |
9b6b563c PM |
298 | int i,j; |
299 | ||
300 | for (i=0; i<(dispDeviceRect[3] - dispDeviceRect[1]); i++) | |
301 | { | |
51d3082f | 302 | unsigned int *ptr = base; |
9b6b563c PM |
303 | for(j=width; j; --j) |
304 | *(ptr++) = 0; | |
51d3082f BH |
305 | base += (dispDeviceRowBytes >> 2); |
306 | } | |
307 | } | |
308 | ||
309 | void btext_flushscreen(void) | |
310 | { | |
311 | unsigned int *base = (unsigned int *)calc_base(0, 0); | |
312 | unsigned long width = ((dispDeviceRect[2] - dispDeviceRect[0]) * | |
313 | (dispDeviceDepth >> 3)) >> 2; | |
314 | int i,j; | |
315 | ||
316 | for (i=0; i < (dispDeviceRect[3] - dispDeviceRect[1]); i++) | |
317 | { | |
318 | unsigned int *ptr = base; | |
319 | for(j = width; j > 0; j -= 8) { | |
320 | __asm__ __volatile__ ("dcbst 0,%0" :: "r" (ptr)); | |
321 | ptr += 8; | |
322 | } | |
323 | base += (dispDeviceRowBytes >> 2); | |
9b6b563c | 324 | } |
51d3082f | 325 | __asm__ __volatile__ ("sync" ::: "memory"); |
9b6b563c PM |
326 | } |
327 | ||
51d3082f BH |
328 | void btext_flushline(void) |
329 | { | |
330 | unsigned int *base = (unsigned int *)calc_base(0, g_loc_Y << 4); | |
331 | unsigned long width = ((dispDeviceRect[2] - dispDeviceRect[0]) * | |
332 | (dispDeviceDepth >> 3)) >> 2; | |
333 | int i,j; | |
334 | ||
335 | for (i=0; i < 16; i++) | |
336 | { | |
337 | unsigned int *ptr = base; | |
338 | for(j = width; j > 0; j -= 8) { | |
339 | __asm__ __volatile__ ("dcbst 0,%0" :: "r" (ptr)); | |
340 | ptr += 8; | |
341 | } | |
342 | base += (dispDeviceRowBytes >> 2); | |
343 | } | |
344 | __asm__ __volatile__ ("sync" ::: "memory"); | |
345 | } | |
346 | ||
347 | ||
9b6b563c PM |
348 | #ifndef NO_SCROLL |
349 | static void scrollscreen(void) | |
350 | { | |
51d3082f BH |
351 | unsigned int *src = (unsigned int *)calc_base(0,16); |
352 | unsigned int *dst = (unsigned int *)calc_base(0,0); | |
9b6b563c | 353 | unsigned long width = ((dispDeviceRect[2] - dispDeviceRect[0]) * |
51d3082f | 354 | (dispDeviceDepth >> 3)) >> 2; |
9b6b563c PM |
355 | int i,j; |
356 | ||
357 | for (i=0; i<(dispDeviceRect[3] - dispDeviceRect[1] - 16); i++) | |
358 | { | |
51d3082f BH |
359 | unsigned int *src_ptr = src; |
360 | unsigned int *dst_ptr = dst; | |
9b6b563c PM |
361 | for(j=width; j; --j) |
362 | *(dst_ptr++) = *(src_ptr++); | |
51d3082f BH |
363 | src += (dispDeviceRowBytes >> 2); |
364 | dst += (dispDeviceRowBytes >> 2); | |
9b6b563c PM |
365 | } |
366 | for (i=0; i<16; i++) | |
367 | { | |
51d3082f | 368 | unsigned int *dst_ptr = dst; |
9b6b563c PM |
369 | for(j=width; j; --j) |
370 | *(dst_ptr++) = 0; | |
51d3082f | 371 | dst += (dispDeviceRowBytes >> 2); |
9b6b563c PM |
372 | } |
373 | } | |
374 | #endif /* ndef NO_SCROLL */ | |
375 | ||
376 | void btext_drawchar(char c) | |
377 | { | |
378 | int cline = 0; | |
379 | #ifdef NO_SCROLL | |
380 | int x; | |
381 | #endif | |
382 | if (!boot_text_mapped) | |
383 | return; | |
384 | ||
385 | switch (c) { | |
386 | case '\b': | |
387 | if (g_loc_X > 0) | |
388 | --g_loc_X; | |
389 | break; | |
390 | case '\t': | |
391 | g_loc_X = (g_loc_X & -8) + 8; | |
392 | break; | |
393 | case '\r': | |
394 | g_loc_X = 0; | |
395 | break; | |
396 | case '\n': | |
397 | g_loc_X = 0; | |
398 | g_loc_Y++; | |
399 | cline = 1; | |
400 | break; | |
401 | default: | |
402 | draw_byte(c, g_loc_X++, g_loc_Y); | |
403 | } | |
404 | if (g_loc_X >= g_max_loc_X) { | |
405 | g_loc_X = 0; | |
406 | g_loc_Y++; | |
407 | cline = 1; | |
408 | } | |
409 | #ifndef NO_SCROLL | |
410 | while (g_loc_Y >= g_max_loc_Y) { | |
411 | scrollscreen(); | |
412 | g_loc_Y--; | |
413 | } | |
414 | #else | |
415 | /* wrap around from bottom to top of screen so we don't | |
416 | waste time scrolling each line. -- paulus. */ | |
417 | if (g_loc_Y >= g_max_loc_Y) | |
418 | g_loc_Y = 0; | |
419 | if (cline) { | |
420 | for (x = 0; x < g_max_loc_X; ++x) | |
421 | draw_byte(' ', x, g_loc_Y); | |
422 | } | |
423 | #endif | |
424 | } | |
425 | ||
426 | void btext_drawstring(const char *c) | |
427 | { | |
428 | if (!boot_text_mapped) | |
429 | return; | |
430 | while (*c) | |
431 | btext_drawchar(*c++); | |
432 | } | |
433 | ||
51d3082f BH |
434 | void btext_drawtext(const char *c, unsigned int len) |
435 | { | |
436 | if (!boot_text_mapped) | |
437 | return; | |
438 | while (len--) | |
439 | btext_drawchar(*c++); | |
440 | } | |
441 | ||
9b6b563c PM |
442 | void btext_drawhex(unsigned long v) |
443 | { | |
444 | char *hex_table = "0123456789abcdef"; | |
445 | ||
446 | if (!boot_text_mapped) | |
447 | return; | |
448 | #ifdef CONFIG_PPC64 | |
449 | btext_drawchar(hex_table[(v >> 60) & 0x0000000FUL]); | |
450 | btext_drawchar(hex_table[(v >> 56) & 0x0000000FUL]); | |
451 | btext_drawchar(hex_table[(v >> 52) & 0x0000000FUL]); | |
452 | btext_drawchar(hex_table[(v >> 48) & 0x0000000FUL]); | |
453 | btext_drawchar(hex_table[(v >> 44) & 0x0000000FUL]); | |
454 | btext_drawchar(hex_table[(v >> 40) & 0x0000000FUL]); | |
455 | btext_drawchar(hex_table[(v >> 36) & 0x0000000FUL]); | |
456 | btext_drawchar(hex_table[(v >> 32) & 0x0000000FUL]); | |
457 | #endif | |
458 | btext_drawchar(hex_table[(v >> 28) & 0x0000000FUL]); | |
459 | btext_drawchar(hex_table[(v >> 24) & 0x0000000FUL]); | |
460 | btext_drawchar(hex_table[(v >> 20) & 0x0000000FUL]); | |
461 | btext_drawchar(hex_table[(v >> 16) & 0x0000000FUL]); | |
462 | btext_drawchar(hex_table[(v >> 12) & 0x0000000FUL]); | |
463 | btext_drawchar(hex_table[(v >> 8) & 0x0000000FUL]); | |
464 | btext_drawchar(hex_table[(v >> 4) & 0x0000000FUL]); | |
465 | btext_drawchar(hex_table[(v >> 0) & 0x0000000FUL]); | |
466 | btext_drawchar(' '); | |
467 | } | |
468 | ||
469 | static void draw_byte(unsigned char c, long locX, long locY) | |
470 | { | |
471 | unsigned char *base = calc_base(locX << 3, locY << 4); | |
472 | unsigned char *font = &vga_font[((unsigned int)c) * 16]; | |
473 | int rb = dispDeviceRowBytes; | |
474 | ||
475 | switch(dispDeviceDepth) { | |
476 | case 24: | |
477 | case 32: | |
478 | draw_byte_32(font, (unsigned int *)base, rb); | |
479 | break; | |
480 | case 15: | |
481 | case 16: | |
482 | draw_byte_16(font, (unsigned int *)base, rb); | |
483 | break; | |
484 | case 8: | |
485 | draw_byte_8(font, (unsigned int *)base, rb); | |
486 | break; | |
487 | } | |
488 | } | |
489 | ||
490 | static unsigned int expand_bits_8[16] = { | |
491 | 0x00000000, | |
492 | 0x000000ff, | |
493 | 0x0000ff00, | |
494 | 0x0000ffff, | |
495 | 0x00ff0000, | |
496 | 0x00ff00ff, | |
497 | 0x00ffff00, | |
498 | 0x00ffffff, | |
499 | 0xff000000, | |
500 | 0xff0000ff, | |
501 | 0xff00ff00, | |
502 | 0xff00ffff, | |
503 | 0xffff0000, | |
504 | 0xffff00ff, | |
505 | 0xffffff00, | |
506 | 0xffffffff | |
507 | }; | |
508 | ||
509 | static unsigned int expand_bits_16[4] = { | |
510 | 0x00000000, | |
511 | 0x0000ffff, | |
512 | 0xffff0000, | |
513 | 0xffffffff | |
514 | }; | |
515 | ||
516 | ||
517 | static void draw_byte_32(unsigned char *font, unsigned int *base, int rb) | |
518 | { | |
519 | int l, bits; | |
520 | int fg = 0xFFFFFFFFUL; | |
521 | int bg = 0x00000000UL; | |
522 | ||
523 | for (l = 0; l < 16; ++l) | |
524 | { | |
525 | bits = *font++; | |
526 | base[0] = (-(bits >> 7) & fg) ^ bg; | |
527 | base[1] = (-((bits >> 6) & 1) & fg) ^ bg; | |
528 | base[2] = (-((bits >> 5) & 1) & fg) ^ bg; | |
529 | base[3] = (-((bits >> 4) & 1) & fg) ^ bg; | |
530 | base[4] = (-((bits >> 3) & 1) & fg) ^ bg; | |
531 | base[5] = (-((bits >> 2) & 1) & fg) ^ bg; | |
532 | base[6] = (-((bits >> 1) & 1) & fg) ^ bg; | |
533 | base[7] = (-(bits & 1) & fg) ^ bg; | |
534 | base = (unsigned int *) ((char *)base + rb); | |
535 | } | |
536 | } | |
537 | ||
538 | static void draw_byte_16(unsigned char *font, unsigned int *base, int rb) | |
539 | { | |
540 | int l, bits; | |
541 | int fg = 0xFFFFFFFFUL; | |
542 | int bg = 0x00000000UL; | |
543 | unsigned int *eb = (int *)expand_bits_16; | |
544 | ||
545 | for (l = 0; l < 16; ++l) | |
546 | { | |
547 | bits = *font++; | |
548 | base[0] = (eb[bits >> 6] & fg) ^ bg; | |
549 | base[1] = (eb[(bits >> 4) & 3] & fg) ^ bg; | |
550 | base[2] = (eb[(bits >> 2) & 3] & fg) ^ bg; | |
551 | base[3] = (eb[bits & 3] & fg) ^ bg; | |
552 | base = (unsigned int *) ((char *)base + rb); | |
553 | } | |
554 | } | |
555 | ||
556 | static void draw_byte_8(unsigned char *font, unsigned int *base, int rb) | |
557 | { | |
558 | int l, bits; | |
559 | int fg = 0x0F0F0F0FUL; | |
560 | int bg = 0x00000000UL; | |
561 | unsigned int *eb = (int *)expand_bits_8; | |
562 | ||
563 | for (l = 0; l < 16; ++l) | |
564 | { | |
565 | bits = *font++; | |
566 | base[0] = (eb[bits >> 4] & fg) ^ bg; | |
567 | base[1] = (eb[bits & 0xf] & fg) ^ bg; | |
568 | base = (unsigned int *) ((char *)base + rb); | |
569 | } | |
570 | } | |
571 | ||
572 | static unsigned char vga_font[cmapsz] = { | |
573 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
574 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7e, 0x81, 0xa5, 0x81, 0x81, 0xbd, | |
575 | 0x99, 0x81, 0x81, 0x7e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7e, 0xff, | |
576 | 0xdb, 0xff, 0xff, 0xc3, 0xe7, 0xff, 0xff, 0x7e, 0x00, 0x00, 0x00, 0x00, | |
577 | 0x00, 0x00, 0x00, 0x00, 0x6c, 0xfe, 0xfe, 0xfe, 0xfe, 0x7c, 0x38, 0x10, | |
578 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x38, 0x7c, 0xfe, | |
579 | 0x7c, 0x38, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, | |
580 | 0x3c, 0x3c, 0xe7, 0xe7, 0xe7, 0x18, 0x18, 0x3c, 0x00, 0x00, 0x00, 0x00, | |
581 | 0x00, 0x00, 0x00, 0x18, 0x3c, 0x7e, 0xff, 0xff, 0x7e, 0x18, 0x18, 0x3c, | |
582 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x3c, | |
583 | 0x3c, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, | |
584 | 0xff, 0xff, 0xe7, 0xc3, 0xc3, 0xe7, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | |
585 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x3c, 0x66, 0x42, 0x42, 0x66, 0x3c, 0x00, | |
586 | 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc3, 0x99, 0xbd, | |
587 | 0xbd, 0x99, 0xc3, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x1e, 0x0e, | |
588 | 0x1a, 0x32, 0x78, 0xcc, 0xcc, 0xcc, 0xcc, 0x78, 0x00, 0x00, 0x00, 0x00, | |
589 | 0x00, 0x00, 0x3c, 0x66, 0x66, 0x66, 0x66, 0x3c, 0x18, 0x7e, 0x18, 0x18, | |
590 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0x33, 0x3f, 0x30, 0x30, 0x30, | |
591 | 0x30, 0x70, 0xf0, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7f, 0x63, | |
592 | 0x7f, 0x63, 0x63, 0x63, 0x63, 0x67, 0xe7, 0xe6, 0xc0, 0x00, 0x00, 0x00, | |
593 | 0x00, 0x00, 0x00, 0x18, 0x18, 0xdb, 0x3c, 0xe7, 0x3c, 0xdb, 0x18, 0x18, | |
594 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xc0, 0xe0, 0xf0, 0xf8, 0xfe, 0xf8, | |
595 | 0xf0, 0xe0, 0xc0, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x06, 0x0e, | |
596 | 0x1e, 0x3e, 0xfe, 0x3e, 0x1e, 0x0e, 0x06, 0x02, 0x00, 0x00, 0x00, 0x00, | |
597 | 0x00, 0x00, 0x18, 0x3c, 0x7e, 0x18, 0x18, 0x18, 0x7e, 0x3c, 0x18, 0x00, | |
598 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, | |
599 | 0x66, 0x00, 0x66, 0x66, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7f, 0xdb, | |
600 | 0xdb, 0xdb, 0x7b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x00, 0x00, 0x00, 0x00, | |
601 | 0x00, 0x7c, 0xc6, 0x60, 0x38, 0x6c, 0xc6, 0xc6, 0x6c, 0x38, 0x0c, 0xc6, | |
602 | 0x7c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
603 | 0xfe, 0xfe, 0xfe, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x3c, | |
604 | 0x7e, 0x18, 0x18, 0x18, 0x7e, 0x3c, 0x18, 0x7e, 0x00, 0x00, 0x00, 0x00, | |
605 | 0x00, 0x00, 0x18, 0x3c, 0x7e, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, | |
606 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, | |
607 | 0x18, 0x7e, 0x3c, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
608 | 0x00, 0x18, 0x0c, 0xfe, 0x0c, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
609 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x60, 0xfe, 0x60, 0x30, 0x00, 0x00, | |
610 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xc0, | |
611 | 0xc0, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
612 | 0x00, 0x24, 0x66, 0xff, 0x66, 0x24, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
613 | 0x00, 0x00, 0x00, 0x00, 0x10, 0x38, 0x38, 0x7c, 0x7c, 0xfe, 0xfe, 0x00, | |
614 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0xfe, 0x7c, 0x7c, | |
615 | 0x38, 0x38, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
616 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
617 | 0x00, 0x00, 0x18, 0x3c, 0x3c, 0x3c, 0x18, 0x18, 0x18, 0x00, 0x18, 0x18, | |
618 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x66, 0x66, 0x66, 0x24, 0x00, 0x00, 0x00, | |
619 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x6c, | |
620 | 0x6c, 0xfe, 0x6c, 0x6c, 0x6c, 0xfe, 0x6c, 0x6c, 0x00, 0x00, 0x00, 0x00, | |
621 | 0x18, 0x18, 0x7c, 0xc6, 0xc2, 0xc0, 0x7c, 0x06, 0x06, 0x86, 0xc6, 0x7c, | |
622 | 0x18, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc2, 0xc6, 0x0c, 0x18, | |
623 | 0x30, 0x60, 0xc6, 0x86, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x6c, | |
624 | 0x6c, 0x38, 0x76, 0xdc, 0xcc, 0xcc, 0xcc, 0x76, 0x00, 0x00, 0x00, 0x00, | |
625 | 0x00, 0x30, 0x30, 0x30, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
626 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x18, 0x30, 0x30, 0x30, 0x30, | |
627 | 0x30, 0x30, 0x18, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x18, | |
628 | 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x18, 0x30, 0x00, 0x00, 0x00, 0x00, | |
629 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x66, 0x3c, 0xff, 0x3c, 0x66, 0x00, 0x00, | |
630 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x7e, | |
631 | 0x18, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
632 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x18, 0x30, 0x00, 0x00, 0x00, | |
633 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7e, 0x00, 0x00, 0x00, 0x00, | |
634 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
635 | 0x00, 0x00, 0x18, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
636 | 0x02, 0x06, 0x0c, 0x18, 0x30, 0x60, 0xc0, 0x80, 0x00, 0x00, 0x00, 0x00, | |
637 | 0x00, 0x00, 0x7c, 0xc6, 0xc6, 0xce, 0xde, 0xf6, 0xe6, 0xc6, 0xc6, 0x7c, | |
638 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x38, 0x78, 0x18, 0x18, 0x18, | |
639 | 0x18, 0x18, 0x18, 0x7e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7c, 0xc6, | |
640 | 0x06, 0x0c, 0x18, 0x30, 0x60, 0xc0, 0xc6, 0xfe, 0x00, 0x00, 0x00, 0x00, | |
641 | 0x00, 0x00, 0x7c, 0xc6, 0x06, 0x06, 0x3c, 0x06, 0x06, 0x06, 0xc6, 0x7c, | |
642 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x1c, 0x3c, 0x6c, 0xcc, 0xfe, | |
643 | 0x0c, 0x0c, 0x0c, 0x1e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0xc0, | |
644 | 0xc0, 0xc0, 0xfc, 0x06, 0x06, 0x06, 0xc6, 0x7c, 0x00, 0x00, 0x00, 0x00, | |
645 | 0x00, 0x00, 0x38, 0x60, 0xc0, 0xc0, 0xfc, 0xc6, 0xc6, 0xc6, 0xc6, 0x7c, | |
646 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0xc6, 0x06, 0x06, 0x0c, 0x18, | |
647 | 0x30, 0x30, 0x30, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7c, 0xc6, | |
648 | 0xc6, 0xc6, 0x7c, 0xc6, 0xc6, 0xc6, 0xc6, 0x7c, 0x00, 0x00, 0x00, 0x00, | |
649 | 0x00, 0x00, 0x7c, 0xc6, 0xc6, 0xc6, 0x7e, 0x06, 0x06, 0x06, 0x0c, 0x78, | |
650 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x00, 0x00, | |
651 | 0x00, 0x18, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
652 | 0x18, 0x18, 0x00, 0x00, 0x00, 0x18, 0x18, 0x30, 0x00, 0x00, 0x00, 0x00, | |
653 | 0x00, 0x00, 0x00, 0x06, 0x0c, 0x18, 0x30, 0x60, 0x30, 0x18, 0x0c, 0x06, | |
654 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7e, 0x00, 0x00, | |
655 | 0x7e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, | |
656 | 0x30, 0x18, 0x0c, 0x06, 0x0c, 0x18, 0x30, 0x60, 0x00, 0x00, 0x00, 0x00, | |
657 | 0x00, 0x00, 0x7c, 0xc6, 0xc6, 0x0c, 0x18, 0x18, 0x18, 0x00, 0x18, 0x18, | |
658 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7c, 0xc6, 0xc6, 0xc6, 0xde, 0xde, | |
659 | 0xde, 0xdc, 0xc0, 0x7c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x38, | |
660 | 0x6c, 0xc6, 0xc6, 0xfe, 0xc6, 0xc6, 0xc6, 0xc6, 0x00, 0x00, 0x00, 0x00, | |
661 | 0x00, 0x00, 0xfc, 0x66, 0x66, 0x66, 0x7c, 0x66, 0x66, 0x66, 0x66, 0xfc, | |
662 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3c, 0x66, 0xc2, 0xc0, 0xc0, 0xc0, | |
663 | 0xc0, 0xc2, 0x66, 0x3c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x6c, | |
664 | 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x6c, 0xf8, 0x00, 0x00, 0x00, 0x00, | |
665 | 0x00, 0x00, 0xfe, 0x66, 0x62, 0x68, 0x78, 0x68, 0x60, 0x62, 0x66, 0xfe, | |
666 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x66, 0x62, 0x68, 0x78, 0x68, | |
667 | 0x60, 0x60, 0x60, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3c, 0x66, | |
668 | 0xc2, 0xc0, 0xc0, 0xde, 0xc6, 0xc6, 0x66, 0x3a, 0x00, 0x00, 0x00, 0x00, | |
669 | 0x00, 0x00, 0xc6, 0xc6, 0xc6, 0xc6, 0xfe, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, | |
670 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3c, 0x18, 0x18, 0x18, 0x18, 0x18, | |
671 | 0x18, 0x18, 0x18, 0x3c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1e, 0x0c, | |
672 | 0x0c, 0x0c, 0x0c, 0x0c, 0xcc, 0xcc, 0xcc, 0x78, 0x00, 0x00, 0x00, 0x00, | |
673 | 0x00, 0x00, 0xe6, 0x66, 0x66, 0x6c, 0x78, 0x78, 0x6c, 0x66, 0x66, 0xe6, | |
674 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x60, 0x60, 0x60, 0x60, 0x60, | |
675 | 0x60, 0x62, 0x66, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc3, 0xe7, | |
676 | 0xff, 0xff, 0xdb, 0xc3, 0xc3, 0xc3, 0xc3, 0xc3, 0x00, 0x00, 0x00, 0x00, | |
677 | 0x00, 0x00, 0xc6, 0xe6, 0xf6, 0xfe, 0xde, 0xce, 0xc6, 0xc6, 0xc6, 0xc6, | |
678 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7c, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, | |
679 | 0xc6, 0xc6, 0xc6, 0x7c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0x66, | |
680 | 0x66, 0x66, 0x7c, 0x60, 0x60, 0x60, 0x60, 0xf0, 0x00, 0x00, 0x00, 0x00, | |
681 | 0x00, 0x00, 0x7c, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0xd6, 0xde, 0x7c, | |
682 | 0x0c, 0x0e, 0x00, 0x00, 0x00, 0x00, 0xfc, 0x66, 0x66, 0x66, 0x7c, 0x6c, | |
683 | 0x66, 0x66, 0x66, 0xe6, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7c, 0xc6, | |
684 | 0xc6, 0x60, 0x38, 0x0c, 0x06, 0xc6, 0xc6, 0x7c, 0x00, 0x00, 0x00, 0x00, | |
685 | 0x00, 0x00, 0xff, 0xdb, 0x99, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x3c, | |
686 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, | |
687 | 0xc6, 0xc6, 0xc6, 0x7c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc3, 0xc3, | |
688 | 0xc3, 0xc3, 0xc3, 0xc3, 0xc3, 0x66, 0x3c, 0x18, 0x00, 0x00, 0x00, 0x00, | |
689 | 0x00, 0x00, 0xc3, 0xc3, 0xc3, 0xc3, 0xc3, 0xdb, 0xdb, 0xff, 0x66, 0x66, | |
690 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc3, 0xc3, 0x66, 0x3c, 0x18, 0x18, | |
691 | 0x3c, 0x66, 0xc3, 0xc3, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc3, 0xc3, | |
692 | 0xc3, 0x66, 0x3c, 0x18, 0x18, 0x18, 0x18, 0x3c, 0x00, 0x00, 0x00, 0x00, | |
693 | 0x00, 0x00, 0xff, 0xc3, 0x86, 0x0c, 0x18, 0x30, 0x60, 0xc1, 0xc3, 0xff, | |
694 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3c, 0x30, 0x30, 0x30, 0x30, 0x30, | |
695 | 0x30, 0x30, 0x30, 0x3c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, | |
696 | 0xc0, 0xe0, 0x70, 0x38, 0x1c, 0x0e, 0x06, 0x02, 0x00, 0x00, 0x00, 0x00, | |
697 | 0x00, 0x00, 0x3c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x3c, | |
698 | 0x00, 0x00, 0x00, 0x00, 0x10, 0x38, 0x6c, 0xc6, 0x00, 0x00, 0x00, 0x00, | |
699 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
700 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, | |
701 | 0x30, 0x30, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
702 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x78, 0x0c, 0x7c, | |
703 | 0xcc, 0xcc, 0xcc, 0x76, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x60, | |
704 | 0x60, 0x78, 0x6c, 0x66, 0x66, 0x66, 0x66, 0x7c, 0x00, 0x00, 0x00, 0x00, | |
705 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x7c, 0xc6, 0xc0, 0xc0, 0xc0, 0xc6, 0x7c, | |
706 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1c, 0x0c, 0x0c, 0x3c, 0x6c, 0xcc, | |
707 | 0xcc, 0xcc, 0xcc, 0x76, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
708 | 0x00, 0x7c, 0xc6, 0xfe, 0xc0, 0xc0, 0xc6, 0x7c, 0x00, 0x00, 0x00, 0x00, | |
709 | 0x00, 0x00, 0x38, 0x6c, 0x64, 0x60, 0xf0, 0x60, 0x60, 0x60, 0x60, 0xf0, | |
710 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0xcc, 0xcc, | |
711 | 0xcc, 0xcc, 0xcc, 0x7c, 0x0c, 0xcc, 0x78, 0x00, 0x00, 0x00, 0xe0, 0x60, | |
712 | 0x60, 0x6c, 0x76, 0x66, 0x66, 0x66, 0x66, 0xe6, 0x00, 0x00, 0x00, 0x00, | |
713 | 0x00, 0x00, 0x18, 0x18, 0x00, 0x38, 0x18, 0x18, 0x18, 0x18, 0x18, 0x3c, | |
714 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x06, 0x00, 0x0e, 0x06, 0x06, | |
715 | 0x06, 0x06, 0x06, 0x06, 0x66, 0x66, 0x3c, 0x00, 0x00, 0x00, 0xe0, 0x60, | |
716 | 0x60, 0x66, 0x6c, 0x78, 0x78, 0x6c, 0x66, 0xe6, 0x00, 0x00, 0x00, 0x00, | |
717 | 0x00, 0x00, 0x38, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x3c, | |
718 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe6, 0xff, 0xdb, | |
719 | 0xdb, 0xdb, 0xdb, 0xdb, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
720 | 0x00, 0xdc, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x00, 0x00, 0x00, 0x00, | |
721 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x7c, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0x7c, | |
722 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xdc, 0x66, 0x66, | |
723 | 0x66, 0x66, 0x66, 0x7c, 0x60, 0x60, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, | |
724 | 0x00, 0x76, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0x7c, 0x0c, 0x0c, 0x1e, 0x00, | |
725 | 0x00, 0x00, 0x00, 0x00, 0x00, 0xdc, 0x76, 0x66, 0x60, 0x60, 0x60, 0xf0, | |
726 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7c, 0xc6, 0x60, | |
727 | 0x38, 0x0c, 0xc6, 0x7c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x30, | |
728 | 0x30, 0xfc, 0x30, 0x30, 0x30, 0x30, 0x36, 0x1c, 0x00, 0x00, 0x00, 0x00, | |
729 | 0x00, 0x00, 0x00, 0x00, 0x00, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0x76, | |
730 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc3, 0xc3, 0xc3, | |
731 | 0xc3, 0x66, 0x3c, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
732 | 0x00, 0xc3, 0xc3, 0xc3, 0xdb, 0xdb, 0xff, 0x66, 0x00, 0x00, 0x00, 0x00, | |
733 | 0x00, 0x00, 0x00, 0x00, 0x00, 0xc3, 0x66, 0x3c, 0x18, 0x3c, 0x66, 0xc3, | |
734 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc6, 0xc6, 0xc6, | |
735 | 0xc6, 0xc6, 0xc6, 0x7e, 0x06, 0x0c, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x00, | |
736 | 0x00, 0xfe, 0xcc, 0x18, 0x30, 0x60, 0xc6, 0xfe, 0x00, 0x00, 0x00, 0x00, | |
737 | 0x00, 0x00, 0x0e, 0x18, 0x18, 0x18, 0x70, 0x18, 0x18, 0x18, 0x18, 0x0e, | |
738 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x18, 0x18, 0x00, 0x18, | |
739 | 0x18, 0x18, 0x18, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x18, | |
740 | 0x18, 0x18, 0x0e, 0x18, 0x18, 0x18, 0x18, 0x70, 0x00, 0x00, 0x00, 0x00, | |
741 | 0x00, 0x00, 0x76, 0xdc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
742 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x38, 0x6c, 0xc6, | |
743 | 0xc6, 0xc6, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3c, 0x66, | |
744 | 0xc2, 0xc0, 0xc0, 0xc0, 0xc2, 0x66, 0x3c, 0x0c, 0x06, 0x7c, 0x00, 0x00, | |
745 | 0x00, 0x00, 0xcc, 0x00, 0x00, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0x76, | |
746 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x18, 0x30, 0x00, 0x7c, 0xc6, 0xfe, | |
747 | 0xc0, 0xc0, 0xc6, 0x7c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x38, 0x6c, | |
748 | 0x00, 0x78, 0x0c, 0x7c, 0xcc, 0xcc, 0xcc, 0x76, 0x00, 0x00, 0x00, 0x00, | |
749 | 0x00, 0x00, 0xcc, 0x00, 0x00, 0x78, 0x0c, 0x7c, 0xcc, 0xcc, 0xcc, 0x76, | |
750 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x30, 0x18, 0x00, 0x78, 0x0c, 0x7c, | |
751 | 0xcc, 0xcc, 0xcc, 0x76, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x6c, 0x38, | |
752 | 0x00, 0x78, 0x0c, 0x7c, 0xcc, 0xcc, 0xcc, 0x76, 0x00, 0x00, 0x00, 0x00, | |
753 | 0x00, 0x00, 0x00, 0x00, 0x3c, 0x66, 0x60, 0x60, 0x66, 0x3c, 0x0c, 0x06, | |
754 | 0x3c, 0x00, 0x00, 0x00, 0x00, 0x10, 0x38, 0x6c, 0x00, 0x7c, 0xc6, 0xfe, | |
755 | 0xc0, 0xc0, 0xc6, 0x7c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc6, 0x00, | |
756 | 0x00, 0x7c, 0xc6, 0xfe, 0xc0, 0xc0, 0xc6, 0x7c, 0x00, 0x00, 0x00, 0x00, | |
757 | 0x00, 0x60, 0x30, 0x18, 0x00, 0x7c, 0xc6, 0xfe, 0xc0, 0xc0, 0xc6, 0x7c, | |
758 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x66, 0x00, 0x00, 0x38, 0x18, 0x18, | |
759 | 0x18, 0x18, 0x18, 0x3c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x3c, 0x66, | |
760 | 0x00, 0x38, 0x18, 0x18, 0x18, 0x18, 0x18, 0x3c, 0x00, 0x00, 0x00, 0x00, | |
761 | 0x00, 0x60, 0x30, 0x18, 0x00, 0x38, 0x18, 0x18, 0x18, 0x18, 0x18, 0x3c, | |
762 | 0x00, 0x00, 0x00, 0x00, 0x00, 0xc6, 0x00, 0x10, 0x38, 0x6c, 0xc6, 0xc6, | |
763 | 0xfe, 0xc6, 0xc6, 0xc6, 0x00, 0x00, 0x00, 0x00, 0x38, 0x6c, 0x38, 0x00, | |
764 | 0x38, 0x6c, 0xc6, 0xc6, 0xfe, 0xc6, 0xc6, 0xc6, 0x00, 0x00, 0x00, 0x00, | |
765 | 0x18, 0x30, 0x60, 0x00, 0xfe, 0x66, 0x60, 0x7c, 0x60, 0x60, 0x66, 0xfe, | |
766 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x6e, 0x3b, 0x1b, | |
767 | 0x7e, 0xd8, 0xdc, 0x77, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3e, 0x6c, | |
768 | 0xcc, 0xcc, 0xfe, 0xcc, 0xcc, 0xcc, 0xcc, 0xce, 0x00, 0x00, 0x00, 0x00, | |
769 | 0x00, 0x10, 0x38, 0x6c, 0x00, 0x7c, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0x7c, | |
770 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc6, 0x00, 0x00, 0x7c, 0xc6, 0xc6, | |
771 | 0xc6, 0xc6, 0xc6, 0x7c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x30, 0x18, | |
772 | 0x00, 0x7c, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0x7c, 0x00, 0x00, 0x00, 0x00, | |
773 | 0x00, 0x30, 0x78, 0xcc, 0x00, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0x76, | |
774 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x30, 0x18, 0x00, 0xcc, 0xcc, 0xcc, | |
775 | 0xcc, 0xcc, 0xcc, 0x76, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc6, 0x00, | |
776 | 0x00, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0x7e, 0x06, 0x0c, 0x78, 0x00, | |
777 | 0x00, 0xc6, 0x00, 0x7c, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0x7c, | |
778 | 0x00, 0x00, 0x00, 0x00, 0x00, 0xc6, 0x00, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, | |
779 | 0xc6, 0xc6, 0xc6, 0x7c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x7e, | |
780 | 0xc3, 0xc0, 0xc0, 0xc0, 0xc3, 0x7e, 0x18, 0x18, 0x00, 0x00, 0x00, 0x00, | |
781 | 0x00, 0x38, 0x6c, 0x64, 0x60, 0xf0, 0x60, 0x60, 0x60, 0x60, 0xe6, 0xfc, | |
782 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc3, 0x66, 0x3c, 0x18, 0xff, 0x18, | |
783 | 0xff, 0x18, 0x18, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0x66, 0x66, | |
784 | 0x7c, 0x62, 0x66, 0x6f, 0x66, 0x66, 0x66, 0xf3, 0x00, 0x00, 0x00, 0x00, | |
785 | 0x00, 0x0e, 0x1b, 0x18, 0x18, 0x18, 0x7e, 0x18, 0x18, 0x18, 0x18, 0x18, | |
786 | 0xd8, 0x70, 0x00, 0x00, 0x00, 0x18, 0x30, 0x60, 0x00, 0x78, 0x0c, 0x7c, | |
787 | 0xcc, 0xcc, 0xcc, 0x76, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x18, 0x30, | |
788 | 0x00, 0x38, 0x18, 0x18, 0x18, 0x18, 0x18, 0x3c, 0x00, 0x00, 0x00, 0x00, | |
789 | 0x00, 0x18, 0x30, 0x60, 0x00, 0x7c, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0x7c, | |
790 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x30, 0x60, 0x00, 0xcc, 0xcc, 0xcc, | |
791 | 0xcc, 0xcc, 0xcc, 0x76, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0xdc, | |
792 | 0x00, 0xdc, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x00, 0x00, 0x00, 0x00, | |
793 | 0x76, 0xdc, 0x00, 0xc6, 0xe6, 0xf6, 0xfe, 0xde, 0xce, 0xc6, 0xc6, 0xc6, | |
794 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x3c, 0x6c, 0x6c, 0x3e, 0x00, 0x7e, 0x00, | |
795 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x6c, 0x6c, | |
796 | 0x38, 0x00, 0x7c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
797 | 0x00, 0x00, 0x30, 0x30, 0x00, 0x30, 0x30, 0x60, 0xc0, 0xc6, 0xc6, 0x7c, | |
798 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0xc0, | |
799 | 0xc0, 0xc0, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
800 | 0x00, 0x00, 0xfe, 0x06, 0x06, 0x06, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, | |
801 | 0x00, 0xc0, 0xc0, 0xc2, 0xc6, 0xcc, 0x18, 0x30, 0x60, 0xce, 0x9b, 0x06, | |
802 | 0x0c, 0x1f, 0x00, 0x00, 0x00, 0xc0, 0xc0, 0xc2, 0xc6, 0xcc, 0x18, 0x30, | |
803 | 0x66, 0xce, 0x96, 0x3e, 0x06, 0x06, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, | |
804 | 0x00, 0x18, 0x18, 0x18, 0x3c, 0x3c, 0x3c, 0x18, 0x00, 0x00, 0x00, 0x00, | |
805 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x36, 0x6c, 0xd8, 0x6c, 0x36, 0x00, 0x00, | |
806 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xd8, 0x6c, 0x36, | |
807 | 0x6c, 0xd8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x11, 0x44, 0x11, 0x44, | |
808 | 0x11, 0x44, 0x11, 0x44, 0x11, 0x44, 0x11, 0x44, 0x11, 0x44, 0x11, 0x44, | |
809 | 0x55, 0xaa, 0x55, 0xaa, 0x55, 0xaa, 0x55, 0xaa, 0x55, 0xaa, 0x55, 0xaa, | |
810 | 0x55, 0xaa, 0x55, 0xaa, 0xdd, 0x77, 0xdd, 0x77, 0xdd, 0x77, 0xdd, 0x77, | |
811 | 0xdd, 0x77, 0xdd, 0x77, 0xdd, 0x77, 0xdd, 0x77, 0x18, 0x18, 0x18, 0x18, | |
812 | 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, | |
813 | 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0xf8, 0x18, 0x18, 0x18, 0x18, | |
814 | 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0xf8, 0x18, 0xf8, | |
815 | 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x36, 0x36, 0x36, 0x36, | |
816 | 0x36, 0x36, 0x36, 0xf6, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, | |
817 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x36, 0x36, 0x36, 0x36, | |
818 | 0x36, 0x36, 0x36, 0x36, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x18, 0xf8, | |
819 | 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x36, 0x36, 0x36, 0x36, | |
820 | 0x36, 0xf6, 0x06, 0xf6, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, | |
821 | 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, | |
822 | 0x36, 0x36, 0x36, 0x36, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x06, 0xf6, | |
823 | 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, | |
824 | 0x36, 0xf6, 0x06, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
825 | 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0xfe, 0x00, 0x00, 0x00, 0x00, | |
826 | 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x18, 0x18, 0x18, 0xf8, 0x18, 0xf8, | |
827 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
828 | 0x00, 0x00, 0x00, 0xf8, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, | |
829 | 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x1f, 0x00, 0x00, 0x00, 0x00, | |
830 | 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0xff, | |
831 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
832 | 0x00, 0x00, 0x00, 0xff, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, | |
833 | 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x1f, 0x18, 0x18, 0x18, 0x18, | |
834 | 0x18, 0x18, 0x18, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, | |
835 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x18, 0x18, | |
836 | 0x18, 0x18, 0x18, 0xff, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, | |
837 | 0x18, 0x18, 0x18, 0x18, 0x18, 0x1f, 0x18, 0x1f, 0x18, 0x18, 0x18, 0x18, | |
838 | 0x18, 0x18, 0x18, 0x18, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x37, | |
839 | 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, | |
840 | 0x36, 0x37, 0x30, 0x3f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
841 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0x30, 0x37, 0x36, 0x36, 0x36, 0x36, | |
842 | 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0xf7, 0x00, 0xff, | |
843 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
844 | 0x00, 0xff, 0x00, 0xf7, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, | |
845 | 0x36, 0x36, 0x36, 0x36, 0x36, 0x37, 0x30, 0x37, 0x36, 0x36, 0x36, 0x36, | |
846 | 0x36, 0x36, 0x36, 0x36, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0xff, | |
847 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x36, 0x36, 0x36, 0x36, | |
848 | 0x36, 0xf7, 0x00, 0xf7, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, | |
849 | 0x18, 0x18, 0x18, 0x18, 0x18, 0xff, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, | |
850 | 0x00, 0x00, 0x00, 0x00, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0xff, | |
851 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
852 | 0x00, 0xff, 0x00, 0xff, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, | |
853 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x36, 0x36, 0x36, 0x36, | |
854 | 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x3f, | |
855 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x18, 0x18, | |
856 | 0x18, 0x1f, 0x18, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
857 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 0x18, 0x1f, 0x18, 0x18, 0x18, 0x18, | |
858 | 0x18, 0x18, 0x18, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, | |
859 | 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, | |
860 | 0x36, 0x36, 0x36, 0xff, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, | |
861 | 0x18, 0x18, 0x18, 0x18, 0x18, 0xff, 0x18, 0xff, 0x18, 0x18, 0x18, 0x18, | |
862 | 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0xf8, | |
863 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
864 | 0x00, 0x00, 0x00, 0x1f, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, | |
865 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, | |
866 | 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, | |
867 | 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0xf0, 0xf0, 0xf0, | |
868 | 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, | |
869 | 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, | |
870 | 0x0f, 0x0f, 0x0f, 0x0f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, | |
871 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
872 | 0x00, 0x76, 0xdc, 0xd8, 0xd8, 0xd8, 0xdc, 0x76, 0x00, 0x00, 0x00, 0x00, | |
873 | 0x00, 0x00, 0x78, 0xcc, 0xcc, 0xcc, 0xd8, 0xcc, 0xc6, 0xc6, 0xc6, 0xcc, | |
874 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0xc6, 0xc6, 0xc0, 0xc0, 0xc0, | |
875 | 0xc0, 0xc0, 0xc0, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
876 | 0xfe, 0x6c, 0x6c, 0x6c, 0x6c, 0x6c, 0x6c, 0x6c, 0x00, 0x00, 0x00, 0x00, | |
877 | 0x00, 0x00, 0x00, 0xfe, 0xc6, 0x60, 0x30, 0x18, 0x30, 0x60, 0xc6, 0xfe, | |
878 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7e, 0xd8, 0xd8, | |
879 | 0xd8, 0xd8, 0xd8, 0x70, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
880 | 0x66, 0x66, 0x66, 0x66, 0x66, 0x7c, 0x60, 0x60, 0xc0, 0x00, 0x00, 0x00, | |
881 | 0x00, 0x00, 0x00, 0x00, 0x76, 0xdc, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, | |
882 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7e, 0x18, 0x3c, 0x66, 0x66, | |
883 | 0x66, 0x3c, 0x18, 0x7e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, | |
884 | 0x6c, 0xc6, 0xc6, 0xfe, 0xc6, 0xc6, 0x6c, 0x38, 0x00, 0x00, 0x00, 0x00, | |
885 | 0x00, 0x00, 0x38, 0x6c, 0xc6, 0xc6, 0xc6, 0x6c, 0x6c, 0x6c, 0x6c, 0xee, | |
886 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1e, 0x30, 0x18, 0x0c, 0x3e, 0x66, | |
887 | 0x66, 0x66, 0x66, 0x3c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
888 | 0x00, 0x7e, 0xdb, 0xdb, 0xdb, 0x7e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
889 | 0x00, 0x00, 0x00, 0x03, 0x06, 0x7e, 0xdb, 0xdb, 0xf3, 0x7e, 0x60, 0xc0, | |
890 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1c, 0x30, 0x60, 0x60, 0x7c, 0x60, | |
891 | 0x60, 0x60, 0x30, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7c, | |
892 | 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0x00, 0x00, 0x00, 0x00, | |
893 | 0x00, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, 0xfe, 0x00, 0x00, 0xfe, 0x00, | |
894 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x7e, 0x18, | |
895 | 0x18, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, | |
896 | 0x18, 0x0c, 0x06, 0x0c, 0x18, 0x30, 0x00, 0x7e, 0x00, 0x00, 0x00, 0x00, | |
897 | 0x00, 0x00, 0x00, 0x0c, 0x18, 0x30, 0x60, 0x30, 0x18, 0x0c, 0x00, 0x7e, | |
898 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0e, 0x1b, 0x1b, 0x1b, 0x18, 0x18, | |
899 | 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, | |
900 | 0x18, 0x18, 0x18, 0x18, 0xd8, 0xd8, 0xd8, 0x70, 0x00, 0x00, 0x00, 0x00, | |
901 | 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x00, 0x7e, 0x00, 0x18, 0x18, 0x00, | |
902 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x76, 0xdc, 0x00, | |
903 | 0x76, 0xdc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x6c, 0x6c, | |
904 | 0x38, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
905 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x00, 0x00, 0x00, | |
906 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
907 | 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x0c, 0x0c, | |
908 | 0x0c, 0x0c, 0x0c, 0xec, 0x6c, 0x6c, 0x3c, 0x1c, 0x00, 0x00, 0x00, 0x00, | |
909 | 0x00, 0xd8, 0x6c, 0x6c, 0x6c, 0x6c, 0x6c, 0x00, 0x00, 0x00, 0x00, 0x00, | |
910 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0xd8, 0x30, 0x60, 0xc8, 0xf8, 0x00, | |
911 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
912 | 0x7c, 0x7c, 0x7c, 0x7c, 0x7c, 0x7c, 0x7c, 0x00, 0x00, 0x00, 0x00, 0x00, | |
913 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
914 | 0x00, 0x00, 0x00, 0x00, | |
915 | }; | |
719c91cc DG |
916 | |
917 | void __init udbg_init_btext(void) | |
918 | { | |
919 | /* If btext is enabled, we might have a BAT setup for early display, | |
920 | * thus we do enable some very basic udbg output | |
921 | */ | |
922 | udbg_putc = btext_drawchar; | |
923 | } |