home *** CD-ROM | disk | FTP | other *** search
/ Prima Shareware 3 / DuCom_Prima-Shareware-3_cd1.bin / PROGRAMO / C / RIFED / DEMO1.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-27  |  15.1 KB  |  256 lines

  1. // DEMO 1  ***********************
  2. // demonstracni program vypisuje na obrazovku zkusebni text
  3. // Tato varianta je pro prekladac Borland C++, ale nevyuziva objekty.
  4.  
  5.  
  6. #include <stdlib.h>
  7. #include <graphics.h>
  8. #include <stdio.h>
  9. #include <conio.h>
  10.  
  11. // Data fontu: tabulka adres & sirek znaku "asci_tbf",
  12. //                       pole bitovych map "asci_bmp",
  13. // jsou z vystupniho souboru editoru fontu. Tento soubor ziskate volbou
  14. // v menu "uloz zdroj. text" v editoru fontu (ma priponu .CPP). Nazvy poli
  15. // jsou odvozeny z nazvu ukladaneho fontu. Do tohoto programu je prenesete
  16. // pomoci clipboardu. Protoze obe polozky jsou pripojeny na konec programu,
  17. // jsou zde deklarovany jako extern. Muzete vyuzit i projektu, pak data fontu
  18. // zustanou v externim souboru, do projektu pridate tento soubor.
  19. //
  20. // Toto demo obsahuje jen vybrane funkce pro vypis na obrazovku.
  21. // Predpoklada se pouziti pouze jednoho fontu v programu.
  22.  
  23. extern int asci_tbf[];
  24. extern char asci_bmp[];
  25.  
  26. void GrInit()      // inicializace grafickeho rezimu VGA 640*480 bodu
  27. {
  28. int driver = VGA;
  29. int mode = VGAHI;
  30. int gr;
  31. initgraph( &driver, &mode, "..\\bgi\\");
  32.  
  33. // uvedena cesta "..\\bgi\\" muze zpusobit chybu. Zalezi na nastaveni
  34. // vystupniho adresare prekladace. Pri potizich udejte uplnou cestu
  35. // k vasemu adresari bgi.
  36.  
  37. if ((gr=graphresult()) == 0) return;
  38.   printf("Chyba grafickeho rezimu:\n>> %s <<\n",grapherrormsg(gr));
  39.   getch();
  40.   exit(EXIT_FAILURE);
  41. }
  42.  
  43. // --------------------- FUNKCE PRO OBSLUHU RASTROVYCH FONTU ----------------
  44. // struktura "font" zabali promenne fontu pro zvyseni ochrany.
  45.  
  46. struct font {
  47.   int  far *t;       // ukazatel na tabulku adres bitovych map a sirek znaku
  48.   char far *b;       // ukazatel na zacatek bitovych map znaku
  49.   int xst, x, y;     // souradnice textu xst=zacatek pro viceradkovy text,
  50.              // x, y prubezne souradnice
  51.   int color, status; // barva textu, status=kontrola inicializace
  52. };
  53. font FF;
  54.  
  55. //-----------------------------------
  56. // funkce "showchar" vypise jeden znak na obrazovku. Znaky, ktere nejsou
  57. // soucasti pripustne mnoziny znaku <32..t[1]>, budou ignorovany.
  58.  
  59. void showchar(unsigned char ch) {
  60.   if ((ch<=FF.t[1]) && (ch>=32)) {
  61.     int w, index, cx, cy;       // w=sirka znaku, index=adresa bitove mapy
  62.     unsigned char pat;          // pat=vzorek bitove mapy (jeden byte)
  63.     ch -=32;                    // cx, cy aktualni souradnice kresleneho bodu
  64.     w = FF.t[2+2*ch+1];
  65.     index = FF.t[2+2*ch];
  66.     do {                                         // cyklus sirokych znaku
  67.       for (cy=FF.y; (cy-FF.y)<FF.t[0]; cy++)  {  // cyklus vysky znaku
  68.     pat = FF.b[index++];
  69.     for (cx=FF.x; pat !=0; cx++, pat <<=1)   // cyklus jedne mikrolinky
  70.     if (pat & 0x80) putpixel (cx, cy, FF.color);
  71.       } FF.x+=8;
  72.     } while((w-=8)>0);          // pro znaky sirsi nez 1 byte
  73.     FF.x+=w;
  74.   }
  75. }
  76. //-----------------------------------
  77.  
  78. // Funkce "showtext" vypise viceradkovy text na obrazovku. Barva textu
  79. // je implicitne cerna, lze nastavit funkci setfontcolor
  80.  
  81. void showtext(int x, int y, char *str) {
  82.   if (FF.status != -1) {
  83.      outtextxy(x, y, "font neni inicializovan");
  84.      return;
  85.   }
  86.   FF.xst=FF.x=x; FF.y=y;
  87.   unsigned char ch;
  88.   int i=0;
  89.   while ((ch=str[i++]) != 0) {
  90.     if (ch == '\n') { FF.x=FF.xst; FF.y+=FF.t[0]; }
  91.     else showchar(ch);
  92.   }
  93. }
  94. //------------------------------------
  95.  
  96. // Funkce "initfont" musi byt pouzita jako prvni, pred volanim ostatnich
  97. // fontovych funkci. Provede inicializaci fontu.
  98.  
  99. void initfont(int *tt, unsigned char *bb) {
  100.   FF.t=tt;
  101.   FF.b=bb;
  102.   FF.status=-1;
  103.   FF.color=BLACK;
  104. }
  105. //-------------------------------------
  106.  
  107. // Funkce "setfontcolor" nastavi barvu textu
  108. void setfontcolor (int barva) {
  109.   FF.color=barva;
  110. }
  111. //---------------- KONEC FUNCI PRO FONTY -----------------------------------
  112.  
  113. void main(void) {
  114.  
  115.   GrInit();
  116.   setfillstyle(SOLID_FILL, LIGHTGRAY);
  117.   bar(0,0,639,479);
  118.  
  119.   initfont(asci_tbf, asci_bmp);
  120.   showtext(100, 100, "Nazdar svete !");
  121.   showtext(100, 200, "ABCDEFGHIJKLMNOPQRSTUVWXYZ");
  122.   setfontcolor(BLUE);
  123.   showtext(100, 216, "abcdefghijklmnopqrstuvwxyz");
  124.   setfontcolor(RED);
  125.   showtext(100, 316, "Toto je jednoduchy\nviceradkovy text\nbez hacku a carek");
  126.  
  127.   do {
  128.    }  while(kbhit()==0);
  129.   closegraph();
  130.   return;
  131. }
  132.  
  133. // Data fontu. Nasleduje obsah souboru, ktery vznikl z editoru fontu, volbou
  134. // polozky z menu "uloz zdroj. text".  Uvedeny font umyslne neobsahuje
  135. // rozsirenou cast tabulky s ceskymi znaky kvuliva minimalni delce souboru.
  136.  
  137. asci_tbf[]={   16,  127,
  138. 0x0000, 3,0x000d, 3,0x001a, 5,0x0027, 7,0x0034, 7,0x0042,10,0x0060, 9,
  139. 0x007d, 3,0x008a, 4,0x009a, 4,0x00aa, 7,0x00b5, 7,0x00c0, 3,0x00ce, 4,0x00d7, 3,
  140. 0x00e4, 4,0x00f3, 7,0x0100, 7,0x010d, 7,0x011a, 7,0x0127, 7,0x0134, 7,0x0141, 7,
  141. 0x014e, 7,0x015b, 7,0x0168, 7,0x0175, 3,0x0182, 3,0x0190, 7,0x019d, 7,0x01a9, 7,
  142. 0x01b6, 7,0x01c4,14,0x01e2, 9,0x01ff, 9,0x021c, 9,0x0239,10,0x0256, 9,0x0273, 8,
  143. 0x0280,10,0x029d,10,0x02ba, 3,0x02c7, 7,0x02d4, 8,0x02e1, 7,0x02ee,11,0x030b, 9,
  144. 0x0328,10,0x0345, 8,0x0352,10,0x036f, 9,0x038c, 9,0x03a9, 9,0x03c6,10,0x03e3, 9,
  145. 0x0400,13,0x041d, 8,0x042a, 9,0x0447, 9,0x0464, 4,0x0474, 4,0x0483, 4,0x0493, 7,
  146. 0x0498, 7,0x04a7, 4,0x04b1, 8,0x04be, 8,0x04cb, 7,0x04d8, 8,0x04e5, 8,0x04f2, 3,
  147. 0x04ff, 8,0x050f, 7,0x051c, 3,0x0529, 3,0x0539, 7,0x02ba, 3,0x0546,11,0x0563, 7,
  148. 0x0570, 8,0x057d, 8,0x058d, 8,0x059d, 4,0x05aa, 7,0x05b7, 3,0x05c4, 7,0x05d1, 7,
  149. 0x05de, 9,0x05f8, 7,0x0605, 7,0x0615, 6,0x0622, 5,0x0632, 3,0x0642, 5,0x0652, 9,
  150. 0x066f, 4};
  151. unsigned char asci_bmp[]={
  152. /*0x0000..*/   00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,
  153. /*0x0010..*/ 0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,  00,0x40,  00,  00,  00,0x50,0x50,0x50,
  154. /*0x0020..*/ 0x50,  00,  00,  00,  00,  00,  00,  00,  00,  00,0x14,0x14,0x14,0x7e,0x28,0x28,
  155. /*0x0030..*/ 0xfc,0x50,0x50,0x50,  00,  00,  00,0x10,0x38,0x54,0x54,0x50,0x38,0x14,0x14,0x54,
  156. /*0x0040..*/ 0x38,0x10,  00,  00,  00,0x31,0x49,0x4a,0x32,0x04,0x04,0x08,0x08,0x13,0x14,0x24,
  157. /*0x0050..*/ 0x23,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,0x80,0x80,
  158. /*0x0060..*/   00,  00,  00,0x18,0x24,0x24,0x24,0x18,0x28,0x44,0x45,0x42,0x3d,  00,  00,  00,
  159. /*0x0070..*/   00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,
  160. /*0x0080..*/ 0x40,0x40,0x40,0x40,  00,  00,  00,  00,  00,  00,  00,  00,  00,0x10,0x20,0x20,
  161. /*0x0090..*/ 0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x20,0x20,0x10,  00,  00,  00,0x80,0x40,0x40,
  162. /*0x00a0..*/ 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x40,0x40,0x80,  00,  00,  00,  00,  00,  00,
  163. /*0x00b0..*/ 0x10,0x54,0x38,0x54,0x10,  00,  00,  00,  00,  00,  00,0x10,0x10,0x7c,0x10,0x10,
  164. /*0x00c0..*/   00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,0x40,0x80,  00,  00,
  165. /*0x00d0..*/   00,  00,  00,  00,  00,  00,0xf0,  00,  00,  00,  00,  00,  00,  00,  00,  00,
  166. /*0x00e0..*/   00,  00,  00,0x40,  00,  00,  00,0x10,0x10,0x10,0x20,0x20,0x20,0x40,0x40,0x40,
  167. /*0x00f0..*/ 0x80,0x80,0x80,  00,  00,  00,0x38,0x44,0x44,0x44,0x44,0x44,0x44,0x44,0x44,0x38,
  168. /*0x0100..*/   00,  00,  00,0x10,0x70,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,  00,  00,  00,
  169. /*0x0110..*/ 0x38,0x44,0x44,0x04,0x08,0x10,0x20,0x40,0x40,0x7c,  00,  00,  00,0x38,0x44,0x04,
  170. /*0x0120..*/ 0x04,0x18,0x04,0x04,0x04,0x44,0x38,  00,  00,  00,0x04,0x0c,0x14,0x14,0x24,0x44,
  171. /*0x0130..*/ 0x7c,0x04,0x04,0x04,  00,  00,  00,0x7c,0x40,0x40,0x40,0x78,0x44,0x04,0x04,0x44,
  172. /*0x0140..*/ 0x38,  00,  00,  00,0x38,0x44,0x40,0x40,0x58,0x64,0x44,0x44,0x44,0x38,  00,  00,
  173. /*0x0150..*/   00,0x7c,0x04,0x04,0x08,0x08,0x10,0x10,0x20,0x20,0x20,  00,  00,  00,0x38,0x44,
  174. /*0x0160..*/ 0x44,0x44,0x38,0x44,0x44,0x44,0x44,0x38,  00,  00,  00,0x38,0x44,0x44,0x44,0x4c,
  175. /*0x0170..*/ 0x34,0x04,0x04,0x44,0x38,  00,  00,  00,  00,  00,  00,0x40,  00,  00,  00,  00,
  176. /*0x0180..*/   00,0x40,  00,  00,  00,  00,  00,  00,0x40,  00,  00,  00,  00,  00,0x40,0x80,
  177. /*0x0190..*/   00,  00,  00,  00,0x04,0x08,0x10,0x20,0x40,0x20,0x10,0x08,0x04,  00,  00,  00,
  178. /*0x01a0..*/   00,  00,  00,  00,0x7c,  00,0x7c,  00,  00,  00,  00,  00,  00,0x40,0x20,0x10,
  179. /*0x01b0..*/ 0x08,0x04,0x08,0x10,0x20,0x40,  00,  00,  00,0x38,0x44,0x44,0x04,0x08,0x10,0x10,
  180. /*0x01c0..*/ 0x10,  00,0x10,  00,  00,  00,0x07,0x18,0x20,0x20,0x43,0x44,0x44,0x44,0x23,0x20,
  181. /*0x01d0..*/ 0x18,0x07,  00,  00,  00,  00,0x80,0x60,0x10,0x10,0xc8,0x48,0x48,0x88,0x70,  00,
  182. /*0x01e0..*/ 0x30,0xc0,  00,  00,  00,0x08,0x08,0x14,0x14,0x22,0x22,0x7f,0x41,0x80,0x80,  00,
  183. /*0x01f0..*/   00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,0x80,0x80,  00,
  184. /*0x0200..*/   00,  00,0x7e,0x41,0x41,0x41,0x7e,0x41,0x41,0x41,0x41,0x7e,  00,  00,  00,  00,
  185. /*0x0210..*/   00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,0x1e,
  186. /*0x0220..*/ 0x21,0x40,0x40,0x40,0x40,0x40,0x40,0x21,0x1e,  00,  00,  00,  00,  00,  00,  00,
  187. /*0x0230..*/   00,0x80,  00,  00,  00,  00,0x80,  00,  00,  00,  00,  00,0x7e,0x41,0x40,0x40,
  188. /*0x0240..*/ 0x40,0x40,0x40,0x40,0x41,0x7e,  00,  00,  00,  00,  00,  00,  00,  00,0x80,0x80,
  189. /*0x0250..*/ 0x80,0x80,0x80,0x80,  00,  00,  00,  00,  00,0x7f,0x40,0x40,0x40,0x7e,0x40,0x40,
  190. /*0x0260..*/ 0x40,0x40,0x7f,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,
  191. /*0x0270..*/   00,  00,  00,  00,  00,  00,0x7f,0x40,0x40,0x40,0x7e,0x40,0x40,0x40,0x40,0x40,
  192. /*0x0280..*/   00,  00,  00,0x1e,0x21,0x40,0x40,0x40,0x43,0x40,0x40,0x21,0x1e,  00,  00,  00,
  193. /*0x0290..*/   00,  00,  00,  00,  00,0x80,  00,  00,0x80,0x80,0x80,0x80,0x80,  00,  00,  00,
  194. /*0x02a0..*/ 0x40,0x40,0x40,0x40,0x7f,0x40,0x40,0x40,0x40,0x40,  00,  00,  00,  00,  00,  00,
  195. /*0x02b0..*/ 0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,  00,  00,  00,0x40,0x40,0x40,
  196. /*0x02c0..*/ 0x40,0x40,0x40,0x40,0x40,0x40,0x40,  00,  00,  00,0x04,0x04,0x04,0x04,0x04,0x04,
  197. /*0x02d0..*/ 0x04,0x44,0x44,0x38,  00,  00,  00,0x42,0x44,0x48,0x50,0x60,0x50,0x48,0x44,0x42,
  198. /*0x02e0..*/ 0x41,  00,  00,  00,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x7e,  00,  00,
  199. /*0x02f0..*/   00,0x40,0x40,0x60,0x60,0x51,0x51,0x4a,0x4a,0x44,0x44,  00,  00,  00,  00,  00,
  200. /*0x0300..*/   00,0x40,0x40,0xc0,0xc0,0x40,0x40,0x40,0x40,0x40,0x40,  00,  00,  00,0x61,0x61,
  201. /*0x0310..*/ 0x51,0x51,0x49,0x49,0x45,0x45,0x43,0x43,  00,  00,  00,  00,  00,  00,  00,  00,
  202. /*0x0320..*/   00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,0x1e,0x21,0x40,0x40,0x40,
  203. /*0x0330..*/ 0x40,0x40,0x40,0x21,0x1e,  00,  00,  00,  00,  00,  00,  00,  00,0x80,0x80,0x80,
  204. /*0x0340..*/ 0x80,0x80,0x80,  00,  00,  00,  00,  00,0x7e,0x41,0x41,0x41,0x41,0x7e,0x40,0x40,
  205. /*0x0350..*/ 0x40,0x40,  00,  00,  00,0x1e,0x21,0x40,0x40,0x40,0x40,0x40,0x42,0x21,0x1e,  00,
  206. /*0x0360..*/   00,  00,  00,  00,  00,  00,  00,0x80,0x80,0x80,0x80,0x80,0x80,  00,0x80,  00,
  207. /*0x0370..*/   00,  00,0x7e,0x41,0x41,0x41,0x41,0x7e,0x48,0x44,0x42,0x41,  00,  00,  00,  00,
  208. /*0x0380..*/   00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,0x3e,
  209. /*0x0390..*/ 0x41,0x41,0x40,0x38,0x06,0x01,0x41,0x41,0x3e,  00,  00,  00,  00,  00,  00,  00,
  210. /*0x03a0..*/   00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,0xff,0x08,0x08,0x08,
  211. /*0x03b0..*/ 0x08,0x08,0x08,0x08,0x08,0x08,  00,  00,  00,  00,  00,  00,0x80,  00,  00,  00,
  212. /*0x03c0..*/   00,  00,  00,  00,  00,  00,  00,  00,  00,0x40,0x40,0x40,0x40,0x40,0x40,0x40,
  213. /*0x03d0..*/ 0x40,0x21,0x1e,  00,  00,  00,  00,  00,  00,0x80,0x80,0x80,0x80,0x80,0x80,0x80,
  214. /*0x03e0..*/ 0x80,  00,  00,  00,  00,  00,0x80,0x80,0x41,0x41,0x22,0x22,0x14,0x14,0x08,0x08,
  215. /*0x03f0..*/   00,  00,  00,  00,  00,  00,0x80,0x80,  00,  00,  00,  00,  00,  00,  00,  00,
  216. /*0x0400..*/   00,  00,  00,0x82,0x82,0x82,0x45,0x45,0x28,0x28,0x28,0x10,0x10,  00,  00,  00,
  217. /*0x0410..*/   00,  00,  00,0x08,0x08,0x08,0x10,0x10,0xa0,0xa0,0xa0,0x40,0x40,  00,  00,  00,
  218. /*0x0420..*/ 0x81,0x81,0x42,0x24,0x18,0x18,0x24,0x42,0x81,0x81,  00,  00,  00,0x80,0x80,0x41,
  219. /*0x0430..*/ 0x22,0x14,0x08,0x08,0x08,0x08,0x08,  00,  00,  00,  00,  00,  00,0x80,0x80,  00,
  220. /*0x0440..*/   00,  00,  00,  00,  00,  00,  00,  00,  00,  00,0x7f,  00,0x01,0x02,0x04,0x08,
  221. /*0x0450..*/ 0x10,0x20,0x40,0x7f,  00,  00,  00,  00,  00,  00,0x80,0x80,  00,  00,  00,  00,
  222. /*0x0460..*/   00,  00,  00,0x80,  00,  00,  00,0x70,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,
  223. /*0x0470..*/ 0x40,0x40,0x40,0x70,  00,  00,  00,0x80,0x80,0x80,0x40,0x40,0x40,0x20,0x20,0x20,
  224. /*0x0480..*/ 0x10,0x10,0x10,  00,  00,  00,0xe0,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
  225. /*0x0490..*/ 0x20,0x20,0xe0,  00,  00,0x10,0x28,0x44,  00,  00,  00,  00,  00,  00,  00,  00,
  226. /*0x04a0..*/   00,  00,  00,  00,  00,  00,0xfe,  00,  00,  00,0x40,0x20,  00,  00,  00,  00,
  227. /*0x04b0..*/   00,  00,  00,  00,  00,  00,  00,0x3c,0x42,0x3e,0x42,0x42,0x42,0x3d,  00,  00,
  228. /*0x04c0..*/   00,0x40,0x40,0x40,0x5c,0x62,0x42,0x42,0x42,0x62,0x5c,  00,  00,  00,  00,  00,
  229. /*0x04d0..*/   00,0x3c,0x42,0x40,0x40,0x40,0x42,0x3c,  00,  00,  00,0x02,0x02,0x02,0x3a,0x46,
  230. /*0x04e0..*/ 0x42,0x42,0x42,0x46,0x3a,  00,  00,  00,  00,  00,  00,0x3c,0x42,0x42,0x7e,0x40,
  231. /*0x04f0..*/ 0x42,0x3c,  00,  00,  00,0x20,0x40,0x40,0xe0,0x40,0x40,0x40,0x40,0x40,0x40,  00,
  232. /*0x0500..*/   00,  00,  00,  00,  00,0x3a,0x46,0x42,0x42,0x42,0x46,0x3a,0x02,0x02,0x3c,  00,
  233. /*0x0510..*/   00,  00,0x40,0x40,0x40,0x58,0x64,0x44,0x44,0x44,0x44,0x44,  00,  00,  00,0x40,
  234. /*0x0520..*/   00,  00,0x40,0x40,0x40,0x40,0x40,0x40,0x40,  00,  00,  00,0x40,  00,  00,0x40,
  235. /*0x0530..*/ 0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x80,  00,  00,  00,0x40,0x40,0x40,0x44,
  236. /*0x0540..*/ 0x48,0x50,0x70,0x48,0x44,0x42,  00,  00,  00,  00,  00,  00,0x59,0x66,0x44,0x44,
  237. /*0x0550..*/ 0x44,0x44,0x44,  00,  00,  00,  00,  00,  00,  00,  00,  00,0x80,0x40,0x40,0x40,
  238. /*0x0560..*/ 0x40,0x40,0x40,  00,  00,  00,  00,  00,  00,0x58,0x64,0x44,0x44,0x44,0x44,0x44,
  239. /*0x0570..*/   00,  00,  00,  00,  00,  00,0x3c,0x42,0x42,0x42,0x42,0x42,0x3c,  00,  00,  00,
  240. /*0x0580..*/   00,  00,  00,0x5c,0x62,0x42,0x42,0x42,0x62,0x5c,0x40,0x40,0x40,  00,  00,  00,
  241. /*0x0590..*/   00,  00,  00,0x3a,0x46,0x42,0x42,0x42,0x46,0x3a,0x02,0x02,0x02,  00,  00,  00,
  242. /*0x05a0..*/   00,  00,  00,0x50,0x60,0x40,0x40,0x40,0x40,0x40,  00,  00,  00,  00,  00,  00,
  243. /*0x05b0..*/ 0x38,0x44,0x40,0x38,0x04,0x44,0x38,  00,  00,  00,  00,0x40,0x40,0xe0,0x40,0x40,
  244. /*0x05c0..*/ 0x40,0x40,0x40,0x20,  00,  00,  00,  00,  00,  00,0x44,0x44,0x44,0x44,0x44,0x4c,
  245. /*0x05d0..*/ 0x34,  00,  00,  00,  00,  00,  00,0x82,0x82,0x44,0x44,0x28,0x28,0x10,  00,  00,
  246. /*0x05e0..*/   00,  00,  00,  00,0x88,0x88,0x55,0x55,0x55,0x22,0x22,  00,  00,  00,  00,  00,
  247. /*0x05f0..*/   00,  00,  00,  00,0x80,0x80,  00,  00,  00,  00,  00,  00,  00,  00,0x82,0x44,
  248. /*0x0600..*/ 0x28,0x10,0x28,0x44,0x82,  00,  00,  00,  00,  00,  00,0x82,0x82,0x44,0x44,0x28,
  249. /*0x0610..*/ 0x28,0x10,0x10,0x20,0xc0,  00,  00,  00,  00,  00,  00,0x7c,0x04,0x08,0x10,0x20,
  250. /*0x0620..*/ 0x40,0x7c,  00,  00,  00,0x18,0x20,0x20,0x20,0x20,0x20,0xc0,0x20,0x20,0x20,0x20,
  251. /*0x0630..*/ 0x20,0x18,  00,  00,  00,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,
  252. /*0x0640..*/ 0x40,0x40,  00,  00,  00,0xc0,0x20,0x20,0x20,0x20,0x20,0x18,0x20,0x20,0x20,0x20,
  253. /*0x0650..*/ 0x20,0xc0,  00,  00,  00,0x31,0x49,0x46,  00,  00,  00,  00,  00,  00,  00,  00,
  254. /*0x0660..*/   00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,  00,
  255. /*0x0670..*/   00,  00,0x60,0x60,0x60,0x60,0x60,0x60,0x60,0x60,0x60,0x60,  00,  00,  00};
  256. ;