Updated map for ISO 8859-1 to HD44780 charset translation.
This commit is contained in:
@@ -1,46 +1,59 @@
|
|||||||
/*
|
/*
|
||||||
* Character mapping for HD44780 displays.
|
* Character mapping for HD44780 devices by Mark Haemmerling <mail@markh.de>.
|
||||||
* Included by Mark Haemmerling <mail@markh.de>.
|
|
||||||
*
|
*
|
||||||
* Table taken from lcd.o Linux kernel driver by
|
* Translates ISO 8859-1 to HD44780 charset.
|
||||||
|
* HD44780 charset reference: http://markh.de/hd44780-charset.png
|
||||||
|
*
|
||||||
|
* Initial table taken from lcd.o Linux kernel driver by
|
||||||
* Nils Faerber <nilsf@users.sourceforge.net>. Thanks!
|
* Nils Faerber <nilsf@users.sourceforge.net>. Thanks!
|
||||||
*
|
*
|
||||||
* Maps German "umlauts", Tab->Space. More to come...
|
* Alternative mappings used:
|
||||||
|
* #112 ("p") -> #240 (large "p"), orig. mapped -> #112
|
||||||
|
* #113 ("q") -> #241 (large "q"), orig. mapped -> #113
|
||||||
|
*
|
||||||
|
* This file is released under the GNU General Public License. Refer to the
|
||||||
|
* COPYING file distributed with this package.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const char HD44780_charmap[]={
|
const char HD44780_charmap[]={
|
||||||
0,1,2,3,
|
/* #0 */
|
||||||
4,5,6,7,
|
0, 1, 2, 3,
|
||||||
8,32,10,11,
|
4, 5, 6, 7,
|
||||||
12,13,14,15,
|
8, 9, 10, 11,
|
||||||
16,17,18,19,
|
12, 13, 14, 15,
|
||||||
20,21,22,23,
|
16, 17, 18, 19,
|
||||||
24,25,26,27,
|
20, 21, 22, 23,
|
||||||
28,29,30,31,
|
24, 25, 26, 27,
|
||||||
32,33,34,35,
|
28, 29, 30, 31,
|
||||||
36,37,38,39,
|
/* #32 */
|
||||||
40,41,42,43,
|
32, 33, 34, 35,
|
||||||
44,45,46,47,
|
36, 37, 38, 39,
|
||||||
48,49,50,51,
|
40, 41, 42, 43,
|
||||||
52,53,54,55,
|
44, 45, 46, 47,
|
||||||
56,57,58,59,
|
48, 49, 50, 51,
|
||||||
60,61,62,63,
|
52, 53, 54, 55,
|
||||||
64,65,66,67,
|
56, 57, 58, 59,
|
||||||
68,69,70,71,
|
60, 61, 62, 63,
|
||||||
72,73,74,75,
|
/* #64 */
|
||||||
76,77,78,79,
|
64, 65, 66, 67,
|
||||||
80,81,82,83,
|
68, 69, 70, 71,
|
||||||
84,85,86,87,
|
72, 73, 74, 75,
|
||||||
88,89,90,91,
|
76, 77, 78, 79,
|
||||||
92,93,94,95,
|
80, 81, 82, 83,
|
||||||
96,97,98,99,
|
84, 85, 86, 87,
|
||||||
|
88, 89, 90, 91,
|
||||||
|
/* #92 */
|
||||||
|
92, 93, 94, 95,
|
||||||
|
96, 97, 98, 99,
|
||||||
100,101,102,103,
|
100,101,102,103,
|
||||||
104,105,106,107,
|
104,105,106,107,
|
||||||
108,109,110,111,
|
108,109,110,111,
|
||||||
112,113,114,115,
|
240,241,114,115,
|
||||||
116,117,118,119,
|
116,117,118,119,
|
||||||
120,121,122,123,
|
120,121,122,123,
|
||||||
124,125,126,127,
|
124,125,126,127,
|
||||||
|
/* #128 */
|
||||||
128,129,130,131,
|
128,129,130,131,
|
||||||
132,133,134,135,
|
132,133,134,135,
|
||||||
136,137,138,139,
|
136,137,138,139,
|
||||||
@@ -49,27 +62,30 @@ const char HD44780_charmap[]={
|
|||||||
148,149,150,151,
|
148,149,150,151,
|
||||||
152,153,154,155,
|
152,153,154,155,
|
||||||
156,157,158,159,
|
156,157,158,159,
|
||||||
160,161,162,163,
|
/* #160 */
|
||||||
164,165,166,167,
|
160, 33,236,163,
|
||||||
168,169,170,171,
|
164, 92,124,167,
|
||||||
|
34,169,170,171,
|
||||||
172,173,174,175,
|
172,173,174,175,
|
||||||
176,177,178,179,
|
223,177,178,179,
|
||||||
180,181,182,183,
|
39,249,247,165,
|
||||||
184,185,186,187,
|
44,185,186,187,
|
||||||
188,189,190,191,
|
188,189,190, 63,
|
||||||
192,193,194,195,
|
/* #192 */
|
||||||
225,197,198,199,
|
65, 65, 65, 65,
|
||||||
200,201,202,203,
|
225, 65, 65, 67,
|
||||||
204,205,206,207,
|
69, 69, 69, 69,
|
||||||
208,209,210,211,
|
73, 73, 73, 73,
|
||||||
212,213,239,215,
|
68, 78, 79, 79,
|
||||||
216,217,218,219,
|
79, 79,239,120,
|
||||||
245,221,222,226,
|
48, 85, 85, 85,
|
||||||
224,225,226,227,
|
245, 89,240,226,
|
||||||
225,229,230,231,
|
/* #224 */
|
||||||
232,233,234,235,
|
97, 97, 97, 97,
|
||||||
236,237,238,239,
|
225, 97, 97, 99,
|
||||||
240,241,242,243,
|
101,101,101,101,
|
||||||
244,245,239,247,
|
105,105,105,105,
|
||||||
248,249,250,251,
|
111,110,111,111,
|
||||||
245,253,254,255};
|
111,111,239,253,
|
||||||
|
48,117,117,117,
|
||||||
|
245,121,240,255};
|
||||||
|
|||||||
Reference in New Issue
Block a user