forked from ghewgill/emulino
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lcd.inc
258 lines (258 loc) · 7.52 KB
/
lcd.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
u8 Chars[256][5] = {
{0x00,0x00,0x00,0x00,0x00},
{0x00,0x00,0x00,0x00,0x00},
{0x00,0x00,0x00,0x00,0x00},
{0x00,0x00,0x00,0x00,0x00},
{0x00,0x00,0x00,0x00,0x00},
{0x00,0x00,0x0c,0x00,0x00},
{0x00,0x00,0x00,0x00,0x00},
{0x00,0x00,0x0c,0x00,0x00},
{0x00,0x00,0x08,0x00,0x00},
{0x00,0x00,0x00,0x00,0x00},
{0x00,0x00,0x04,0x00,0x00},
{0x00,0x00,0x00,0x00,0x00},
{0x00,0x00,0x0c,0x00,0x00},
{0x00,0x00,0x00,0x00,0x00},
{0x00,0x00,0x00,0x00,0x00},
{0x00,0x00,0x00,0x00,0x00},
{0x00,0x7f,0x3e,0x1c,0x08},
{0x08,0x1c,0x3e,0x7f,0x00},
{0x30,0x50,0x00,0x30,0x50},
{0x50,0x60,0x00,0x50,0x60},
{0x11,0x33,0x77,0x33,0x11},
{0x44,0x66,0x77,0x66,0x44},
{0x1c,0x3e,0x3e,0x3e,0x1c},
{0x04,0x0e,0x15,0x04,0x7c},
{0x10,0x20,0x7f,0x20,0x10},
{0x04,0x02,0x7f,0x02,0x04},
{0x08,0x08,0x2a,0x1c,0x08},
{0x08,0x1c,0x2a,0x08,0x08},
{0x01,0x11,0x29,0x45,0x01},
{0x01,0x45,0x29,0x11,0x01},
{0x02,0x0e,0x3e,0x0e,0x02},
{0x20,0x38,0x3e,0x38,0x20},
{0x00,0x00,0x00,0x00,0x00},
{0x00,0x00,0x79,0x00,0x00},
{0x00,0x70,0x00,0x70,0x00},
{0x14,0x7f,0x14,0x7f,0x14},
{0x12,0x2a,0x7f,0x2a,0x24},
{0x62,0x64,0x08,0x13,0x23},
{0x36,0x49,0x55,0x22,0x05},
{0x00,0x10,0x20,0x00,0x00},
{0x00,0x1c,0x22,0x41,0x00},
{0x00,0x01,0x22,0x1c,0x00},
{0x14,0x08,0x3e,0x08,0x14},
{0x08,0x08,0x3e,0x08,0x08},
{0x00,0x05,0x06,0x00,0x00},
{0x08,0x08,0x08,0x08,0x08},
{0x00,0x03,0x03,0x00,0x00},
{0x02,0x04,0x08,0x10,0x00},
{0x3e,0x45,0x49,0x51,0x3e},
{0x00,0x21,0x7f,0x01,0x00},
{0x21,0x43,0x45,0x49,0x31},
{0x42,0x41,0x51,0x69,0x46},
{0x0c,0x14,0x24,0x7f,0x04},
{0x72,0x51,0x51,0x51,0x4e},
{0x1e,0x29,0x49,0x49,0x06},
{0x20,0x00,0x07,0x08,0x30},
{0x36,0x49,0x49,0x49,0x36},
{0x30,0x09,0x09,0x0a,0x3c},
{0x00,0x36,0x36,0x00,0x00},
{0x00,0x35,0x36,0x00,0x00},
{0x08,0x14,0x22,0x41,0x00},
{0x14,0x14,0x14,0x14,0x14},
{0x00,0x41,0x22,0x14,0x08},
{0x00,0x00,0x05,0x08,0x10},
{0x26,0x49,0x4f,0x41,0x3e},
{0x1f,0x24,0x44,0x24,0x00},
{0x7f,0x49,0x49,0x49,0x36},
{0x3e,0x41,0x41,0x41,0x00},
{0x7f,0x41,0x41,0x22,0x00},
{0x7f,0x49,0x49,0x49,0x00},
{0x7f,0x48,0x48,0x48,0x00},
{0x3e,0x01,0x09,0x09,0x00},
{0x7f,0x08,0x08,0x08,0x00},
{0x00,0x01,0x3f,0x01,0x00},
{0x02,0x01,0x41,0x7e,0x00},
{0x3f,0x08,0x14,0x22,0x00},
{0x7f,0x01,0x01,0x01,0x00},
{0x3f,0x20,0x18,0x20,0x00},
{0x7f,0x10,0x08,0x04,0x00},
{0x1e,0x01,0x01,0x01,0x00},
{0x7f,0x48,0x48,0x48,0x30},
{0x3e,0x41,0x45,0x42,0x3d},
{0x7f,0x48,0x4c,0x4a,0x31},
{0x32,0x49,0x49,0x49,0x26},
{0x40,0x40,0x7f,0x40,0x40},
{0x7e,0x01,0x01,0x01,0x7e},
{0x7c,0x02,0x01,0x02,0x7c},
{0x3e,0x01,0x0e,0x01,0x3e},
{0x63,0x14,0x08,0x14,0x63},
{0x30,0x08,0x07,0x08,0x30},
{0x43,0x45,0x49,0x51,0x61},
{0x00,0x3f,0x01,0x01,0x00},
{0x20,0x10,0x08,0x04,0x02},
{0x00,0x01,0x01,0x3f,0x00},
{0x10,0x20,0x40,0x20,0x10},
{0x01,0x01,0x01,0x01,0x01},
{0x00,0x40,0x20,0x10,0x00},
{0x02,0x15,0x15,0x15,0x0f},
{0x7f,0x09,0x11,0x11,0x0e},
{0x0e,0x11,0x11,0x11,0x02},
{0x0e,0x11,0x11,0x09,0x7f},
{0x0e,0x15,0x15,0x15,0x0c},
{0x08,0x3f,0x48,0x40,0x20},
{0x08,0x15,0x15,0x15,0x1e},
{0x7f,0x08,0x10,0x10,0x0f},
{0x00,0x09,0x1f,0x01,0x00},
{0x02,0x01,0x11,0x5e,0x00},
{0x3f,0x04,0x0a,0x11,0x00},
{0x00,0x41,0x7f,0x01,0x00},
{0x1f,0x10,0x0f,0x10,0x0f},
{0x1f,0x08,0x10,0x10,0x0f},
{0x0e,0x11,0x11,0x11,0x0e},
{0x1f,0x14,0x14,0x14,0x08},
{0x08,0x14,0x14,0x0c,0x1f},
{0x1f,0x08,0x10,0x10,0x08},
{0x09,0x15,0x15,0x15,0x02},
{0x10,0x7e,0x11,0x01,0x02},
{0x1e,0x01,0x01,0x02,0x1f},
{0x1c,0x02,0x01,0x02,0x1c},
{0x1e,0x01,0x06,0x01,0x1e},
{0x11,0x0a,0x04,0x0a,0x11},
{0x18,0x05,0x05,0x05,0x1e},
{0x11,0x13,0x15,0x19,0x11},
{0x00,0x08,0x36,0x01,0x00},
{0x00,0x00,0x7f,0x00,0x00},
{0x00,0x01,0x36,0x08,0x00},
{0x04,0x08,0x08,0x04,0x08},
{0x1e,0x22,0x02,0x22,0x1e},
{0x7f,0x49,0x49,0x49,0x00},
{0x0f,0x94,0xe4,0x84,0x00},
{0x77,0x08,0x7f,0x08,0x00},
{0x41,0x41,0x49,0x49,0x00},
{0x7f,0x04,0x08,0x10,0x00},
{0x3f,0x82,0x44,0x88,0x00},
{0x02,0x41,0x7e,0x40,0x00},
{0x7f,0x40,0x40,0x40,0x00},
{0x71,0x0a,0x04,0x08,0x00},
{0x7e,0x02,0x02,0x02,0x00},
{0x70,0x08,0x08,0x08,0x00},
{0x3f,0x01,0x3f,0x01,0x00},
{0x7e,0x02,0x7e,0x02,0x00},
{0x40,0x7f,0x09,0x09,0x00},
{0x7f,0x09,0x06,0x00,0x00},
{0x22,0x09,0x11,0x09,0x00},
{0x0e,0x11,0x09,0x06,0x19},
{0x03,0x03,0x7f,0x20,0x18},
{0x7f,0x40,0x40,0x40,0x60},
{0x11,0x1e,0x10,0x1f,0x11},
{0x63,0x55,0x49,0x41,0x41},
{0x0e,0x11,0x11,0x1e,0x10},
{0x06,0x06,0xfc,0xa3,0x7f},
{0x08,0x10,0x1e,0x11,0x20},
{0x04,0x3c,0x7e,0x3c,0x04},
{0x3e,0x49,0x49,0x49,0x3e},
{0x1d,0x23,0x20,0x23,0x1d},
{0x06,0x29,0x51,0x49,0x26},
{0x0c,0x14,0x08,0x14,0x18},
{0x1c,0x3e,0x1f,0x3e,0x1c},
{0x0a,0x15,0x15,0x11,0x02},
{0x3f,0x00,0x00,0x00,0x3f},
{0x7f,0x7f,0x00,0x7f,0x7f},
{0x00,0x00,0x4f,0x00,0x00},
{0x1c,0x22,0x7f,0x22,0x04},
{0x09,0x3e,0x49,0x41,0x02},
{0x22,0x1c,0x14,0x1c,0x22},
{0x54,0x34,0x1f,0x34,0x54},
{0x00,0x00,0x77,0x00,0x00},
{0x02,0x29,0x55,0x4a,0x20},
{0x0a,0x09,0x3e,0x48,0x28},
{0x7f,0x41,0x5d,0x49,0x7f},
{0x09,0x55,0x55,0x55,0x3d},
{0x08,0x14,0x2a,0x14,0x22},
{0x7f,0x08,0x3e,0x41,0x3e},
{0x31,0x4a,0x4c,0x48,0x7f},
{0x7f,0x41,0x53,0x45,0x7f},
{0x00,0x30,0x10,0x00,0x00},
{0x70,0x88,0x88,0x70,0x00},
{0x11,0x11,0x7d,0x11,0x11},
{0x48,0x98,0xa8,0x48,0x00},
{0x88,0xa8,0xa8,0x50,0x00},
{0xfe,0xa0,0xa4,0x4f,0x05},
{0x7f,0x04,0x04,0x08,0x7c},
{0x30,0x48,0x48,0x7f,0x7f},
{0x00,0x0c,0x0c,0x00,0x00},
{0x0e,0x11,0x06,0x11,0x0e},
{0x48,0x78,0x08,0x00,0x00},
{0x39,0x45,0x45,0x45,0x39},
{0x22,0x14,0x2a,0x14,0x08},
{0xe8,0x16,0x2a,0x5f,0x82},
{0x68,0x10,0x29,0x53,0x0d},
{0xa8,0xf8,0x06,0x0a,0x1f},
{0x06,0x09,0x11,0x01,0x02},
{0x0f,0x94,0x00,0x00,0x00},
{0x0f,0x14,0x00,0x00,0x00},
{0x0f,0x54,0x00,0x00,0x00},
{0x4f,0x94,0x00,0x00,0x00},
{0x0f,0x94,0x00,0x00,0x00},
{0x0f,0x54,0x00,0x00,0x00},
{0x1f,0x24,0x00,0x00,0x00},
{0x78,0x04,0x00,0x00,0x00},
{0x1f,0x95,0x00,0x00,0x00},
{0x1f,0x15,0x00,0x00,0x00},
{0x1f,0x55,0x00,0x00,0x00},
{0x1f,0x55,0x00,0x00,0x00},
{0x00,0x91,0x00,0x00,0x00},
{0x00,0x11,0x00,0x00,0x00},
{0x00,0x51,0x00,0x00,0x00},
{0x00,0x11,0x00,0x00,0x00},
{0x08,0x7f,0x49,0x41,0x00},
{0x5f,0x88,0x84,0x42,0x00},
{0x1e,0xa1,0x61,0x21,0x00},
{0x1e,0x21,0x61,0xa1,0x00},
{0x0e,0x51,0x91,0x51,0x00},
{0x4e,0x91,0x91,0x51,0x00},
{0x1e,0xa1,0x21,0xa1,0x00},
{0x22,0x14,0x08,0x14,0x00},
{0x08,0x55,0x7f,0x55,0x00},
{0x3e,0x01,0x41,0x01,0x00},
{0x3e,0x01,0x41,0x81,0x00},
{0x1e,0x41,0x01,0x41,0x00},
{0x3e,0x81,0x01,0x81,0x00},
{0x20,0x10,0x4f,0x10,0x00},
{0x81,0xff,0x25,0x24,0x00},
{0x01,0x3e,0x09,0x09,0x00},
{0x02,0x95,0x55,0x15,0x00},
{0x02,0x15,0x55,0x95,0x00},
{0x02,0x55,0x95,0x55,0x00},
{0x42,0x95,0x95,0x55,0x00},
{0x02,0x55,0x15,0x55,0x00},
{0x02,0x55,0xb5,0x55,0x00},
{0x26,0x29,0x1e,0x29,0x00},
{0x18,0x25,0x27,0x24,0x00},
{0x0e,0x95,0x55,0x15,0x00},
{0x0e,0x15,0x55,0x15,0x00},
{0x0e,0x55,0x95,0x55,0x00},
{0x0e,0x55,0x15,0x55,0x00},
{0x00,0x89,0x5f,0x01,0x00},
{0x00,0x09,0x5f,0x01,0x00},
{0x00,0x49,0x9f,0x41,0x00},
{0x00,0x09,0x1f,0x01,0x00},
{0x52,0x25,0x55,0x0d,0x06},
{0x5f,0x88,0x90,0x50,0x8f},
{0x0e,0x91,0x51,0x11,0x0e},
{0x0e,0x11,0x51,0x91,0x0e},
{0x06,0x29,0x49,0x29,0x06},
{0x26,0x49,0x49,0x29,0x46},
{0x0e,0x51,0x11,0x51,0x0e},
{0x08,0x08,0x2a,0x08,0x08},
{0x08,0x15,0x3e,0x54,0x08},
{0x1e,0x01,0x41,0x02,0x1f},
{0x1e,0x01,0x41,0x82,0x1f},
{0x1e,0x41,0x01,0x42,0x1f},
{0x1e,0x41,0x01,0x42,0x1f},
{0x18,0x05,0x25,0x45,0x1e},
{0x00,0x41,0x7f,0x15,0x08},
{0x18,0x05,0x05,0x05,0x1e},
};