1 #ifndef CHARGEN_4X8_H_KMZC3DOG
2 #define CHARGEN_4X8_H_KMZC3DOG
4 /* 4x8 pixel default font map */
6 const char chargen_4x8_glyphs
[][4] = {
8 { 0x00, 0xf0, 0x10, 0x10 },
10 { 0x10, 0xf0, 0x10, 0x10 },
12 { 0x10, 0x1f, 0x10, 0x10 },
14 { 0x00, 0xff, 0x10, 0x10 },
16 { 0x10, 0x10, 0x10, 0x10 },
18 { 0x10, 0xff, 0x10, 0x10 },
20 { 0x00, 0xff, 0x28, 0x28 },
22 { 0xff, 0x00, 0xff, 0x10 },
24 { 0xf8, 0x08, 0xe8, 0x28 },
26 { 0x3f, 0x20, 0x2f, 0x28 },
28 { 0xe8, 0x08, 0xe8, 0x28 },
30 { 0x2f, 0x20, 0x2f, 0x20 },
32 { 0xff, 0x00, 0xef, 0x2f },
34 { 0x2f, 0x2f, 0x2f, 0x2f },
36 { 0xef, 0x00, 0xef, 0xe8 },
38 { 0x28, 0xe8, 0x28, 0x28 },
40 { 0xf0, 0x10, 0xf0, 0x10 },
42 { 0x28, 0x2f, 0x28, 0x28 },
44 { 0x1f, 0x10, 0x1f, 0x10 },
46 { 0xf0, 0x10, 0xf0, 0x10 },
48 { 0x00, 0xf8, 0x28, 0x28 },
50 { 0x00, 0x3f, 0x28, 0x28 },
52 { 0x1f, 0x10, 0x1f, 0x10 },
54 { 0xff, 0x10, 0xff, 0x10 },
56 { 0x28, 0xff, 0x28, 0x28 },
58 { 0x10, 0xf0, 0x00, 0x00 },
60 { 0x00, 0x1f, 0x10, 0x10 },
62 { 0xff, 0xff, 0xff, 0xff },
64 { 0x0f, 0x0f, 0x0f, 0x0f },
66 { 0xff, 0xff, 0x00, 0x00 },
68 { 0x00, 0x00, 0xff ,0xff },
70 { 0xf0, 0xf0, 0xf0, 0xf0 },
75 { 0x00, 0x00, 0x00, 0x00 },
77 { 0x00, 0xfa, 0x00, 0x00 },
79 { 0xb0, 0x00, 0xb0, 0x00 },
81 { 0x7c, 0x28, 0x7c, 0x00 },
83 { 0x64, 0xd6, 0x4c, 0x00 },
85 { 0x86, 0x38, 0xc2, 0x00 },
87 { 0x6c, 0x94, 0x6e, 0x0a },
89 { 0x00, 0x40, 0x80, 0x00 },
91 { 0x38, 0x44, 0x82, 0x00 },
93 { 0x82, 0x44, 0x38, 0x00 },
95 { 0x54, 0x38, 0x54, 0x00 },
97 { 0x10, 0x7c, 0x10, 0x00 },
99 { 0x02, 0x04, 0x00, 0x00 },
101 { 0x10, 0x10, 0x10, 0x00 },
103 { 0x00, 0x02, 0x00, 0x00 },
105 { 0x06, 0x38, 0xc0, 0x00 },
107 { 0x7c, 0x82, 0x7c, 0x00 },
109 { 0x42, 0xfe, 0x02, 0x00 },
111 { 0x46, 0x9a, 0x62, 0x00 },
113 { 0x44, 0x92, 0x6c, 0x00 },
115 { 0xf0, 0x10, 0xfe, 0x00 },
117 { 0xe4, 0xa2, 0x9c, 0x00 },
119 { 0x7c, 0x92, 0x4c, 0x00 },
121 { 0x86, 0x98, 0xe0, 0x00 },
123 { 0x6c, 0x92, 0x6c, 0x00 },
125 { 0x64, 0x92, 0x7c, 0x00 },
127 { 0x00, 0x24, 0x00, 0x00 },
129 { 0x02, 0x24, 0x00, 0x00 },
131 { 0x10, 0x28, 0x44, 0x82 },
133 { 0x28, 0x28, 0x28, 0x00 },
135 { 0x82, 0x44, 0x28, 0x10 },
137 { 0x40, 0x9a, 0x60, 0x00 },
142 { 0x7c, 0x9a, 0x7a, 0x00 },
144 { 0x7e, 0x90, 0x7e, 0x00 },
146 { 0xfe, 0x92, 0x6c, 0x00 },
148 { 0x7c, 0x82, 0x44, 0x00 },
150 { 0xfe, 0x82, 0x7c, 0x00 },
152 { 0xfe, 0x92, 0x82, 0x00 },
154 { 0xfe, 0x90, 0x80, 0x00 },
156 { 0x7c, 0x92, 0x5c, 0x00 },
158 { 0xfe, 0x10, 0xfe, 0x00 },
160 { 0x82, 0xfe, 0x82, 0x00 },
162 { 0x04, 0x02, 0xfc, 0x00 },
164 { 0xfe, 0x30, 0xce, 0x00 },
166 { 0xfe, 0x02, 0x02, 0x00 },
168 { 0xfe, 0x60, 0xfe, 0x00 },
170 { 0xfe, 0x80, 0x7e, 0x00 },
172 { 0x7c, 0x82, 0x7c, 0x00 },
174 { 0xfe, 0x90, 0x60, 0x00 },
176 { 0x7c, 0x82, 0x7d, 0x00 },
178 { 0xfe, 0x90, 0x6e, 0x00 },
180 { 0x64, 0x92, 0x4c, 0x00 },
182 { 0x80, 0xfe, 0x80, 0x00 },
184 { 0xfe, 0x02, 0xfe, 0x00 },
186 { 0xf8, 0x06, 0xf8, 0x00 },
188 { 0xfe, 0x0c, 0xfe, 0x00 },
190 { 0xee, 0x10, 0xee, 0x00 },
192 { 0xe0, 0x1e, 0xe0, 0x00 },
194 { 0x8e, 0x92, 0xe2, 0x00 },
196 { 0x00, 0xfe, 0x82, 0x00 },
198 { 0xc0, 0x38, 0x06, 0x00 },
200 { 0x00, 0x82, 0xfe, 0x00 },
202 { 0x40, 0x80, 0x40, 0x00 },
204 { 0x01, 0x01, 0x01, 0x00 },
209 { 0x00, 0x80, 0x40, 0x00 },
211 { 0x24, 0x2a, 0x1e, 0x00 },
213 { 0xfe, 0x22, 0x1c, 0x00 },
215 { 0x1c, 0x22, 0x14, 0x00 },
217 { 0x1c, 0x22, 0xfe, 0x00 },
219 { 0x1c, 0x2a, 0x1a, 0x00 },
221 { 0x10, 0x7e, 0x90, 0x00 },
223 { 0x12, 0x2a, 0x3c, 0x00 },
225 { 0xfe, 0x20, 0x1e, 0x00 },
227 { 0x22, 0xbe, 0x02, 0x00 },
229 { 0x04, 0x02, 0xbc, 0x00 },
231 { 0xfe, 0x08, 0x36, 0x00 },
233 { 0x82, 0xfe, 0x02, 0x00 },
235 { 0x3e, 0x18, 0x3e, 0x00 },
237 { 0x3e, 0x20, 0x1e, 0x00 },
239 { 0x1c, 0x22, 0x1c, 0x00 },
241 { 0x3e, 0x28, 0x10, 0x00 },
243 { 0x10, 0x28, 0x3e, 0x00 },
245 { 0x3e, 0x20, 0x10, 0x00 },
247 { 0x12, 0x2a, 0x24, 0x00 },
249 { 0x20, 0x7c, 0x22, 0x00 },
251 { 0x3c, 0x02, 0x3e, 0x00 },
253 { 0x38, 0x06, 0x38, 0x00 },
255 { 0x3e, 0x0c, 0x3e, 0x00 },
257 { 0x36, 0x08, 0x36, 0x00 },
259 { 0x32, 0x0a, 0x3c, 0x00 },
261 { 0x26, 0x2a, 0x32, 0x00 },
263 { 0x10, 0x6c, 0x82, 0x00 },
265 { 0x00, 0xee, 0x00, 0x00 },
267 { 0x82, 0x6c, 0x10, 0x00 },
269 { 0x40, 0x80, 0x40, 0x80 },
271 { 0x0e, 0x32, 0x0e, 0x00 },
274 #define CHARGEN_4x8_GLYPHS_NUM ( (sizeof chargen_4x8_glyphs) / (sizeof chargen_4x8_glyphs[0]) )
276 #endif /* CHARGEN_4X8_H_KMZC3DOG */