as3525*: initialize cpu_frequency correctly
[kugel-rb.git] / firmware / drivers / lcd-charset-player.c
blobba6f67848b7046650de74f99b4f0f6e2316a04f8
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2007 by Jens Arnold
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
22 #include "config.h"
23 #include "hwcompat.h"
25 #include "lcd-charcell.h"
27 int lcd_pattern_count; /* actual number of user-definable hw patterns */
29 const struct xchar_info *xchar_info;
30 int xchar_info_size; /* number of entries */
32 enum {
33 /* Standard ascii */
34 XF_BACKSLASH = 0, XF_CIRCUMFLEX, XF_GRAVEACCENT, XF_VERTICALBAR,
35 XF_TILDE,
36 #ifndef BOOTLOADER
37 /* Icons and special symbols */
38 XF_ICON_UNKNOWN, XF_ICON_BOOKMARK, XF_ICON_PLUGIN, XF_ICON_FOLDER,
39 XF_ICON_FIRMWARE, XF_ICON_LANGUAGE, XF_ICON_AUDIO, XF_ICON_WPS,
40 XF_ICON_PLAYLIST, XF_ICON_TEXTFILE, XF_ICON_CONFIG,
42 /* Latin1 */
43 XF_INVEXCLAMATION, XF_CENTSIGN, XF_POUNDSIGN, XF_CURRENCY,
44 XF_LEFTDBLANGLEQUOT, XF_MACRON, XF_PLUSMINUS, XF_SUPER2,
45 XF_SUPER3, XF_MICRO, XF_MIDDLEDOT, XF_RIGHTDBLANGLEQUOT,
46 XF_ONEQUARTER, XF_ONEHALF, XF_THREEQUARTERS, XF_INVQUESTION,
47 XF_AGRAVE, XF_AACUTE, XF_ACIRCUMFLEX, XF_ATILDE,
48 XF_ADIERESIS, XF_ARING, XF_AELIGATURE, XF_CCEDILLA,
49 XF_EGRAVE, XF_EACUTE, XF_ECIRCUMFLEX, XF_EDIERESIS,
50 XF_IGRAVE, XF_IACUTE, XF_ICIRCUMFLEX, XF_IDIERESIS,
51 XF_ETH, XF_NTILDE, XF_OGRAVE, XF_OACUTE,
52 XF_OCIRCUMFLEX, XF_OTILDE, XF_ODIERESIS, XF_OSTROKE,
53 XF_UGRAVE, XF_UACUTE, XF_UCIRCUMFLEX, XF_UDIERESIS,
54 XF_YACUTE, XF_aGRAVE, XF_aACUTE, XF_aCIRCUMFLEX,
55 XF_aTILDE, XF_aDIERESIS, XF_aRING, XF_aeLIGATURE,
56 XF_cCEDILLA, XF_eGRAVE, XF_eACUTE, XF_eCIRCUMFLEX,
57 XF_eDIERESIS, XF_iGRAVE, XF_iACUTE, XF_iCIRCUMFLEX,
58 XF_iDIERESIS, XF_nTILDE, XF_oGRAVE, XF_oACUTE,
59 XF_oCIRCUMFLEX, XF_oTILDE, XF_oDIERESIS, XF_DIVISION,
60 XF_oSLASH, XF_uGRAVE, XF_uACUTE, XF_uCIRCUMFLEX,
61 XF_uDIERESIS, XF_yACUTE, XF_yDIERESIS,
63 /* Latin extended A */
64 XF_aBREVE, XF_aOGONEK, XF_cACUTE, XF_cCARON,
65 XF_dCARON, XF_dSTROKE, XF_eOGONEK, XF_eCARON,
66 XF_GBREVE, XF_gBREVE, XF_IDOT, XF_DOTLESSi,
67 XF_LSTROKE, XF_lSTROKE, XF_nACUTE, XF_nCARON,
68 XF_ODBLACUTE, XF_oDBLACUTE, XF_RCARON, XF_rCARON,
69 XF_sACUTE, XF_SCEDILLA, XF_sCEDILLA, XF_sCARON,
70 XF_tCEDILLA, XF_tCARON, XF_uRING, XF_UDBLACUTE,
71 XF_uDBLACUTE, XF_zACUTE, XF_zDOT, XF_zCARON,
72 #define XF_DSTROKE XF_ETH
73 #define XF_SACUTE XF_sACUTE
74 #define XF_SCARON XF_sCARON
76 /* Greek */
77 XF_GR_DELTA, XF_GR_THETA, XF_GR_LAMBDA, XF_GR_XI,
78 XF_GR_PSI, XF_GR_alpha, XF_GR_alphaTONOS, XF_GR_gamma,
79 XF_GR_epsilon, XF_GR_epsilonTONOS, XF_GR_zeta, XF_GR_eta,
80 XF_GR_etaTONOS, XF_GR_iota, XF_GR_lambda, XF_GR_xi,
81 XF_GR_rho, XF_GR_FINALsigma, XF_GR_sigma, XF_GR_upsilon,
82 XF_GR_upsilonTONOS, XF_GR_chi, XF_GR_psi, XF_GR_omega,
83 XF_GR_omegaTONOS,
84 #define XF_GR_ANOTELEIA XF_MIDDLEDOT
85 #define XF_GR_GAMMA XF_CYR_GHE
86 #define XF_GR_PI XF_CYR_PE
87 #define XF_GR_delta XF_CYR_be
88 #define XF_GR_iotaTONOS XF_iACUTE
89 #define XF_GR_iotaDIA XF_iDIERESIS
90 #define XF_GR_kappa XF_CYR_ka
91 #define XF_GR_mu XF_MICRO
92 #define XF_GR_pi XF_CYR_pe
93 #define XF_GR_omicronTONOS XF_oACUTE
94 #define XF_GR_tau XF_CYR_te
96 /* Cyrillic */
97 XF_CYR_BE, XF_CYR_GHE, XF_CYR_DE, XF_CYR_ZHE,
98 XF_CYR_ZE, XF_CYR_I, XF_CYR_SHORTI, XF_CYR_EL,
99 XF_CYR_PE, XF_CYR_TSE, XF_CYR_CHE, XF_CYR_SHA,
100 XF_CYR_SHCHA, XF_CYR_HARD, XF_CYR_YERU, XF_CYR_E,
101 XF_CYR_YU, XF_CYR_YA, XF_CYR_be, XF_CYR_ve,
102 XF_CYR_ghe, XF_CYR_de, XF_CYR_zhe, XF_CYR_ze,
103 XF_CYR_i, XF_CYR_SHORTi, XF_CYR_ka, XF_CYR_el,
104 XF_CYR_em, XF_CYR_en, XF_CYR_pe, XF_CYR_te,
105 XF_CYR_tse, XF_CYR_che, XF_CYR_sha, XF_CYR_shcha,
106 XF_CYR_hard, XF_CYR_yeru, XF_CYR_soft, XF_CYR_e,
107 XF_CYR_yu, XF_CYR_ya,
108 #define XF_CYR_IEGRAVE XF_EGRAVE
109 #define XF_CYR_IO XF_EDIERESIS
110 #define XF_CYR_YI XF_IDIERESIS
111 #define XF_CYR_ieGRAVE XF_eGRAVE
112 #define XF_CYR_io XF_eDIERESIS
113 #define XF_CYR_yi XF_iDIERESIS
115 #endif
118 const struct xchar_info xchar_info_newlcd[] = {
119 /* Standard ascii */
120 { 0x20, 0, 0, 0x20 }, /* */
121 { 0x21, 0, 0, 0x21 }, /* ! */
122 { 0x22, 0, 0, 0x22 }, /* " */
123 { 0x23, 0, 0, 0x23 }, /* # */
124 { 0x24, 0, 0, 0x24 }, /* $ */
125 { 0x25, 0, 0, 0x25 }, /* % */
126 { 0x26, 0, 0, 0x26 }, /* & */
127 { 0x27, 0, 0, 0x27 }, /* ' */
128 { 0x28, 0, 0, 0x28 }, /* ( */
129 { 0x29, 0, 0, 0x29 }, /* ) */
130 { 0x2a, 0, 0, 0x2a }, /* * */
131 { 0x2b, 0, 0, 0x2b }, /* + */
132 { 0x2c, 0, 0, 0x2c }, /* , */
133 { 0x2d, 0, 0, 0x2d }, /* - */
134 { 0x2e, 0, 0, 0x2e }, /* . */
135 { 0x2f, 0, 0, 0x2f }, /* / */
136 { 0x30, 0, 0, 0x30 }, /* 0 */
137 { 0x31, 0, 0, 0x31 }, /* 1 */
138 { 0x32, 0, 0, 0x32 }, /* 2 */
139 { 0x33, 0, 0, 0x33 }, /* 3 */
140 { 0x34, 0, 0, 0x34 }, /* 4 */
141 { 0x35, 0, 0, 0x35 }, /* 5 */
142 { 0x36, 0, 0, 0x36 }, /* 6 */
143 { 0x37, 0, 0, 0x37 }, /* 7 */
144 { 0x38, 0, 0, 0x38 }, /* 8 */
145 { 0x39, 0, 0, 0x39 }, /* 9 */
146 { 0x3a, 0, 0, 0x3a }, /* : */
147 { 0x3b, 0, 0, 0x3b }, /* ; */
148 { 0x3c, 0, 0, 0x3c }, /* < */
149 { 0x3d, 0, 0, 0x3d }, /* = */
150 { 0x3e, 0, 0, 0x3e }, /* > */
151 { 0x3f, 0, 0, 0x3f }, /* ? */
152 { 0x40, 0, 0, 0x40 }, /* @ */
153 { 0x41, 0, 0, 0x41 }, /* A */
154 { 0x42, 0, 0, 0x42 }, /* B */
155 { 0x43, 0, 0, 0x43 }, /* C */
156 { 0x44, 0, 0, 0x44 }, /* D */
157 { 0x45, 0, 0, 0x45 }, /* E */
158 { 0x46, 0, 0, 0x46 }, /* F */
159 { 0x47, 0, 0, 0x47 }, /* G */
160 { 0x48, 0, 0, 0x48 }, /* H */
161 { 0x49, 0, 0, 0x49 }, /* I */
162 { 0x4a, 0, 0, 0x4a }, /* J */
163 { 0x4b, 0, 0, 0x4b }, /* K */
164 { 0x4c, 0, 0, 0x4c }, /* L */
165 { 0x4d, 0, 0, 0x4d }, /* M */
166 { 0x4e, 0, 0, 0x4e }, /* N */
167 { 0x4f, 0, 0, 0x4f }, /* O */
168 { 0x50, 0, 0, 0x50 }, /* P */
169 { 0x51, 0, 0, 0x51 }, /* Q */
170 { 0x52, 0, 0, 0x52 }, /* R */
171 { 0x53, 0, 0, 0x53 }, /* S */
172 { 0x54, 0, 0, 0x54 }, /* T */
173 { 0x55, 0, 0, 0x55 }, /* U */
174 { 0x56, 0, 0, 0x56 }, /* V */
175 { 0x57, 0, 0, 0x57 }, /* W */
176 { 0x58, 0, 0, 0x58 }, /* X */
177 { 0x59, 0, 0, 0x59 }, /* Y */
178 { 0x5a, 0, 0, 0x5a }, /* Z */
179 { 0x5b, 0, 0, 0x5b }, /* [ */
180 { 0x5c, 0, 0, 0x12 }, /* \ */
181 { 0x5d, 0, 0, 0x5d }, /* ] */
182 { 0x5e, 0, 0, 0x5e }, /* ^ */
183 { 0x5f, 0, 0, 0x5f }, /* _ */
184 { 0x60, 0, 0, 0x60 }, /* ` */
185 { 0x61, 0, 0, 0x61 }, /* a */
186 { 0x62, 0, 0, 0x62 }, /* b */
187 { 0x63, 0, 0, 0x63 }, /* c */
188 { 0x64, 0, 0, 0x64 }, /* d */
189 { 0x65, 0, 0, 0x65 }, /* e */
190 { 0x66, 0, 0, 0x66 }, /* f */
191 { 0x67, 0, 0, 0x67 }, /* g */
192 { 0x68, 0, 0, 0x68 }, /* h */
193 { 0x69, 0, 0, 0x69 }, /* i */
194 { 0x6a, 0, 0, 0x6a }, /* j */
195 { 0x6b, 0, 0, 0x6b }, /* k */
196 { 0x6c, 0, 0, 0x6c }, /* l */
197 { 0x6d, 0, 0, 0x6d }, /* m */
198 { 0x6e, 0, 0, 0x6e }, /* n */
199 { 0x6f, 0, 0, 0x6f }, /* o */
200 { 0x70, 0, 0, 0x70 }, /* p */
201 { 0x71, 0, 0, 0x71 }, /* q */
202 { 0x72, 0, 0, 0x72 }, /* r */
203 { 0x73, 0, 0, 0x73 }, /* s */
204 { 0x74, 0, 0, 0x74 }, /* t */
205 { 0x75, 0, 0, 0x75 }, /* u */
206 { 0x76, 0, 0, 0x76 }, /* v */
207 { 0x77, 0, 0, 0x77 }, /* w */
208 { 0x78, 0, 0, 0x78 }, /* x */
209 { 0x79, 0, 0, 0x79 }, /* y */
210 { 0x7a, 0, 0, 0x7a }, /* z */
211 { 0x7b, 0, 0, 0x7b }, /* { */
212 { 0x7c, 0, 0, 0x7c }, /* | */
213 { 0x7d, 0, 0, 0x7d }, /* } */
214 { 0x7e, 0, 0, 0xf0 }, /* ~ */
215 { 0x7f, 0, 0, 0xfe }, /* (full grid) */
217 #ifndef BOOTLOADER /* bootloader only supports pure ASCII */
218 /* Latin 1 */
219 { 0xa0, 0, 0, 0x20 }, /* (non-breaking space) */
220 { 0xa1, XF_INVEXCLAMATION, 1, 0x21 }, /* ¡ (inverted !) */
221 { 0xa2, XF_CENTSIGN, 1, 0x63 }, /* ¢ (cent sign) */
222 { 0xa3, XF_POUNDSIGN, 1, 0x4c }, /* £ (pound sign) */
223 { 0xa4, XF_CURRENCY, 1, 0x6f }, /* ¤ (currency sign) */
224 { 0xa5, 0, 0, 0x5c }, /* ¥ (yen sign) */
226 { 0xa7, 0, 0, 0x15 }, /* § (paragraph sign) */
228 { 0xab, 0, 0, 0x9e }, /* « (left double-angle quotation mark) */
230 { 0xad, 0, 0, 0x2d }, /* ­ (soft hyphen) */
232 { 0xaf, XF_MACRON, 1, 0x2d }, /* ¯ (macron) */
234 { 0xb1, 0, 0, 0x95 }, /* ± (plus-minus sign) */
235 { 0xb2, 0, 0, 0x99 }, /* ³ (superscript 2) */
236 { 0xb3, 0, 0, 0x9a }, /* ³ (superscript 3) */
238 { 0xb5, 0, 0, 0xe6 }, /* µ (micro sign) */
239 { 0xb6, 0, 0, 0x14 }, /* ¶ (pilcrow sign) */
240 { 0xb7, 0, 0, 0xa5 }, /* · (middle dot) */
242 { 0xbb, 0, 0, 0x9f }, /* » (right double-angle quotation mark) */
243 { 0xbc, 0, 0, 0x9c }, /* ¼ (one quarter) */
244 { 0xbd, 0, 0, 0x9b }, /* ½ (one half) */
245 { 0xbe, 0, 0, 0x9d }, /* ¾ (three quarters) */
246 { 0xbf, XF_INVQUESTION, 1, 0x3f }, /* ¿ (inverted ?) */
247 { 0xc0, XF_AGRAVE, 1, 0x41 }, /* À (A grave) */
248 { 0xc1, XF_AACUTE, 1, 0x41 }, /* Á (A acute) */
249 { 0xc2, XF_ACIRCUMFLEX, 1, 0x41 }, /* Â (A circumflex) */
250 { 0xc3, XF_ATILDE, 1, 0x41 }, /* Ã (A tilde) */
251 { 0xc4, XF_ADIERESIS, 1, 0x41 }, /* Ä (A dieresis) */
252 { 0xc5, XF_ARING, 1, 0x41 }, /* Å (A with ring above) */
253 { 0xc6, XF_AELIGATURE, 1, 0x41 }, /* Æ (AE ligature) */
254 { 0xc7, XF_CCEDILLA, 1, 0x43 }, /* Ç (C cedilla) */
255 { 0xc8, XF_EGRAVE, 1, 0x45 }, /* È (E grave) */
256 { 0xc9, XF_EACUTE, 1, 0x45 }, /* É (E acute) */
257 { 0xca, XF_ECIRCUMFLEX, 1, 0x45 }, /* Ê (E circumflex) */
258 { 0xcb, XF_EDIERESIS, 1, 0x45 }, /* Ë (E dieresis) */
259 { 0xcc, XF_IGRAVE, 1, 0x49 }, /* Ì (I grave) */
260 { 0xcd, XF_IACUTE, 1, 0x49 }, /* Í (I acute) */
261 { 0xce, XF_ICIRCUMFLEX, 1, 0x49 }, /* Î (I circumflex) */
262 { 0xcf, XF_IDIERESIS, 1, 0x49 }, /* Ï (I dieresis) */
263 { 0xd0, XF_ETH, 1, 0x44 }, /* Ð (ETH) */
264 { 0xd1, XF_NTILDE, 1, 0x4e }, /* Ñ (N tilde) */
265 { 0xd2, XF_OGRAVE, 1, 0x4f }, /* Ò (O grave) */
266 { 0xd3, XF_OACUTE, 1, 0x4f }, /* Ó (O acute) */
267 { 0xd4, XF_OCIRCUMFLEX, 1, 0x4f }, /* Ô (O circumflex) */
268 { 0xd5, XF_OTILDE, 1, 0x4f }, /* Õ (O tilde) */
269 { 0xd6, XF_ODIERESIS, 1, 0x4f }, /* Ö (O dieresis) */
270 { 0xd7, 0, 0, 0x96 }, /* × (multiplication sign) */
271 { 0xd8, XF_OSTROKE, 1, 0x30 }, /* Ø (O stroke) */
272 { 0xd9, XF_UGRAVE, 1, 0x55 }, /* Ù (U grave) */
273 { 0xda, XF_UACUTE, 1, 0x55 }, /* Ú (U acute) */
274 { 0xdb, XF_UCIRCUMFLEX, 1, 0x55 }, /* Û (U circumflex) */
275 { 0xdc, XF_UDIERESIS, 1, 0x55 }, /* Ü (U dieresis) */
276 { 0xdd, XF_YACUTE, 1, 0x59 }, /* Ý (Y acute) */
278 { 0xdf, 0, 0, 0xe1 }, /* ß (sharp s) */
279 { 0xe0, XF_aGRAVE, 1, 0x61 }, /* à (a grave) */
280 { 0xe1, XF_aACUTE, 1, 0x61 }, /* á (a acute) */
281 { 0xe2, XF_aCIRCUMFLEX, 1, 0x61 }, /* â (a circumflex) */
282 { 0xe3, XF_aTILDE, 1, 0x61 }, /* ã (a tilde) */
283 { 0xe4, XF_aDIERESIS, 1, 0x61 }, /* ä (a dieresis) */
284 { 0xe5, XF_aRING, 1, 0x61 }, /* å (a with ring above) */
285 { 0xe6, XF_aeLIGATURE, 1, 0x61 }, /* æ (ae ligature) */
286 { 0xe7, XF_cCEDILLA, 1, 0x63 }, /* ç (c cedilla) */
287 { 0xe8, XF_eGRAVE, 1, 0x65 }, /* è (e grave) */
288 { 0xe9, XF_eACUTE, 1, 0x65 }, /* é (e acute) */
289 { 0xea, XF_eCIRCUMFLEX, 1, 0x65 }, /* ê (e circumflex) */
290 { 0xeb, XF_eDIERESIS, 1, 0x65 }, /* ë (e dieresis) */
291 { 0xec, XF_iGRAVE, 1, 0x69 }, /* ì (i grave) */
292 { 0xed, XF_iACUTE, 1, 0x69 }, /* í (i acute) */
293 { 0xee, XF_iCIRCUMFLEX, 1, 0x69 }, /* î (i circumflex) */
294 { 0xef, XF_iDIERESIS, 1, 0x69 }, /* ï (i dieresis) */
296 { 0xf1, XF_nTILDE, 1, 0x6e }, /* ñ (n tilde) */
297 { 0xf2, XF_oGRAVE, 1, 0x6f }, /* ò (o grave) */
298 { 0xf3, XF_oACUTE, 1, 0x6f }, /* ó (o acute) */
299 { 0xf4, XF_oCIRCUMFLEX, 1, 0x6f }, /* ô (o circumflex) */
300 { 0xf5, XF_oTILDE, 1, 0x6f }, /* õ (o tilde) */
301 { 0xf6, XF_oDIERESIS, 1, 0x6f }, /* ö (o dieresis) */
302 { 0xf7, 0, 0, 0x97 }, /* ÷ (division sign) */
303 { 0xf8, XF_oSLASH, 1, 0x6f }, /* ø (o slash) */
304 { 0xf9, XF_uGRAVE, 1, 0x75 }, /* ù (u grave) */
305 { 0xfa, XF_uACUTE, 1, 0x75 }, /* ú (u acute) */
306 { 0xfb, XF_uCIRCUMFLEX, 1, 0x75 }, /* û (u circumflex) */
307 { 0xfc, XF_uDIERESIS, 1, 0x75 }, /* ü (u dieresis) */
308 { 0xfd, XF_yACUTE, 1, 0x79 }, /* ý (y acute) */
310 { 0xff, XF_yDIERESIS, 1, 0x79 }, /* ÿ (y dieresis) */
312 /* Latin extended A */
313 { 0x0103, XF_aBREVE, 1, 0x61 }, /* a breve */
314 { 0x0105, XF_aOGONEK, 1, 0x61 }, /* a ogonek */
315 { 0x0107, XF_cACUTE, 1, 0x63 }, /* c acute */
316 { 0x010d, XF_cCARON, 1, 0x63 }, /* c caron */
317 { 0x010f, XF_dCARON, 1, 0x64 }, /* d caron */
318 { 0x0110, XF_DSTROKE, 1, 0x44 }, /* D stroke */
319 { 0x0111, XF_dSTROKE, 1, 0x64 }, /* d stroke */
320 { 0x0119, XF_eOGONEK, 1, 0x65 }, /* e ogonek */
321 { 0x011b, XF_eCARON, 1, 0x65 }, /* e caron */
322 { 0x011e, XF_GBREVE, 1, 0x47 }, /* G breve */
323 { 0x011f, XF_gBREVE, 1, 0x67 }, /* g breve */
324 { 0x0130, XF_IDOT, 1, 0x49 }, /* I with dot above */
325 { 0x0131, XF_DOTLESSi, 1, 0x69 }, /* dotless i */
326 { 0x0141, XF_LSTROKE, 1, 0x4c }, /* L stroke */
327 { 0x0142, XF_lSTROKE, 1, 0x6c }, /* l stroke */
328 { 0x0144, XF_nACUTE, 1, 0x6e }, /* n acute */
329 { 0x0148, XF_nCARON, 1, 0x6e }, /* n caron */
330 { 0x0150, XF_ODBLACUTE, 1, 0x4f }, /* O double acute */
331 { 0x0151, XF_oDBLACUTE, 1, 0x6f }, /* o double acute */
332 { 0x0158, XF_RCARON, 1, 0x52 }, /* R caron */
333 { 0x0159, XF_rCARON, 1, 0x72 }, /* r caron */
334 { 0x015a, XF_SACUTE, 1, 0x53 }, /* S acute */
335 { 0x015b, XF_sACUTE, 1, 0x73 }, /* s acute */
336 { 0x015e, XF_SCEDILLA, 1, 0x53 }, /* S cedilla */
337 { 0x015f, XF_sCEDILLA, 1, 0x73 }, /* s cedilla */
338 { 0x0160, XF_SCARON, 1, 0x53 }, /* S caron */
339 { 0x0161, XF_sCARON, 1, 0x73 }, /* s caron */
340 { 0x0163, XF_tCEDILLA, 1, 0x74 }, /* t cedilla */
341 { 0x0165, XF_tCARON, 1, 0x74 }, /* t caron */
342 { 0x016f, XF_uRING, 1, 0x75 }, /* u with ring above */
343 { 0x0170, XF_UDBLACUTE, 1, 0x55 }, /* U double acute */
344 { 0x0171, XF_uDBLACUTE, 1, 0x75 }, /* u double acute */
345 { 0x017a, XF_zACUTE, 1, 0x7a }, /* z acute */
346 { 0x017c, XF_zDOT, 1, 0x7a }, /* z with dot above */
347 { 0x017e, XF_zCARON, 1, 0x7a }, /* z caron */
349 /* Greek */
350 { 0x037e, 0, 0, 0x3b }, /* greek question mark */
352 { 0x0386, 0, 0, 0x41 }, /* greek ALPHA with tonos */
353 { 0x0387, 0, 0, 0xa5 }, /* greek ano teleia */
354 { 0x0388, 0, 0, 0x45 }, /* greek EPSILON with tonos */
355 { 0x0389, 0, 0, 0x48 }, /* greek ETA with tonos */
356 { 0x038a, 0, 0, 0x49 }, /* greek IOTA with tonos */
357 /* reserved */
358 { 0x038c, 0, 0, 0x4f }, /* greek OMICRON with tonos */
359 /* reserved */
360 { 0x038e, 0, 0, 0x59 }, /* greek YPSILON with tonos */
361 { 0x038f, 0, 0, 0xea }, /* greek OMEGA with tonos */
362 { 0x0390, XF_GR_iotaTONOS, 1, 0x69 }, /* greek iota with dialytica + tonos */
363 { 0x0391, 0, 0, 0x41 }, /* greek ALPHA */
364 { 0x0392, 0, 0, 0x42 }, /* greek BETA */
365 { 0x0393, XF_GR_GAMMA, 2, 0xb2 }, /* greek GAMMA */
366 { 0x0394, XF_GR_DELTA, 2, 0x1f }, /* greek DELTA */
367 { 0x0395, 0, 0, 0x45 }, /* greek EPSILON */
368 { 0x0396, 0, 0, 0x5a }, /* greek ZETA */
369 { 0x0397, 0, 0, 0x48 }, /* greek ETA */
370 { 0x0398, XF_GR_THETA, 1, 0x30 }, /* greek THETA */
371 { 0x0399, 0, 0, 0x49 }, /* greek IOTA */
372 { 0x039a, 0, 0, 0x4b }, /* greek KAPPA */
373 { 0x039b, XF_GR_LAMBDA, 2, 0x4c }, /* greek LAMBDA */
374 { 0x039c, 0, 0, 0x4d }, /* greek MU */
375 { 0x039d, 0, 0, 0x4e }, /* greek NU */
376 { 0x039e, XF_GR_XI, 2, 0xd0 }, /* greek XI */
377 { 0x039f, 0, 0, 0x4f }, /* greek OMICRON */
378 { 0x03a0, XF_GR_PI, 1, 0x14 }, /* greek PI */
379 { 0x03a1, 0, 0, 0x50 }, /* greek RHO */
380 /* reserved */
381 { 0x03a3, 0, 0, 0xe4 }, /* greek SIGMA */
382 { 0x03a4, 0, 0, 0x54 }, /* greek TAU */
383 { 0x03a5, 0, 0, 0x59 }, /* greek UPSILON */
384 { 0x03a6, 0, 0, 0xe8 }, /* greek PHI */
385 { 0x03a7, 0, 0, 0x58 }, /* greek CHI */
386 { 0x03a8, XF_GR_PSI, 2, 0xc2 }, /* greek PSI */
387 { 0x03a9, 0, 0, 0xea }, /* greek OMEGA */
388 { 0x03aa, 0, 0, 0x49 }, /* greek IOTA with dialytica */
389 { 0x03ab, 0, 0, 0x59 }, /* greek UPSILON with dialytica */
390 { 0x03ac, XF_GR_alphaTONOS, 1, 0xe0 }, /* greek alpha with tonos */
391 { 0x03ad, XF_GR_epsilonTONOS, 1, 0xee }, /* greek epsilon with tonos */
392 { 0x03ae, XF_GR_etaTONOS, 1, 0x6e }, /* greek eta with tonos */
393 { 0x03af, XF_GR_iotaTONOS, 1, 0x69 }, /* greek iota with tonos */
394 { 0x03b0, XF_GR_upsilonTONOS, 1, 0x75 }, /* greek upsilon with dialytica + tonos */
395 { 0x03b1, 0, 0, 0xe0 }, /* greek alpha */
396 { 0x03b2, 0, 0, 0xe1 }, /* greek beta */
397 { 0x03b3, 0, 0, 0xe2 }, /* greek gamma */
398 { 0x03b4, 0, 0, 0xeb }, /* greek delta */
399 { 0x03b5, XF_GR_epsilon, 1, 0xee }, /* greek epsilon */
400 { 0x03b6, XF_GR_zeta, 1, 0x7a }, /* greek zeta */
401 { 0x03b7, XF_GR_eta, 1, 0x6e }, /* greek eta */
402 { 0x03b8, 0, 0, 0xe9 }, /* greek theta */
403 { 0x03b9, XF_GR_iota, 1, 0x69 }, /* greek iota */
404 { 0x03ba, XF_GR_kappa, 1, 0x6b }, /* greek kappa */
405 { 0x03bb, XF_GR_lambda, 2, 0xca }, /* greek lambda */
406 { 0x03bc, 0, 0, 0xe6 }, /* greek mu */
407 { 0x03bd, 0, 0, 0x76 }, /* greek nu */
408 { 0x03be, XF_GR_xi, 2, 0xd0 }, /* greek xi */
409 { 0x03bf, 0, 0, 0x6f }, /* greek omicron */
410 { 0x03c0, 0, 0, 0xe3 }, /* greek pi */
411 { 0x03c1, XF_GR_rho, 1, 0x70 }, /* greek rho */
412 { 0x03c2, XF_GR_FINALsigma, 1, 0x73 }, /* greek final sigma */
413 { 0x03c3, 0, 0, 0xe5 }, /* greek sigma */
414 { 0x03c4, 0, 0, 0xe7 }, /* greek tau */
415 { 0x03c5, XF_GR_upsilon, 1, 0x75 }, /* greek upsilon */
416 { 0x03c6, 0, 0, 0xed }, /* greek phi */
417 { 0x03c7, XF_GR_chi, 1, 0x78 }, /* greek chi */
418 { 0x03c8, XF_GR_psi, 2, 0xc2 }, /* greek psi */
419 { 0x03c9, XF_GR_omega, 1, 0x77 }, /* greek omega */
420 { 0x03ca, XF_GR_iotaDIA, 1, 0x69 }, /* greek iota with dialytica */
421 { 0x03cb, XF_GR_upsilon, 1, 0x75 }, /* greek upsilon with dialytica */
422 { 0x03cc, XF_GR_omicronTONOS, 1, 0x6f }, /* greek omicron with tonos */
423 { 0x03cd, XF_GR_upsilonTONOS, 1, 0x75 }, /* greek upsilon with tonos */
424 { 0x03ce, XF_GR_omegaTONOS, 1, 0x77 }, /* greek omega with tonos */
426 { 0x03f3, 0, 0, 0x6a }, /* greek yot */
428 /* Cyrillic */
429 { 0x0400, XF_CYR_IEGRAVE,1, 0x45 }, /* cyrillic IE grave */
430 { 0x0401, XF_CYR_IO, 1, 0x45 }, /* cyrillic IO */
432 { 0x0405, 0, 0, 0x53 }, /* cyrillic DZE */
433 { 0x0406, 0, 0, 0x49 }, /* cyrillic byeloruss-ukr. I */
434 { 0x0407, XF_CYR_YI, 1, 0x49 }, /* cyrillic YI */
435 { 0x0408, 0, 0, 0x4a }, /* cyrillic JE */
437 { 0x0410, 0, 0, 0x41 }, /* cyrillic A */
438 { 0x0411, XF_CYR_BE, 1, 0xeb }, /* cyrillic BE */
439 { 0x0412, 0, 0, 0x42 }, /* cyrillic VE */
440 { 0x0413, XF_CYR_GHE, 2, 0xb2 }, /* cyrillic GHE */
441 { 0x0414, XF_CYR_DE, 2, 0x44 }, /* cyrillic DE */
442 { 0x0415, 0, 0, 0x45 }, /* cyrillic IE */
443 { 0x0416, XF_CYR_ZHE, 2, 0x2a }, /* cyrillic ZHE */
444 { 0x0417, XF_CYR_ZE, 1, 0x33 }, /* cyrillic ZE */
445 { 0x0418, XF_CYR_I, 1, 0x55 }, /* cyrillic I */
446 { 0x0419, XF_CYR_SHORTI, 1, 0x55 }, /* cyrillic short I */
447 { 0x041a, 0, 0, 0x4b }, /* cyrillic K */
448 { 0x041b, XF_CYR_EL, 2, 0x4c }, /* cyrillic EL */
449 { 0x041c, 0, 0, 0x4d }, /* cyrillic EM */
450 { 0x041d, 0, 0, 0x48 }, /* cyrillic EN */
451 { 0x041e, 0, 0, 0x4f }, /* cyrillic O */
452 { 0x041f, XF_CYR_PE, 1, 0x14 }, /* cyrillic PE */
453 { 0x0420, 0, 0, 0x50 }, /* cyrillic ER */
454 { 0x0421, 0, 0, 0x43 }, /* cyrillic ES */
455 { 0x0422, 0, 0, 0x54 }, /* cyrillic TE */
456 { 0x0423, 0, 0, 0x59 }, /* cyrillic U */
457 { 0x0424, 0, 0, 0xe8 }, /* cyrillic EF */
458 { 0x0425, 0, 0, 0x58 }, /* cyrillic HA */
459 { 0x0426, XF_CYR_TSE, 2, 0xd9 }, /* cyrillic TSE */
460 { 0x0427, XF_CYR_CHE, 2, 0xd1 }, /* cyrillic CHE */
461 { 0x0428, XF_CYR_SHA, 1, 0x57 }, /* cyrillic SHA */
462 { 0x0429, XF_CYR_SHCHA, 1, 0x57 }, /* cyrillic SHCHA */
463 { 0x042a, XF_CYR_HARD, 1, 0x62 }, /* cyrillic capital hard sign */
464 { 0x042b, XF_CYR_YERU, 2, 0x1a }, /* cyrillic YERU */
465 { 0x042c, 0, 0, 0x62 }, /* cyrillic capital soft sign */
466 { 0x042d, XF_CYR_E, 2, 0xa6 }, /* cyrillic E */
467 { 0x042e, XF_CYR_YU, 2, 0x1b }, /* cyrillic YU */
468 { 0x042f, XF_CYR_YA, 2, 0xf3 }, /* cyrillic YA */
469 { 0x0430, 0, 0, 0x61 }, /* cyrillic a */
470 { 0x0431, 0, 0, 0xeb }, /* cyrillic be */
471 { 0x0432, XF_CYR_ve, 1, 0xe1 }, /* cyrillic ve */
472 { 0x0433, XF_CYR_ghe, 1, 0x72 }, /* cyrillic ghe */
473 { 0x0434, XF_CYR_de, 2, 0x1f }, /* cyrillic de */
474 { 0x0435, 0, 0, 0x65 }, /* cyrillic ie */
475 { 0x0436, XF_CYR_zhe, 1, 0x2a }, /* cyrillic zhe */
476 { 0x0437, XF_CYR_ze, 1, 0xae }, /* cyrillic ze */
477 { 0x0438, XF_CYR_i, 1, 0x75 }, /* cyrillic i */
478 { 0x0439, XF_CYR_SHORTi, 1, 0x75 }, /* cyrillic short i */
479 { 0x043a, XF_CYR_ka, 1, 0x6b }, /* cyrillic ka */
480 { 0x043b, XF_CYR_el, 2, 0xca }, /* cyrillic el */
481 { 0x043c, XF_CYR_em, 1, 0x6d }, /* cyrillic em */
482 { 0x043d, XF_CYR_en, 2, 0x48 }, /* cyrillic en */
483 { 0x043e, 0, 0, 0x6f }, /* cyrillic o */
484 { 0x043f, 0, 0, 0xe3 }, /* cyrillic pe */
485 { 0x0440, 0, 0, 0x70 }, /* cyrillic er */
486 { 0x0441, 0, 0, 0x63 }, /* cyrillic es */
487 { 0x0442, 0, 0, 0xe7 }, /* cyrillic te */
488 { 0x0443, 0, 0, 0x79 }, /* cyrillic u */
489 { 0x0444, 0, 0, 0xed }, /* cyrillic ef */
490 { 0x0445, 0, 0, 0x78 }, /* cyrillic ha */
491 { 0x0446, XF_CYR_tse, 2, 0xd9 }, /* cyrillic tse */
492 { 0x0447, XF_CYR_che, 2, 0xd1 }, /* cyrillic che */
493 { 0x0448, XF_CYR_sha, 1, 0x77 }, /* cyrillic sha */
494 { 0x0449, XF_CYR_shcha, 1, 0x77 }, /* cyrillic shcha */
495 { 0x044a, XF_CYR_hard, 1, 0x62 }, /* cyrillic small hard sign */
496 { 0x044b, XF_CYR_yeru, 2, 0x1a }, /* cyrillic yeru */
497 { 0x044c, XF_CYR_soft, 1, 0x62 }, /* cyrillic small soft sign */
498 { 0x044d, XF_CYR_e, 2, 0xa7 }, /* cyrillic e */
499 { 0x044e, XF_CYR_yu, 2, 0x1b }, /* cyrillic yu */
500 { 0x044f, XF_CYR_ya, 2, 0xfb }, /* cyrillic ya */
501 { 0x0450, XF_CYR_ieGRAVE,1, 0x65 }, /* cyrillic ie grave */
502 { 0x0451, XF_CYR_io, 1, 0x65 }, /* cyrillic io */
504 { 0x0455, 0, 0, 0x73 }, /* cyrillic dze */
505 { 0x0456, 0, 0, 0x69 }, /* cyrillic byeloruss-ukr. i */
506 { 0x0457, XF_CYR_yi, 1, 0x69 }, /* cyrillic yi */
507 { 0x0458, 0, 0, 0x6a }, /* cyrillic je */
509 /* Runtime-definable characters */
510 { 0xe000, 0x8000, 15, 0x20 }, /* variable character 0 */
511 { 0xe001, 0x8001, 15, 0x20 }, /* variable character 1 */
512 { 0xe002, 0x8002, 15, 0x20 }, /* variable character 2 */
513 { 0xe003, 0x8003, 15, 0x20 }, /* variable character 3 */
514 { 0xe004, 0x8004, 15, 0x20 }, /* variable character 4 */
515 { 0xe005, 0x8005, 15, 0x20 }, /* variable character 5 */
516 { 0xe006, 0x8006, 15, 0x20 }, /* variable character 6 */
517 { 0xe007, 0x8007, 15, 0x20 }, /* variable character 7 */
518 { 0xe008, 0x8008, 15, 0x20 }, /* variable character 8 */
519 { 0xe009, 0x8009, 15, 0x20 }, /* variable character 9 */
520 { 0xe00a, 0x800a, 15, 0x20 }, /* variable character 10 */
521 { 0xe00b, 0x800b, 15, 0x20 }, /* variable character 11 */
522 { 0xe00c, 0x800c, 15, 0x20 }, /* variable character 12 */
523 { 0xe00d, 0x800d, 15, 0x20 }, /* variable character 13 */
524 { 0xe00e, 0x800e, 15, 0x20 }, /* variable character 14 */
525 { 0xe00f, 0x800f, 15, 0x20 }, /* variable character 15 */
527 /* Icons and special symbols */
528 { 0xe100, XF_ICON_UNKNOWN, 14, 0x3f }, /* unknown icon (mirrored ?) */
529 { 0xe101, XF_ICON_BOOKMARK, 14, 0x94 }, /* bookmark icon */
530 { 0xe102, XF_ICON_PLUGIN, 14, 0x29 }, /* plugin icon */
531 { 0xe103, XF_ICON_FOLDER, 14, 0x91 }, /* folder icon */
532 { 0xe104, XF_ICON_FIRMWARE, 14, 0x78 }, /* firmware icon */
533 { 0xe105, XF_ICON_LANGUAGE, 14, 0x2b }, /* language icon */
534 { 0xe106, XF_ICON_AUDIO, 14, 0x13 }, /* audio icon (note) */
535 { 0xe107, XF_ICON_WPS, 14, 0x94 }, /* wps icon */
536 { 0xe108, XF_ICON_PLAYLIST, 14, 0xd0 }, /* playlist icon */
537 { 0xe109, XF_ICON_TEXTFILE, 14, 0xd0 }, /* text file icon */
538 { 0xe10a, XF_ICON_CONFIG, 14, 0xd0 }, /* config icon */
539 { 0xe10b, 0, 0, 0x7f }, /* left arrow */
540 { 0xe10c, 0, 0, 0x7e }, /* right arrow */
541 { 0xe10d, 0, 0, 0x18 }, /* up arrow */
542 { 0xe10e, 0, 0, 0x19 }, /* down arrow */
543 { 0xe10f, 0, 0, 0x11 }, /* filled left arrow */
544 { 0xe110, 0, 0, 0x10 }, /* filled right arrow */
545 { 0xe111, 0, 0, 0x1f }, /* filled up arrow */
546 { 0xe112, 0, 0, 0x1e }, /* filled down arrow */
547 { 0xe113, 0, 0, 0x20 }, /* level 0/7 */
548 { 0xe114, 0, 0, 0x80 }, /* level 1/7 */
549 { 0xe115, 0, 0, 0x81 }, /* level 2/7 */
550 { 0xe116, 0, 0, 0x82 }, /* level 3/7 */
551 { 0xe117, 0, 0, 0x83 }, /* level 4/7 */
552 { 0xe118, 0, 0, 0x84 }, /* level 5/7 */
553 { 0xe119, 0, 0, 0x85 }, /* level 6/7 */
554 { 0xe11a, 0, 0, 0x86 }, /* level 7/7 */
556 /* Halfwidth CJK punctuation and katakana - new LCD only */
557 { 0xff61, 0, 0, 0xa1 }, /* hw ideographic full stop */
558 { 0xff62, 0, 0, 0xa2 }, /* hw left corner bracket */
559 { 0xff63, 0, 0, 0xa3 }, /* hw right corner bracket */
560 { 0xff64, 0, 0, 0xa4 }, /* hw ideographic comma */
561 { 0xff65, 0, 0, 0xa5 }, /* hw katakana middle dot */
562 { 0xff66, 0, 0, 0xa6 }, /* hw katakana WO */
563 { 0xff67, 0, 0, 0xa7 }, /* hw katakana a */
564 { 0xff68, 0, 0, 0xa8 }, /* hw katakana i */
565 { 0xff69, 0, 0, 0xa9 }, /* hw katakana u */
566 { 0xff6a, 0, 0, 0xaa }, /* hw katakana e */
567 { 0xff6b, 0, 0, 0xab }, /* hw katakana o */
568 { 0xff6c, 0, 0, 0xac }, /* hw katakana ya */
569 { 0xff6d, 0, 0, 0xad }, /* hw katakana yu */
570 { 0xff6e, 0, 0, 0xae }, /* hw katakana yo */
571 { 0xff6f, 0, 0, 0xaf }, /* hw katakana tu */
572 { 0xff70, 0, 0, 0xb0 }, /* hw katakana-hiragana prolonged soundmark */
573 { 0xff71, 0, 0, 0xb1 }, /* hw katakana A */
574 { 0xff72, 0, 0, 0xb2 }, /* hw katakana I */
575 { 0xff73, 0, 0, 0xb3 }, /* hw katakana U */
576 { 0xff74, 0, 0, 0xb4 }, /* hw katakana E */
577 { 0xff75, 0, 0, 0xb5 }, /* hw katakana O */
578 { 0xff76, 0, 0, 0xb6 }, /* hw katakana KA */
579 { 0xff77, 0, 0, 0xb7 }, /* hw katakana KI */
580 { 0xff78, 0, 0, 0xb8 }, /* hw katakana KU */
581 { 0xff79, 0, 0, 0xb9 }, /* hw katakana KE */
582 { 0xff7a, 0, 0, 0xba }, /* hw katakana KO */
583 { 0xff7b, 0, 0, 0xbb }, /* hw katakana SA */
584 { 0xff7c, 0, 0, 0xbc }, /* hw katakana SI */
585 { 0xff7d, 0, 0, 0xbd }, /* hw katakana SU */
586 { 0xff7e, 0, 0, 0xbe }, /* hw katakana SE */
587 { 0xff7f, 0, 0, 0xbf }, /* hw katakana SO */
588 { 0xff80, 0, 0, 0xc0 }, /* hw katakana TA */
589 { 0xff81, 0, 0, 0xc1 }, /* hw katakana TI */
590 { 0xff82, 0, 0, 0xc2 }, /* hw katakana TU */
591 { 0xff83, 0, 0, 0xc3 }, /* hw katakana TE */
592 { 0xff84, 0, 0, 0xc4 }, /* hw katakana TO */
593 { 0xff85, 0, 0, 0xc5 }, /* hw katakana NA */
594 { 0xff86, 0, 0, 0xc6 }, /* hw katakana NI */
595 { 0xff87, 0, 0, 0xc7 }, /* hw katakana NU */
596 { 0xff88, 0, 0, 0xc8 }, /* hw katakana NE */
597 { 0xff89, 0, 0, 0xc9 }, /* hw katakana NO */
598 { 0xff8a, 0, 0, 0xca }, /* hw katakana HA */
599 { 0xff8b, 0, 0, 0xcb }, /* hw katakana HI */
600 { 0xff8c, 0, 0, 0xcc }, /* hw katakana HU */
601 { 0xff8d, 0, 0, 0xcd }, /* hw katakana HE */
602 { 0xff8e, 0, 0, 0xce }, /* hw katakana HO */
603 { 0xff8f, 0, 0, 0xcf }, /* hw katakana MA */
604 { 0xff90, 0, 0, 0xd0 }, /* hw katakana MI */
605 { 0xff91, 0, 0, 0xd1 }, /* hw katakana MU */
606 { 0xff92, 0, 0, 0xd2 }, /* hw katakana ME */
607 { 0xff93, 0, 0, 0xd3 }, /* hw katakana MO */
608 { 0xff94, 0, 0, 0xd4 }, /* hw katakana YA */
609 { 0xff95, 0, 0, 0xd5 }, /* hw katakana YU */
610 { 0xff96, 0, 0, 0xd6 }, /* hw katakana YO */
611 { 0xff97, 0, 0, 0xd7 }, /* hw katakana RA */
612 { 0xff98, 0, 0, 0xd8 }, /* hw katakana RI */
613 { 0xff99, 0, 0, 0xd9 }, /* hw katakana RU */
614 { 0xff9a, 0, 0, 0xda }, /* hw katakana RE */
615 { 0xff9b, 0, 0, 0xdb }, /* hw katakana RO */
616 { 0xff9c, 0, 0, 0xdc }, /* hw katakana WA */
617 { 0xff9d, 0, 0, 0xdd }, /* hw katakana N */
618 { 0xff9e, 0, 0, 0xde }, /* hw katakana voiced sound mark */
619 { 0xff9f, 0, 0, 0xdf }, /* hw katakana semi-voiced sound mark */
620 #endif /* !BOOTLOADER */
622 /* no-char symbol */
623 { 0xfffd, 0, 0, 0x91 },
626 const struct xchar_info xchar_info_oldlcd[] = {
627 /* Standard ascii */
628 { 0x20, 0, 0, 0x24 }, /* */
629 { 0x21, 0, 0, 0x25 }, /* ! */
630 { 0x22, 0, 0, 0x26 }, /* " */
631 { 0x23, 0, 0, 0x27 }, /* # */
632 { 0x24, 0, 0, 0x06 }, /* $ */
633 { 0x25, 0, 0, 0x29 }, /* % */
634 { 0x26, 0, 0, 0x2a }, /* & */
635 { 0x27, 0, 0, 0x2b }, /* ' */
636 { 0x28, 0, 0, 0x2c }, /* ( */
637 { 0x29, 0, 0, 0x2d }, /* ) */
638 { 0x2a, 0, 0, 0x2e }, /* * */
639 { 0x2b, 0, 0, 0x2f }, /* + */
640 { 0x2c, 0, 0, 0x30 }, /* , */
641 { 0x2d, 0, 0, 0x31 }, /* - */
642 { 0x2e, 0, 0, 0x32 }, /* . */
643 { 0x2f, 0, 0, 0x33 }, /* / */
644 { 0x30, 0, 0, 0x34 }, /* 0 */
645 { 0x31, 0, 0, 0x35 }, /* 1 */
646 { 0x32, 0, 0, 0x36 }, /* 2 */
647 { 0x33, 0, 0, 0x37 }, /* 3 */
648 { 0x34, 0, 0, 0x38 }, /* 4 */
649 { 0x35, 0, 0, 0x39 }, /* 5 */
650 { 0x36, 0, 0, 0x3a }, /* 6 */
651 { 0x37, 0, 0, 0x3b }, /* 7 */
652 { 0x38, 0, 0, 0x3c }, /* 8 */
653 { 0x39, 0, 0, 0x3d }, /* 9 */
654 { 0x3a, 0, 0, 0x3e }, /* : */
655 { 0x3b, 0, 0, 0x3f }, /* ; */
656 { 0x3c, 0, 0, 0x40 }, /* < */
657 { 0x3d, 0, 0, 0x41 }, /* = */
658 { 0x3e, 0, 0, 0x42 }, /* > */
659 { 0x3f, 0, 0, 0x43 }, /* ? */
660 { 0x40, 0, 0, 0x04 }, /* @ */
661 { 0x41, 0, 0, 0x45 }, /* A */
662 { 0x42, 0, 0, 0x46 }, /* B */
663 { 0x43, 0, 0, 0x47 }, /* C */
664 { 0x44, 0, 0, 0x48 }, /* D */
665 { 0x45, 0, 0, 0x49 }, /* E */
666 { 0x46, 0, 0, 0x4a }, /* F */
667 { 0x47, 0, 0, 0x4b }, /* G */
668 { 0x48, 0, 0, 0x4c }, /* H */
669 { 0x49, 0, 0, 0x4d }, /* I */
670 { 0x4a, 0, 0, 0x4e }, /* J */
671 { 0x4b, 0, 0, 0x4f }, /* K */
672 { 0x4c, 0, 0, 0x50 }, /* L */
673 { 0x4d, 0, 0, 0x51 }, /* M */
674 { 0x4e, 0, 0, 0x52 }, /* N */
675 { 0x4f, 0, 0, 0x53 }, /* O */
676 { 0x50, 0, 0, 0x54 }, /* P */
677 { 0x51, 0, 0, 0x55 }, /* Q */
678 { 0x52, 0, 0, 0x56 }, /* R */
679 { 0x53, 0, 0, 0x57 }, /* S */
680 { 0x54, 0, 0, 0x58 }, /* T */
681 { 0x55, 0, 0, 0x59 }, /* U */
682 { 0x56, 0, 0, 0x5a }, /* V */
683 { 0x57, 0, 0, 0x5b }, /* W */
684 { 0x58, 0, 0, 0x5c }, /* X */
685 { 0x59, 0, 0, 0x5d }, /* Y */
686 { 0x5a, 0, 0, 0x5e }, /* Z */
687 { 0x5b, 0, 0, 0xa9 }, /* [ */
688 { 0x5c, XF_BACKSLASH, 2, 0x33 }, /* \ */
689 { 0x5d, 0, 0, 0xce }, /* ] */
690 { 0x5e, XF_CIRCUMFLEX, 2, 0xee }, /* ^ */
691 { 0x5f, 0, 0, 0x15 }, /* _ */
692 { 0x60, XF_GRAVEACCENT, 2, 0x2b }, /* ` */
693 { 0x61, 0, 0, 0x65 }, /* a */
694 { 0x62, 0, 0, 0x66 }, /* b */
695 { 0x63, 0, 0, 0x67 }, /* c */
696 { 0x64, 0, 0, 0x68 }, /* d */
697 { 0x65, 0, 0, 0x69 }, /* e */
698 { 0x66, 0, 0, 0x6a }, /* f */
699 { 0x67, 0, 0, 0x6b }, /* g */
700 { 0x68, 0, 0, 0x6c }, /* h */
701 { 0x69, 0, 0, 0x6d }, /* i */
702 { 0x6a, 0, 0, 0x6e }, /* j */
703 { 0x6b, 0, 0, 0x6f }, /* k */
704 { 0x6c, 0, 0, 0x70 }, /* l */
705 { 0x6d, 0, 0, 0x71 }, /* m */
706 { 0x6e, 0, 0, 0x72 }, /* n */
707 { 0x6f, 0, 0, 0x73 }, /* o */
708 { 0x70, 0, 0, 0x74 }, /* p */
709 { 0x71, 0, 0, 0x75 }, /* q */
710 { 0x72, 0, 0, 0x76 }, /* r */
711 { 0x73, 0, 0, 0x77 }, /* s */
712 { 0x74, 0, 0, 0x78 }, /* t */
713 { 0x75, 0, 0, 0x79 }, /* u */
714 { 0x76, 0, 0, 0x7a }, /* v */
715 { 0x77, 0, 0, 0x7b }, /* w */
716 { 0x78, 0, 0, 0x7c }, /* x */
717 { 0x79, 0, 0, 0x7d }, /* y */
718 { 0x7a, 0, 0, 0x7e }, /* z */
719 { 0x7b, 0, 0, 0x2c }, /* { (hard-coded ( ) */
720 { 0x7c, XF_VERTICALBAR, 2, 0x25 }, /* | */
721 { 0x7d, 0, 0, 0x2d }, /* } (hard-coded ) ) */
722 { 0x7e, XF_TILDE, 2, 0x31 }, /* ~ */
723 { 0x7f, 0, 0, 0x8b }, /* (full grid) */
725 #ifndef BOOTLOADER /* bootloader only supports pure ASCII */
726 /* Latin 1 */
727 { 0xa0, 0, 0, 0x24 }, /* (non-breaking space) */
728 { 0xa1, 0, 0, 0x44 }, /* ¡ (inverted !) */
729 { 0xa2, 0, 0, 0xa8 }, /* ¢ (cent sign) */
730 { 0xa3, 0, 0, 0x05 }, /* £ (pound sign) */
731 { 0xa4, 0, 0, 0x28 }, /* ¤ (currency sign) */
732 { 0xa5, 0, 0, 0x07 }, /* ¥ (yen sign) */
734 { 0xa7, 0, 0, 0x63 }, /* § (paragraph sign) */
736 { 0xab, XF_LEFTDBLANGLEQUOT, 1, 0x40 }, /* « (left double-angle quotation mark) */
738 { 0xad, 0, 0, 0x31 }, /* ­ (soft hyphen) */
740 { 0xaf, 0, 0, 0xee }, /* ¯ (macron) */
742 { 0xb1, XF_PLUSMINUS, 1, 0x2f }, /* ± (plus-minus sign) */
743 { 0xb2, XF_SUPER2, 1, 0x36 }, /* ³ (superscript 2) */
744 { 0xb3, XF_SUPER3, 1, 0x37 }, /* ³ (superscript 3) */
746 { 0xb5, XF_MICRO, 1, 0x79 }, /* µ (micro sign) */
747 { 0xb6, 0, 0, 0x1a }, /* ¶ (pilcrow sign) */
748 { 0xb7, XF_MIDDLEDOT, 1, 0x32 }, /* · (middle dot) */
750 { 0xbb, XF_RIGHTDBLANGLEQUOT, 1, 0x42 }, /* » (right double-angle quotation mark) */
751 { 0xbc, XF_ONEQUARTER, 1, 0x29 }, /* ¼ (one quarter) */
752 { 0xbd, XF_ONEHALF, 1, 0x29 }, /* ½ (one half) */
753 { 0xbe, XF_THREEQUARTERS, 1, 0x29 }, /* ¾ (three quarters) */
754 { 0xbf, 0, 0, 0x64 }, /* ¿ (inverted ?) */
755 { 0xc0, 0, 0, 0x8c }, /* À (A grave) */
756 { 0xc1, 0, 0, 0x8d }, /* Á (A acute) */
757 { 0xc2, 0, 0, 0x8e }, /* Â (A circumflex) */
758 { 0xc3, 0, 0, 0x8f }, /* Ã (A tilde) */
759 { 0xc4, 0, 0, 0x5f }, /* Ä (A dieresis) */
760 { 0xc5, 0, 0, 0x12 }, /* Å (A with ring above) */
761 { 0xc6, 0, 0, 0x20 }, /* Æ (AE ligature) */
762 { 0xc7, 0, 0, 0x0d }, /* Ç (C cedilla) */
763 { 0xc8, 0, 0, 0x90 }, /* È (E grave) */
764 { 0xc9, 0, 0, 0x23 }, /* É (E acute) */
765 { 0xca, 0, 0, 0x91 }, /* Ê (E circumflex) */
766 { 0xcb, 0, 0, 0x92 }, /* Ë (E dieresis) */
767 { 0xcc, 0, 0, 0x93 }, /* Ì (I grave) */
768 { 0xcd, 0, 0, 0x94 }, /* Í (I acute) */
769 { 0xce, XF_ICIRCUMFLEX, 1, 0x4d }, /* Î (I circumflex) */
770 { 0xcf, XF_IDIERESIS, 1, 0x4d }, /* Ï (I dieresis) */
771 { 0xd0, 0, 0, 0x95 }, /* Ð (ETH) */
772 { 0xd1, 0, 0, 0x61 }, /* Ñ (N tilde) */
773 { 0xd2, 0, 0, 0x96 }, /* Ò (O grave) */
774 { 0xd3, 0, 0, 0x97 }, /* Ó (O acute) */
775 { 0xd4, 0, 0, 0x98 }, /* Ô (O circumflex) */
776 { 0xd5, 0, 0, 0x99 }, /* Õ (O tilde) */
777 { 0xd6, 0, 0, 0x60 }, /* Ö (O dieresis) */
778 { 0xd7, 0, 0, 0xde }, /* × (multiplication sign) */
779 { 0xd8, 0, 0, 0x0f }, /* Ø (O stroke) */
780 { 0xd9, 0, 0, 0x9a }, /* Ù (U grave) */
781 { 0xda, 0, 0, 0x9b }, /* Ú (U acute) */
782 { 0xdb, XF_UCIRCUMFLEX, 1, 0x59 }, /* Û (U circumflex) */
783 { 0xdc, 0, 0, 0x62 }, /* Ü (U dieresis) */
784 { 0xdd, XF_YACUTE, 1, 0x5d }, /* Ý (Y acute) */
786 { 0xdf, 0, 0, 0x22 }, /* ß (sharp s) */
787 { 0xe0, 0, 0, 0x83 }, /* à (a grave) */
788 { 0xe1, 0, 0, 0x9c }, /* á (a acute) */
789 { 0xe2, 0, 0, 0x9d }, /* â (a circumflex) */
790 { 0xe3, 0, 0, 0x9e }, /* ã (a tilde) */
791 { 0xe4, 0, 0, 0x7f }, /* ä (a dieresis) */
792 { 0xe5, 0, 0, 0x13 }, /* å (a with ring above) */
793 { 0xe6, 0, 0, 0x21 }, /* æ (ae ligature */
794 { 0xe7, 0, 0, 0x84 }, /* ç (c cedilla) */
795 { 0xe8, 0, 0, 0x08 }, /* è (e grave) */
796 { 0xe9, 0, 0, 0x09 }, /* é (e acute) */
797 { 0xea, 0, 0, 0x9f }, /* ê (e circumflex) */
798 { 0xeb, 0, 0, 0xa0 }, /* ë (e dieresis) */
799 { 0xec, XF_iGRAVE, 1, 0x6d }, /* ì (i grave) */
800 { 0xed, 0, 0, 0xa1 }, /* í (i acute) */
801 { 0xee, 0, 0, 0xa2 }, /* î (i circumflex) */
802 { 0xef, 0, 0, 0xa3 }, /* ï (i dieresis) */
804 { 0xf1, 0, 0, 0x81 }, /* ñ (n tilde) */
805 { 0xf2, 0, 0, 0x0c }, /* ò (o grave) */
806 { 0xf3, 0, 0, 0xa4 }, /* ó (o acute) */
807 { 0xf4, 0, 0, 0xa5 }, /* ô (o circumflex) */
808 { 0xf5, 0, 0, 0xa6 }, /* õ (o tilde) */
809 { 0xf6, 0, 0, 0x80 }, /* ö (o dieresis) */
810 { 0xf7, XF_DIVISION, 1, 0x2f }, /* ÷ (division sign) */
811 { 0xf8, 0, 0, 0x10 }, /* ø (o slash) */
812 { 0xf9, 0, 0, 0x0a }, /* ù (u grave) */
813 { 0xfa, 0, 0, 0xa7 }, /* ú (u acute) */
814 { 0xfb, XF_uCIRCUMFLEX, 1, 0x79 }, /* û (u circumflex) */
815 { 0xfc, 0, 0, 0xa2 }, /* ü (u dieresis) */
816 { 0xfd, 0, 0, 0xaf }, /* ý (y acute) */
818 { 0xff, XF_yDIERESIS, 1, 0x7d }, /* ÿ (y dieresis) */
820 /* Latin extended A */
821 { 0x0103, 0, 0, 0xe9 }, /* a breve */
822 { 0x0105, 0, 0, 0xb3 }, /* a ogonek */
823 { 0x0107, 0, 0, 0xb1 }, /* c acute */
824 { 0x010d, 0, 0, 0xab }, /* c caron */
825 { 0x010f, 0, 0, 0xbc }, /* d caron */
826 { 0x0110, 0, 0, 0x95 }, /* D stroke */
827 { 0x0111, 0, 0, 0xb0 }, /* d stroke */
828 { 0x0119, 0, 0, 0xb2 }, /* e ogonek */
829 { 0x011b, 0, 0, 0xad }, /* e caron */
830 { 0x011e, 0, 0, 0xc1 }, /* G breve */
831 { 0x011f, 0, 0, 0xc2 }, /* g breve */
832 { 0x0130, 0, 0, 0xc5 }, /* I with dot above */
833 { 0x0131, 0, 0, 0xc6 }, /* dotless i */
834 { 0x0141, XF_LSTROKE, 1, 0x50 }, /* L stroke */
835 { 0x0142, 0, 0, 0xb8 }, /* l stroke */
836 { 0x0144, 0, 0, 0xb7 }, /* n acute */
837 { 0x0148, 0, 0, 0xba }, /* n caron */
838 { 0x0150, 0, 0, 0xc8 }, /* O double acute */
839 { 0x0151, 0, 0, 0xca }, /* o double acute */
840 { 0x0158, XF_RCARON, 1, 0x56 }, /* R caron */
841 { 0x0159, 0, 0, 0xaa }, /* r caron */
842 { 0x015a, 0, 0, 0xb6 }, /* S acute */
843 { 0x015b, 0, 0, 0xb6 }, /* s acute */
844 { 0x015e, 0, 0, 0xc3 }, /* S cedilla */
845 { 0x015f, 0, 0, 0xc4 }, /* s cedilla */
846 { 0x0160, 0, 0, 0xac }, /* S caron */
847 { 0x0161, 0, 0, 0xac }, /* s caron */
848 { 0x0163, 0, 0, 0xd9 }, /* t cedilla */
849 { 0x0165, 0, 0, 0xbb }, /* t caron */
850 { 0x016f, 0, 0, 0xae }, /* u with ring above */
851 { 0x0170, 0, 0, 0xc7 }, /* U double acute */
852 { 0x0171, 0, 0, 0xc9 }, /* u double acute */
853 { 0x017a, 0, 0, 0xb5 }, /* z acute */
854 { 0x017c, 0, 0, 0xb4 }, /* z with dot above */
855 { 0x017e, 0, 0, 0xbd }, /* z caron */
857 /* Greek */
858 { 0x037e, 0, 0, 0x3f }, /* greek question mark */
860 { 0x0386, 0, 0, 0x45 }, /* greek ALPHA with tonos */
861 { 0x0387, XF_GR_ANOTELEIA,1, 0x32 }, /* greek ano teleia */
862 { 0x0388, 0, 0, 0x49 }, /* greek EPSILON with tonos */
863 { 0x0389, 0, 0, 0x4c }, /* greek ETA with tonos */
864 { 0x038a, 0, 0, 0x4d }, /* greek IOTA with tonos */
865 /* reserved */
866 { 0x038c, 0, 0, 0x53 }, /* greek OMICRON with tonos */
867 /* reserved */
868 { 0x038e, 0, 0, 0x5d }, /* greek YPSILON with tonos */
869 { 0x038f, 0, 0, 0x19 }, /* greek OMEGA with tonos */
870 { 0x0390, 0, 0, 0xa1 }, /* greek iota with dialytica + tonos */
871 { 0x0391, 0, 0, 0x45 }, /* greek ALPHA */
872 { 0x0392, 0, 0, 0x46 }, /* greek BETA */
873 { 0x0393, 0, 0, 0x17 }, /* greek GAMMA */
874 { 0x0394, 0, 0, 0x14 }, /* greek DELTA */
875 { 0x0395, 0, 0, 0x49 }, /* greek EPSILON */
876 { 0x0396, 0, 0, 0x5e }, /* greek ZETA */
877 { 0x0397, 0, 0, 0x4c }, /* greek ETA */
878 { 0x0398, 0, 0, 0x1d }, /* greek THETA */
879 { 0x0399, 0, 0, 0x4d }, /* greek IOTA */
880 { 0x039a, 0, 0, 0x4f }, /* greek KAPPA */
881 { 0x039b, 0, 0, 0x18 }, /* greek LAMBDA */
882 { 0x039c, 0, 0, 0x51 }, /* greek MU */
883 { 0x039d, 0, 0, 0x52 }, /* greek NU */
884 { 0x039e, 0, 0, 0x1e }, /* greek XI */
885 { 0x039f, 0, 0, 0x53 }, /* greek OMICRON */
886 { 0x03a0, 0, 0, 0x1a }, /* greek PI */
887 { 0x03a1, 0, 0, 0x54 }, /* greek RHO */
888 /* reserved */
889 { 0x03a3, 0, 0, 0x1c }, /* greek SIGMA */
890 { 0x03a4, 0, 0, 0x58 }, /* greek TAU */
891 { 0x03a5, 0, 0, 0x5d }, /* greek UPSILON */
892 { 0x03a6, 0, 0, 0x16 }, /* greek PHI */
893 { 0x03a7, 0, 0, 0x5c }, /* greek CHI */
894 { 0x03a8, 0, 0, 0x1b }, /* greek PSI */
895 { 0x03a9, 0, 0, 0x19 }, /* greek OMEGA */
896 { 0x03aa, 0, 0, 0x4d }, /* greek IOTA with dialytica */
897 { 0x03ab, 0, 0, 0x5d }, /* greek UPSILON with dialytica */
898 { 0x03ac, XF_GR_alphaTONOS, 1, 0x9c }, /* greek alpha with tonos */
899 { 0x03ad, XF_GR_epsilonTONOS, 1, 0x69 }, /* greek epsilon with tonos */
900 { 0x03ae, XF_GR_etaTONOS, 1, 0x72 }, /* greek eta with tonos */
901 { 0x03af, 0, 0, 0xa1 }, /* greek iota with tonos */
902 { 0x03b0, XF_GR_upsilonTONOS, 1, 0xa7 }, /* greek upsilon with dialytica + tonos */
903 { 0x03b1, XF_GR_alpha, 1, 0x65 }, /* greek alpha */
904 { 0x03b2, 0, 0, 0x22 }, /* greek beta */
905 { 0x03b3, XF_GR_gamma, 1, 0x7d }, /* greek gamma */
906 { 0x03b4, XF_GR_delta, 2, 0x14 }, /* greek delta */
907 { 0x03b5, XF_GR_epsilon, 1, 0x69 }, /* greek epsilon */
908 { 0x03b6, XF_GR_zeta, 1, 0x7e }, /* greek zeta */
909 { 0x03b7, XF_GR_eta, 1, 0x72 }, /* greek eta */
910 { 0x03b8, 0, 0, 0x1d }, /* greek theta */
911 { 0x03b9, 0, 0, 0xc6 }, /* greek iota */
912 { 0x03ba, XF_GR_kappa, 1, 0x6f }, /* greek kappa */
913 { 0x03bb, XF_GR_lambda, 1, 0x18 }, /* greek lambda */
914 { 0x03bc, XF_GR_mu, 1, 0x79 }, /* greek mu */
915 { 0x03bd, 0, 0, 0x7a }, /* greek nu */
916 { 0x03be, XF_GR_xi, 2, 0x1e }, /* greek xi */
917 { 0x03bf, 0, 0, 0x73 }, /* greek omicron */
918 { 0x03c0, XF_GR_pi, 1, 0x72 }, /* greek pi */
919 { 0x03c1, XF_GR_rho, 1, 0x74 }, /* greek rho */
920 { 0x03c2, XF_GR_FINALsigma, 1, 0x77 }, /* greek final sigma */
921 { 0x03c3, XF_GR_sigma, 1, 0x73 }, /* greek sigma */
922 { 0x03c4, XF_GR_tau, 1, 0x78 }, /* greek tau */
923 { 0x03c5, XF_GR_upsilon, 1, 0x79 }, /* greel upsilon */
924 { 0x03c6, 0, 0, 0x10 }, /* greek phi */
925 { 0x03c7, XF_GR_chi, 1, 0x7c }, /* greek chi */
926 { 0x03c8, XF_GR_psi, 1, 0x1b }, /* greek psi */
927 { 0x03c9, XF_GR_omega, 1, 0x7b }, /* greek omega */
928 { 0x03ca, 0, 0, 0xa3 }, /* greek iota with dialytica */
929 { 0x03cb, XF_GR_upsilon, 1, 0x82 }, /* greek upsilon with dialytica */
930 { 0x03cc, 0, 0, 0xa4 }, /* greek omicron with tonos */
931 { 0x03cd, XF_GR_upsilonTONOS, 1, 0xa7 }, /* greek upsilon with tonos */
932 { 0x03ce, XF_GR_omegaTONOS, 1, 0x7b }, /* greek omega with tonos */
934 { 0x03f3, 0, 0, 0x6e }, /* greek yot */
936 /* Cyrillic */
937 { 0x0400, 0, 0, 0x90 }, /* cyrillic IE grave */
938 { 0x0401, 0, 0, 0x92 }, /* cyrillic IO */
940 { 0x0405, 0, 0, 0x57 }, /* cyrillic DZE */
941 { 0x0406, 0, 0, 0x4d }, /* cyrillic byeloruss-ukr. I */
942 { 0x0407, XF_CYR_YI, 1, 0x4d }, /* cyrillic YI */
943 { 0x0408, 0, 0, 0x4e }, /* cyrillic JE */
945 { 0x0410, 0, 0, 0x45 }, /* cyrillic A */
946 { 0x0411, XF_CYR_BE, 1, 0x3a }, /* cyrillic BE */
947 { 0x0412, 0, 0, 0x46 }, /* cyrillic VE */
948 { 0x0413, 0, 0, 0x17 }, /* cyrillic GHE */
949 { 0x0414, XF_CYR_DE, 1, 0x14 }, /* cyrillic DE */
950 { 0x0415, 0, 0, 0x49 }, /* cyrillic IE */
951 { 0x0416, XF_CYR_ZHE, 2, 0x2e }, /* cyrillic ZHE */
952 { 0x0417, XF_CYR_ZE, 1, 0x37 }, /* cyrillic ZE */
953 { 0x0418, XF_CYR_I, 1, 0x59 }, /* cyrillic I */
954 { 0x0419, XF_CYR_SHORTI, 1, 0x9b }, /* cyrillic short I */
955 { 0x041a, 0, 0, 0x4f }, /* cyrillic K */
956 { 0x041b, XF_CYR_EL, 1, 0x18 }, /* cyrillic EL */
957 { 0x041c, 0, 0, 0x51 }, /* cyrillic EM */
958 { 0x041d, 0, 0, 0x4c }, /* cyrillic EN */
959 { 0x041e, 0, 0, 0x53 }, /* cyrillic O */
960 { 0x041f, 0, 0, 0x1a }, /* cyrillic PE */
961 { 0x0420, 0, 0, 0x54 }, /* cyrillic ER */
962 { 0x0421, 0, 0, 0x47 }, /* cyrillic ES */
963 { 0x0422, 0, 0, 0x58 }, /* cyrillic TE */
964 { 0x0423, 0, 0, 0x5d }, /* cyrillic U */
965 { 0x0424, 0, 0, 0x16 }, /* cyrillic EF */
966 { 0x0425, 0, 0, 0x5c }, /* cyrillic HA */
967 { 0x0426, XF_CYR_TSE, 2, 0x5e }, /* cyrillic TSE */
968 { 0x0427, XF_CYR_CHE, 2, 0x0e }, /* cyrillic CHE */
969 { 0x0428, XF_CYR_SHA, 1, 0x5b }, /* cyrillic SHA */
970 { 0x0429, XF_CYR_SHCHA, 1, 0x5b }, /* cyrillic SHCHA */
971 { 0x042a, XF_CYR_HARD, 1, 0x66 }, /* cyrillic capital hard sign */
972 { 0x042b, XF_CYR_YERU, 2, 0x66 }, /* cyrillic YERU */
973 { 0x042c, 0, 0, 0x66 }, /* cyrillic capital soft sign */
974 { 0x042d, XF_CYR_E, 2, 0x89 }, /* cyrillic E */
975 { 0x042e, XF_CYR_YU, 2, 0x95 }, /* cyrillic YU */
976 { 0x042f, XF_CYR_YA, 1, 0x0d }, /* cyrillic YA */
977 { 0x0430, 0, 0, 0x65 }, /* cyrillic a */
978 { 0x0431, XF_CYR_be, 1, 0x97 }, /* cyrillic be */
979 { 0x0432, XF_CYR_ve, 1, 0x22 }, /* cyrillic ve */
980 { 0x0433, XF_CYR_ghe, 1, 0x76 }, /* cyrillic ghe */
981 { 0x0434, XF_CYR_de, 2, 0x14 }, /* cyrillic de */
982 { 0x0435, 0, 0, 0x69 }, /* cyrillic ie */
983 { 0x0436, XF_CYR_zhe, 1, 0x2e }, /* cyrillic zhe */
984 { 0x0437, XF_CYR_ze, 1, 0x37 }, /* cyrillic ze */
985 { 0x0438, XF_CYR_i, 1, 0x79 }, /* cyrillic i */
986 { 0x0439, XF_CYR_SHORTi, 1, 0xa7 }, /* cyrillic short i */
987 { 0x043a, XF_CYR_ka, 1, 0x6f }, /* cyrillic ka */
988 { 0x043b, XF_CYR_el, 1, 0x18 }, /* cyrillic el */
989 { 0x043c, XF_CYR_em, 1, 0x71 }, /* cyrillic em */
990 { 0x043d, XF_CYR_en, 2, 0x4c }, /* cyrillic en */
991 { 0x043e, 0, 0, 0x73 }, /* cyrillic o */
992 { 0x043f, XF_CYR_pe, 1, 0x72 }, /* cyrillic pe */
993 { 0x0440, 0, 0, 0x74 }, /* cyrillic er */
994 { 0x0441, 0, 0, 0x67 }, /* cyrillic es */
995 { 0x0442, XF_CYR_te, 1, 0x78 }, /* cyrillic te */
996 { 0x0443, 0, 0, 0x7d }, /* cyrillic u */
997 { 0x0444, 0, 0, 0x10 }, /* cyrillic ef */
998 { 0x0445, 0, 0, 0x7c }, /* cyrillic ha */
999 { 0x0446, XF_CYR_tse, 2, 0x7e }, /* cyrillic tse */
1000 { 0x0447, XF_CYR_che, 2, 0x0e }, /* cyrillic che */
1001 { 0x0448, XF_CYR_sha, 1, 0x7b }, /* cyrillic sha */
1002 { 0x0449, XF_CYR_shcha, 1, 0x7b }, /* cyrillic shcha */
1003 { 0x044a, XF_CYR_hard, 1, 0x66 }, /* cyrillic small hard sign */
1004 { 0x044b, XF_CYR_yeru, 2, 0x66 }, /* cyrillic yeru */
1005 { 0x044c, XF_CYR_soft, 1, 0x66 }, /* cyrillic small soft sign */
1006 { 0x044d, XF_CYR_e, 2, 0x89 }, /* cyrillic e */
1007 { 0x044e, XF_CYR_yu, 2, 0x95 }, /* cyrillic yu */
1008 { 0x044f, XF_CYR_ya, 2, 0x84 }, /* cyrillic ya */
1009 { 0x0450, 0, 0, 0x08 }, /* cyrillic ie grave */
1010 { 0x0451, 0, 0, 0xa0 }, /* cyrillic io */
1012 { 0x0455, 0, 0, 0x77 }, /* cyrillic dze */
1013 { 0x0456, 0, 0, 0x6d }, /* cyrillic byeloruss-ukr. i */
1014 { 0x0457, 0, 0, 0xa3 }, /* cyrillic yi */
1015 { 0x0458, 0, 0, 0x6e }, /* cyrillic je */
1017 /* Runtime-definable characters */
1018 { 0xe000, 0x8000, 15, 0x24 }, /* variable character 0 */
1019 { 0xe001, 0x8001, 15, 0x24 }, /* variable character 1 */
1020 { 0xe002, 0x8002, 15, 0x24 }, /* variable character 2 */
1021 { 0xe003, 0x8003, 15, 0x24 }, /* variable character 3 */
1022 { 0xe004, 0x8004, 15, 0x24 }, /* variable character 4 */
1023 { 0xe005, 0x8005, 15, 0x24 }, /* variable character 5 */
1024 { 0xe006, 0x8006, 15, 0x24 }, /* variable character 6 */
1025 { 0xe007, 0x8007, 15, 0x24 }, /* variable character 7 */
1026 { 0xe008, 0x8008, 15, 0x24 }, /* variable character 8 */
1027 { 0xe009, 0x8009, 15, 0x24 }, /* variable character 9 */
1028 { 0xe00a, 0x800a, 15, 0x24 }, /* variable character 10 */
1029 { 0xe00b, 0x800b, 15, 0x24 }, /* variable character 11 */
1030 { 0xe00c, 0x800c, 15, 0x24 }, /* variable character 12 */
1031 { 0xe00d, 0x800d, 15, 0x24 }, /* variable character 13 */
1032 { 0xe00e, 0x800e, 15, 0x24 }, /* variable character 14 */
1033 { 0xe00f, 0x800f, 15, 0x24 }, /* variable character 15 */
1035 /* Icons and special symbols */
1036 { 0xe100, XF_ICON_UNKNOWN, 14, 0x43 }, /* unknown icon (mirrored ?) */
1037 { 0xe101, XF_ICON_BOOKMARK, 14, 0xd4 }, /* bookmark icon */
1038 { 0xe102, XF_ICON_PLUGIN, 14, 0x2d }, /* plugin icon */
1039 { 0xe103, XF_ICON_FOLDER, 14, 0x34 }, /* folder icon */
1040 { 0xe104, XF_ICON_FIRMWARE, 14, 0x7c }, /* firmware icon */
1041 { 0xe105, XF_ICON_LANGUAGE, 14, 0x2f }, /* language icon */
1042 { 0xe106, 0, 0, 0xfc }, /* audio icon (note) */
1043 { 0xe107, XF_ICON_WPS, 14, 0xd4 }, /* wps icon */
1044 { 0xe108, XF_ICON_PLAYLIST, 14, 0xfa }, /* playlist icon */
1045 { 0xe109, XF_ICON_TEXTFILE, 14, 0xfa }, /* text file icon */
1046 { 0xe10a, XF_ICON_CONFIG, 14, 0xfa }, /* config icon */
1047 { 0xe10b, 0, 0, 0x88 }, /* left arrow */
1048 { 0xe10c, 0, 0, 0x89 }, /* right arrow */
1049 { 0xe10d, 0, 0, 0x86 }, /* up arrow */
1050 { 0xe10e, 0, 0, 0x87 }, /* down arrow */
1051 { 0xe10f, 0, 0, 0x88 }, /* filled left arrow */
1052 { 0xe110, 0, 0, 0x89 }, /* filled right arrow */
1053 { 0xe111, 0, 0, 0x86 }, /* filled up arrow */
1054 { 0xe112, 0, 0, 0x87 }, /* filled down arrow */
1055 { 0xe113, 0, 0, 0x24 }, /* level 0/7 */
1056 { 0xe114, 0, 0, 0x15 }, /* level 1/7 */
1057 { 0xe115, 0, 0, 0xdf }, /* level 2/7 */
1058 { 0xe116, 0, 0, 0xe0 }, /* level 3/7 */
1059 { 0xe117, 0, 0, 0xe1 }, /* level 4/7 */
1060 { 0xe118, 0, 0, 0xe2 }, /* level 5/7 */
1061 { 0xe119, 0, 0, 0xe3 }, /* level 6/7 */
1062 { 0xe11a, 0, 0, 0xec }, /* level 7/7 */
1063 #endif /* !BOOTLOADER */
1065 /* no-char symbol */
1066 { 0xfffd, 0, 0, 0xd8 },
1069 const unsigned char xfont_fixed[][HW_PATTERN_SIZE] = {
1070 /* Standard ascii */
1071 [XF_BACKSLASH] = { 0x00, 0x10, 0x08, 0x04, 0x02, 0x01, 0x00}, /* \ */
1072 [XF_CIRCUMFLEX] = { 0x04, 0x0a, 0x11, 0x00, 0x00, 0x00, 0x00}, /* ^ */
1073 [XF_GRAVEACCENT] = { 0x08, 0x04, 0x02, 0x00, 0x00, 0x00, 0x00}, /* ` */
1074 [XF_VERTICALBAR] = { 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04}, /* | */
1075 [XF_TILDE] = { 0x00, 0x00, 0x08, 0x15, 0x02, 0x00, 0x00}, /* ~ */
1077 #ifndef BOOTLOADER /* bootloader only supports pure ASCII */
1078 /* Icons and special symbols */
1079 [XF_ICON_UNKNOWN] = { 0x0c, 0x12, 0x12, 0x08, 0x08, 0x00, 0x08},
1080 [XF_ICON_BOOKMARK] = { 0x00, 0x03, 0x07, 0x0e, 0x1c, 0x08, 0x00},
1081 [XF_ICON_PLUGIN] = { 0x04, 0x1e, 0x07, 0x1f, 0x05, 0x01, 0x06},
1082 [XF_ICON_FOLDER] = { 0x0c, 0x13, 0x11, 0x11, 0x11, 0x11, 0x1f},
1083 [XF_ICON_FIRMWARE] = { 0x1f, 0x11, 0x1b, 0x15, 0x1b, 0x11, 0x1f},
1084 [XF_ICON_LANGUAGE] = { 0x00, 0x1f, 0x15, 0x1f, 0x15, 0x1f, 0x00},
1085 [XF_ICON_AUDIO] = { 0x03, 0x05, 0x09, 0x09, 0x0b, 0x1b, 0x18},
1086 [XF_ICON_WPS] = { 0x01, 0x01, 0x02, 0x02, 0x14, 0x0c, 0x04},
1087 [XF_ICON_PLAYLIST] = { 0x17, 0x00, 0x17, 0x00, 0x17, 0x00, 0x17},
1088 [XF_ICON_TEXTFILE] = { 0x1f, 0x00, 0x1f, 0x00, 0x1f, 0x00, 0x1f},
1089 [XF_ICON_CONFIG] = { 0x0b, 0x10, 0x0b, 0x00, 0x1f, 0x00, 0x1f},
1090 /* Latin 1 */
1091 [XF_INVEXCLAMATION]= { 0x04, 0x00, 0x04, 0x04, 0x04, 0x04, 0x04}, /* ¡ */
1092 [XF_CENTSIGN] = { 0x04, 0x04, 0x0f, 0x10, 0x10, 0x0f, 0x04}, /* ¢ */
1093 [XF_POUNDSIGN] = { 0x06, 0x09, 0x08, 0x1e, 0x08, 0x08, 0x1f}, /* £ */
1094 [XF_CURRENCY] = { 0x00, 0x11, 0x0e, 0x0a, 0x0e, 0x11, 0x00}, /* ¤ */
1095 [XF_LEFTDBLANGLEQUOT] = { 0x00, 0x05, 0x0a, 0x14, 0x0a, 0x05, 0x00}, /* « */
1096 [XF_MACRON] = { 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, /* ¯ */
1097 [XF_PLUSMINUS] = { 0x04, 0x04, 0x1f, 0x04, 0x04, 0x00, 0x1f}, /* ± */
1098 [XF_SUPER2] = { 0x1c, 0x04, 0x1c, 0x10, 0x1c, 0x00, 0x00}, /* ³ */
1099 [XF_SUPER3] = { 0x1c, 0x04, 0x1c, 0x04, 0x1c, 0x00, 0x00}, /* ³ */
1100 [XF_MICRO] = { 0x00, 0x09, 0x09, 0x09, 0x0f, 0x08, 0x10}, /* µ */
1101 [XF_MIDDLEDOT] = { 0x00, 0x00, 0x00, 0x0c, 0x0c, 0x00, 0x00}, /* · */
1102 [XF_RIGHTDBLANGLEQUOT] = { 0x00, 0x14, 0x0a, 0x05, 0x0a, 0x14, 0x00}, /* » */
1103 [XF_ONEQUARTER] = { 0x11, 0x12, 0x14, 0x09, 0x13, 0x07, 0x01}, /* ¼ */
1104 [XF_ONEHALF] = { 0x11, 0x12, 0x17, 0x09, 0x17, 0x04, 0x07}, /* ½ */
1105 [XF_THREEQUARTERS] = { 0x18, 0x09, 0x1a, 0x0d, 0x1b, 0x17, 0x01}, /* ¾ */
1106 [XF_INVQUESTION] = { 0x04, 0x00, 0x04, 0x08, 0x10, 0x11, 0x0e}, /* ¿ */
1107 [XF_AGRAVE] = { 0x08, 0x04, 0x0e, 0x11, 0x1f, 0x11, 0x11}, /* À */
1108 [XF_AACUTE] = { 0x02, 0x04, 0x0e, 0x11, 0x1f, 0x11, 0x11}, /* Á */
1109 [XF_ACIRCUMFLEX] = { 0x04, 0x0a, 0x0e, 0x11, 0x1f, 0x11, 0x11}, /* Â */
1110 [XF_ATILDE] = { 0x0d, 0x12, 0x0e, 0x11, 0x1f, 0x11, 0x11}, /* Ã */
1111 [XF_ADIERESIS] = { 0x0a, 0x00, 0x04, 0x0a, 0x11, 0x1f, 0x11}, /* Ä */
1112 [XF_ARING] = { 0x04, 0x0a, 0x04, 0x0e, 0x11, 0x1f, 0x11}, /* Å */
1113 [XF_AELIGATURE] = { 0x0f, 0x14, 0x14, 0x1f, 0x14, 0x14, 0x17}, /* Æ */
1114 [XF_CCEDILLA] = { 0x0f, 0x10, 0x10, 0x10, 0x0f, 0x02, 0x0e}, /* Ç */
1115 [XF_EGRAVE] = { 0x08, 0x04, 0x1f, 0x10, 0x1e, 0x10, 0x1f}, /* È */
1116 [XF_EACUTE] = { 0x02, 0x04, 0x1f, 0x10, 0x1c, 0x10, 0x1f}, /* É */
1117 [XF_ECIRCUMFLEX] = { 0x04, 0x0a, 0x1f, 0x10, 0x1c, 0x10, 0x1f}, /* Ê */
1118 [XF_EDIERESIS] = { 0x0a, 0x00, 0x1f, 0x10, 0x1c, 0x10, 0x1f}, /* Ë */
1119 [XF_IGRAVE] = { 0x08, 0x04, 0x0e, 0x04, 0x04, 0x04, 0x0e}, /* Ì */
1120 [XF_IACUTE] = { 0x02, 0x04, 0x0e, 0x04, 0x04, 0x04, 0x0e}, /* Í */
1121 [XF_ICIRCUMFLEX] = { 0x04, 0x0a, 0x0e, 0x04, 0x04, 0x04, 0x0e}, /* Î */
1122 [XF_IDIERESIS] = { 0x0a, 0x00, 0x0e, 0x04, 0x04, 0x04, 0x0e}, /* Ï */
1123 [XF_ETH] = { 0x0c, 0x0a, 0x09, 0x1d, 0x09, 0x0a, 0x0c}, /* Ð */
1124 [XF_NTILDE] = { 0x0d, 0x12, 0x00, 0x19, 0x15, 0x13, 0x11}, /* Ñ */
1125 [XF_OGRAVE] = { 0x08, 0x04, 0x0e, 0x11, 0x11, 0x11, 0x0e}, /* Ò */
1126 [XF_OACUTE] = { 0x02, 0x04, 0x0e, 0x11, 0x11, 0x11, 0x0e}, /* Ó */
1127 [XF_OCIRCUMFLEX] = { 0x04, 0x0a, 0x0e, 0x11, 0x11, 0x11, 0x0e}, /* Ô */
1128 [XF_OTILDE] = { 0x0d, 0x12, 0x0e, 0x11, 0x11, 0x11, 0x0e}, /* Õ */
1129 [XF_ODIERESIS] = { 0x0a, 0x00, 0x0e, 0x11, 0x11, 0x11, 0x0e}, /* Ö */
1130 [XF_OSTROKE] = { 0x01, 0x0e, 0x13, 0x15, 0x19, 0x0e, 0x10}, /* Ø */
1131 [XF_UGRAVE] = { 0x08, 0x04, 0x11, 0x11, 0x11, 0x11, 0x0e}, /* Ù */
1132 [XF_UACUTE] = { 0x02, 0x04, 0x11, 0x11, 0x11, 0x11, 0x0e}, /* Ú */
1133 [XF_UCIRCUMFLEX] = { 0x04, 0x0a, 0x11, 0x11, 0x11, 0x11, 0x0e}, /* Û */
1134 [XF_UDIERESIS] = { 0x0a, 0x00, 0x11, 0x11, 0x11, 0x11, 0x0e}, /* Ü */
1135 [XF_YACUTE] = { 0x02, 0x04, 0x11, 0x11, 0x0a, 0x04, 0x04}, /* Ý */
1136 [XF_aGRAVE] = { 0x08, 0x04, 0x0e, 0x01, 0x0f, 0x11, 0x0f}, /* à */
1137 [XF_aACUTE] = { 0x02, 0x04, 0x0e, 0x01, 0x0f, 0x11, 0x0f}, /* á */
1138 [XF_aCIRCUMFLEX] = { 0x04, 0x0a, 0x0e, 0x01, 0x0f, 0x11, 0x0f}, /* â */
1139 [XF_aTILDE] = { 0x0d, 0x12, 0x0e, 0x01, 0x0f, 0x11, 0x0f}, /* ã */
1140 [XF_aDIERESIS] = { 0x0a, 0x00, 0x0e, 0x01, 0x0f, 0x11, 0x0f}, /* ä */
1141 [XF_aRING] = { 0x04, 0x0a, 0x0e, 0x01, 0x0f, 0x11, 0x0f}, /* å */
1142 [XF_aeLIGATURE] = { 0x00, 0x00, 0x1a, 0x05, 0x0f, 0x14, 0x0f}, /* æ */
1143 [XF_cCEDILLA] = { 0x00, 0x0f, 0x10, 0x10, 0x0f, 0x02, 0x04}, /* ç */
1144 [XF_eGRAVE] = { 0x08, 0x04, 0x0e, 0x11, 0x1f, 0x10, 0x0e}, /* è */
1145 [XF_eACUTE] = { 0x02, 0x04, 0x0e, 0x11, 0x1f, 0x10, 0x0e}, /* é */
1146 [XF_eCIRCUMFLEX] = { 0x04, 0x0a, 0x0e, 0x11, 0x1f, 0x10, 0x0e}, /* ê */
1147 [XF_eDIERESIS] = { 0x0a, 0x00, 0x0e, 0x11, 0x1f, 0x10, 0x0e}, /* ë */
1148 [XF_iGRAVE] = { 0x08, 0x04, 0x00, 0x0c, 0x04, 0x04, 0x0e}, /* ì */
1149 [XF_iACUTE] = { 0x02, 0x04, 0x00, 0x0c, 0x04, 0x04, 0x0e}, /* í */
1150 [XF_iCIRCUMFLEX] = { 0x04, 0x0a, 0x00, 0x0c, 0x04, 0x04, 0x0e}, /* î */
1151 [XF_iDIERESIS] = { 0x0a, 0x00, 0x00, 0x0c, 0x04, 0x04, 0x0e}, /* ï */
1152 [XF_nTILDE] = { 0x0d, 0x12, 0x00, 0x16, 0x19, 0x11, 0x11}, /* ñ */
1153 [XF_oGRAVE] = { 0x08, 0x04, 0x00, 0x0e, 0x11, 0x11, 0x0e}, /* ò */
1154 [XF_oACUTE] = { 0x02, 0x04, 0x00, 0x0e, 0x11, 0x11, 0x0e}, /* ó */
1155 [XF_oCIRCUMFLEX] = { 0x04, 0x0a, 0x00, 0x0e, 0x11, 0x11, 0x0e}, /* ô */
1156 [XF_oTILDE] = { 0x0d, 0x12, 0x00, 0x0e, 0x11, 0x11, 0x0e}, /* õ */
1157 [XF_oDIERESIS] = { 0x00, 0x0a, 0x00, 0x0e, 0x11, 0x11, 0x0e}, /* ö */
1158 [XF_DIVISION] = { 0x00, 0x04, 0x00, 0x1f, 0x00, 0x04, 0x00}, /* ÷ */
1159 [XF_oSLASH] = { 0x00, 0x02, 0x0e, 0x15, 0x15, 0x0e, 0x08}, /* ø */
1160 [XF_uGRAVE] = { 0x08, 0x04, 0x00, 0x11, 0x11, 0x13, 0x0d}, /* ù */
1161 [XF_uACUTE] = { 0x02, 0x04, 0x00, 0x11, 0x11, 0x13, 0x0d}, /* ú */
1162 [XF_uCIRCUMFLEX] = { 0x04, 0x0a, 0x00, 0x11, 0x11, 0x13, 0x0d}, /* û */
1163 [XF_uDIERESIS] = { 0x00, 0x0a, 0x00, 0x11, 0x11, 0x13, 0x0d}, /* ü */
1164 [XF_yACUTE] = { 0x02, 0x04, 0x11, 0x11, 0x0f, 0x01, 0x0e}, /* ý */
1165 [XF_yDIERESIS] = { 0x0a, 0x00, 0x11, 0x11, 0x0f, 0x01, 0x0e}, /* ÿ */
1166 /* Latin extended A */
1167 [XF_aBREVE] = { 0x09, 0x06, 0x0e, 0x01, 0x0f, 0x11, 0x0f},
1168 [XF_aOGONEK] = { 0x0e, 0x01, 0x0f, 0x11, 0x0f, 0x02, 0x03},
1169 [XF_cACUTE] = { 0x02, 0x04, 0x0f, 0x10, 0x10, 0x10, 0x0f},
1170 [XF_cCARON] = { 0x0a, 0x04, 0x0f, 0x10, 0x10, 0x10, 0x0f},
1171 [XF_dCARON] = { 0x05, 0x05, 0x0c, 0x14, 0x14, 0x14, 0x0c},
1172 [XF_dSTROKE] = { 0x02, 0x0f, 0x02, 0x0e, 0x12, 0x12, 0x0e},
1173 [XF_eOGONEK] = { 0x0e, 0x11, 0x1f, 0x10, 0x0e, 0x04, 0x06},
1174 [XF_eCARON] = { 0x0a, 0x04, 0x0e, 0x11, 0x1f, 0x10, 0x0e},
1175 [XF_GBREVE] = { 0x1f, 0x00, 0x0e, 0x10, 0x17, 0x11, 0x0e},
1176 [XF_gBREVE] = { 0x1f, 0x00, 0x0f, 0x11, 0x0f, 0x01, 0x0e},
1177 [XF_IDOT] = { 0x04, 0x00, 0x0e, 0x04, 0x04, 0x04, 0x0e},
1178 [XF_DOTLESSi] = { 0x00, 0x00, 0x0c, 0x04, 0x04, 0x04, 0x0e},
1179 [XF_LSTROKE] = { 0x10, 0x10, 0x14, 0x18, 0x10, 0x10, 0x1f},
1180 [XF_lSTROKE] = { 0x0c, 0x04, 0x06, 0x0c, 0x04, 0x04, 0x0e},
1181 [XF_nACUTE] = { 0x02, 0x04, 0x16, 0x19, 0x11, 0x11, 0x11},
1182 [XF_nCARON] = { 0x0a, 0x04, 0x16, 0x19, 0x11, 0x11, 0x11},
1183 [XF_ODBLACUTE] = { 0x09, 0x12, 0x0e, 0x11, 0x11, 0x11, 0x0e},
1184 [XF_oDBLACUTE] = { 0x09, 0x12, 0x00, 0x0e, 0x11, 0x11, 0x0e},
1185 [XF_RCARON] = { 0x0a, 0x04, 0x1e, 0x11, 0x1e, 0x12, 0x11},
1186 [XF_rCARON] = { 0x0a, 0x04, 0x0b, 0x0c, 0x08, 0x08, 0x08},
1187 [XF_sACUTE] = { 0x02, 0x04, 0x0e, 0x10, 0x0e, 0x01, 0x1e},
1188 [XF_SCEDILLA] = { 0x0e, 0x10, 0x0e, 0x01, 0x0e, 0x04, 0x0c},
1189 [XF_sCEDILLA] = { 0x00, 0x0e, 0x10, 0x0e, 0x01, 0x0e, 0x04},
1190 [XF_sCARON] = { 0x0a, 0x04, 0x0e, 0x10, 0x0e, 0x01, 0x1e},
1191 [XF_tCEDILLA] = { 0x04, 0x0f, 0x04, 0x04, 0x04, 0x03, 0x06},
1192 [XF_tCARON] = { 0x09, 0x09, 0x08, 0x1e, 0x08, 0x08, 0x06},
1193 [XF_uRING] = { 0x04, 0x0a, 0x04, 0x11, 0x11, 0x13, 0x0d},
1194 [XF_UDBLACUTE] = { 0x05, 0x0a, 0x11, 0x11, 0x11, 0x11, 0x0e},
1195 [XF_uDBLACUTE] = { 0x09, 0x12, 0x00, 0x11, 0x11, 0x13, 0x0d},
1196 [XF_zACUTE] = { 0x02, 0x04, 0x1f, 0x02, 0x04, 0x08, 0x1f},
1197 [XF_zDOT] = { 0x04, 0x00, 0x1f, 0x02, 0x04, 0x08, 0x1f},
1198 [XF_zCARON] = { 0x0a, 0x04, 0x1f, 0x02, 0x04, 0x08, 0x1f},
1199 /* Greek */
1200 [XF_GR_DELTA] = { 0x04, 0x04, 0x0a, 0x0a, 0x11, 0x11, 0x1f},
1201 [XF_GR_THETA] = { 0x0e, 0x11, 0x11, 0x1f, 0x11, 0x11, 0x0e},
1202 [XF_GR_LAMBDA] = { 0x04, 0x04, 0x0a, 0x0a, 0x11, 0x11, 0x11},
1203 [XF_GR_XI] = { 0x1f, 0x11, 0x00, 0x0e, 0x00, 0x11, 0x1f},
1204 [XF_GR_PSI] = { 0x15, 0x15, 0x15, 0x15, 0x0e, 0x04, 0x04},
1205 [XF_GR_alpha] = { 0x00, 0x00, 0x09, 0x15, 0x12, 0x12, 0x0d},
1206 [XF_GR_alphaTONOS] = { 0x02, 0x04, 0x09, 0x15, 0x12, 0x12, 0x0d},
1207 [XF_GR_gamma] = { 0x00, 0x11, 0x0a, 0x0a, 0x04, 0x04, 0x08},
1208 [XF_GR_epsilon] = { 0x00, 0x00, 0x0f, 0x10, 0x0e, 0x10, 0x0f},
1209 [XF_GR_epsilonTONOS] = { 0x02, 0x04, 0x0f, 0x10, 0x0e, 0x10, 0x0f},
1210 [XF_GR_zeta] = { 0x1e, 0x08, 0x10, 0x10, 0x0e, 0x01, 0x06},
1211 [XF_GR_eta] = { 0x00, 0x16, 0x19, 0x11, 0x11, 0x11, 0x01},
1212 [XF_GR_etaTONOS] = { 0x02, 0x04, 0x16, 0x19, 0x11, 0x11, 0x01},
1213 [XF_GR_iota] = { 0x00, 0x00, 0x04, 0x04, 0x04, 0x04, 0x02},
1214 [XF_GR_lambda] = { 0x88, 0x04, 0x04, 0x0a, 0x0a, 0x11, 0x11},
1215 [XF_GR_xi] = { 0x0c, 0x10, 0x0c, 0x10, 0x0e, 0x01, 0x06},
1216 [XF_GR_rho] = { 0x00, 0x0e, 0x11, 0x11, 0x19, 0x16, 0x10},
1217 [XF_GR_FINALsigma] = { 0x00, 0x0e, 0x10, 0x10, 0x0e, 0x01, 0x06},
1218 [XF_GR_sigma] = { 0x00, 0x00, 0x0f, 0x14, 0x12, 0x11, 0x0e},
1219 [XF_GR_upsilon] = { 0x00, 0x00, 0x11, 0x09, 0x09, 0x09, 0x06},
1220 [XF_GR_upsilonTONOS] = { 0x02, 0x04, 0x11, 0x09, 0x09, 0x09, 0x06},
1221 [XF_GR_chi] = { 0x00, 0x12, 0x0a, 0x04, 0x04, 0x0a, 0x09},
1222 [XF_GR_psi] = { 0x00, 0x15, 0x15, 0x15, 0x0e, 0x04, 0x04},
1223 [XF_GR_omega] = { 0x00, 0x00, 0x0a, 0x11, 0x15, 0x15, 0x0a},
1224 [XF_GR_omegaTONOS] = { 0x02, 0x04, 0x0a, 0x11, 0x15, 0x15, 0x0a},
1225 /* Cyrillic */
1226 [XF_CYR_BE] = { 0x1f, 0x10, 0x10, 0x1e, 0x11, 0x11, 0x1e},
1227 [XF_CYR_GHE] = { 0x1f, 0x11, 0x10, 0x10, 0x10, 0x10, 0x10},
1228 [XF_CYR_DE] = { 0x07, 0x09, 0x09, 0x09, 0x09, 0x1f, 0x11},
1229 [XF_CYR_ZHE] = { 0x15, 0x15, 0x0e, 0x04, 0x0e, 0x15, 0x15},
1230 [XF_CYR_ZE] = { 0x0e, 0x11, 0x01, 0x0e, 0x01, 0x11, 0x0e},
1231 [XF_CYR_I] = { 0x11, 0x11, 0x13, 0x15, 0x19, 0x11, 0x11},
1232 [XF_CYR_SHORTI] = { 0x0a, 0x04, 0x11, 0x13, 0x15, 0x19, 0x11},
1233 [XF_CYR_EL] = { 0x0f, 0x09, 0x09, 0x09, 0x09, 0x09, 0x11},
1234 [XF_CYR_PE] = { 0x1f, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11},
1235 [XF_CYR_TSE] = { 0x11, 0x11, 0x11, 0x11, 0x11, 0x1f, 0x01},
1236 [XF_CYR_CHE] = { 0x11, 0x11, 0x11, 0x0f, 0x01, 0x01, 0x01},
1237 [XF_CYR_SHA] = { 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x1f},
1238 [XF_CYR_SHCHA] = { 0x15, 0x15, 0x15, 0x15, 0x15, 0x1f, 0x01},
1239 [XF_CYR_HARD] = { 0x18, 0x08, 0x0e, 0x09, 0x09, 0x09, 0x0e},
1240 [XF_CYR_YERU] = { 0x11, 0x11, 0x19, 0x15, 0x15, 0x15, 0x19},
1241 [XF_CYR_E] = { 0x0e, 0x11, 0x01, 0x07, 0x01, 0x11, 0x0e},
1242 [XF_CYR_YU] = { 0x12, 0x15, 0x15, 0x1d, 0x15, 0x15, 0x12},
1243 [XF_CYR_YA] = { 0x0f, 0x11, 0x11, 0x0f, 0x05, 0x09, 0x11},
1244 [XF_CYR_be] = { 0x0f, 0x10, 0x0e, 0x11, 0x11, 0x11, 0x0e},
1245 [XF_CYR_ve] = { 0x00, 0x00, 0x1e, 0x11, 0x1e, 0x11, 0x1e},
1246 [XF_CYR_ghe] = { 0x00, 0x00, 0x1f, 0x10, 0x10, 0x10, 0x10},
1247 [XF_CYR_de] = { 0x00, 0x00, 0x06, 0x0a, 0x0a, 0x1f, 0x11},
1248 [XF_CYR_zhe] = { 0x00, 0x00, 0x15, 0x0e, 0x04, 0x0e, 0x15},
1249 [XF_CYR_ze] = { 0x00, 0x00, 0x1e, 0x01, 0x0e, 0x01, 0x1e},
1250 [XF_CYR_i] = { 0x00, 0x00, 0x11, 0x13, 0x15, 0x19, 0x11},
1251 [XF_CYR_SHORTi] = { 0x0a, 0x04, 0x00, 0x11, 0x13, 0x15, 0x19},
1252 [XF_CYR_ka] = { 0x00, 0x00, 0x11, 0x12, 0x1c, 0x12, 0x11},
1253 [XF_CYR_el] = { 0x00, 0x00, 0x0f, 0x09, 0x09, 0x09, 0x11},
1254 [XF_CYR_em] = { 0x00, 0x00, 0x11, 0x1b, 0x15, 0x11, 0x11},
1255 [XF_CYR_en] = { 0x00, 0x00, 0x11, 0x11, 0x1f, 0x11, 0x11},
1256 [XF_CYR_pe] = { 0x00, 0x00, 0x1f, 0x11, 0x11, 0x11, 0x11},
1257 [XF_CYR_te] = { 0x00, 0x00, 0x1f, 0x04, 0x04, 0x04, 0x02},
1258 [XF_CYR_tse] = { 0x00, 0x00, 0x11, 0x11, 0x11, 0x1f, 0x01},
1259 [XF_CYR_che] = { 0x00, 0x00, 0x11, 0x11, 0x0f, 0x01, 0x01},
1260 [XF_CYR_sha] = { 0x00, 0x00, 0x15, 0x15, 0x15, 0x15, 0x1f},
1261 [XF_CYR_shcha] = { 0x00, 0x00, 0x15, 0x15, 0x15, 0x1f, 0x01},
1262 [XF_CYR_hard] = { 0x00, 0x00, 0x18, 0x0e, 0x09, 0x09, 0x0e},
1263 [XF_CYR_yeru] = { 0x00, 0x00, 0x11, 0x19, 0x15, 0x15, 0x19},
1264 [XF_CYR_soft] = { 0x00, 0x00, 0x08, 0x0e, 0x09, 0x09, 0x0e},
1265 [XF_CYR_e] = { 0x00, 0x00, 0x0e, 0x11, 0x03, 0x11, 0x0e},
1266 [XF_CYR_yu] = { 0x00, 0x00, 0x12, 0x15, 0x1d, 0x15, 0x12},
1267 [XF_CYR_ya] = { 0x00, 0x00, 0x0f, 0x11, 0x0f, 0x09, 0x11},
1268 #endif /* !BOOTLOADER */
1271 void lcd_charset_init(void)
1273 if (is_new_player())
1275 lcd_pattern_count = 8;
1276 xchar_info = xchar_info_newlcd;
1277 xchar_info_size = sizeof(xchar_info_newlcd)/sizeof(struct xchar_info);
1279 else /* old lcd */
1281 lcd_pattern_count = 4;
1282 xchar_info = xchar_info_oldlcd;
1283 xchar_info_size = sizeof(xchar_info_oldlcd)/sizeof(struct xchar_info);