source: projects/bull-anelex-project/trunk/BULL-Druckermapping/mapping-table.h @ 68

Last change on this file since 68 was 68, checked in by sven, 11 years ago

Zwecks kollektivem Arbeiten aktuellen Stand ins Repository gepackt

File size: 9.6 KB
Line 
1/*
2 * mapping_table.h
3 *
4 * Created: 26.01.2013 18:32:56
5 *  Author: Sven
6 */ 
7
8
9#ifndef _MAPPING_TABLE_H_
10#define _MAPPING_TABLE_H_
11
12#define UNDEF 0x01
13
14uint8_t translation_table[] = {
15        // generiert mit gentable.py
16       
17        // Bedeutung der Zahlen in C:
18        //  1,2,3,4,12,13 ohne Präfix sind Dezimalzahlen
19        //  a,b,c,d,ef,dd sind Hexadezimalzahlen, normalerweise 0xa, 0xb, 0xc, 0xef
20        //  01, 02, ... 082 sind Oktalzahlen
21        //  0b00101001, ... sind Binaerzahlen
22       
23        // Spalte A: Code von Urscheibe ("Ausgangscode"), entspricht Arrayindex
24        // Spalte B: Zielcode (Code vom BULL Gamma 10)
25        // Spalte C: Zeichenbedeutung, gemaess Urscheibe und Zielcode
26        // Spalte D: Ggf. weiterer Kommentar
27               
28        // Spalte A       B, // C // D
29    /*   0 =  0 */    0, // undef // Zahl 0 wird bei beiden durch die dez16 kodiert
30    /*   1 =  1 */    1, // 1
31    /*   2 =  2 */    2, // 2
32    /*   3 =  3 */    3, // 3
33    /*   4 =  4 */    4, // 4
34    /*   5 =  5 */    5, // 5
35    /*   6 =  6 */    6, // 6
36    /*   7 =  7 */    7, // 7
37    /*   8 =  8 */    8, // 8
38    /*   9 =  9 */    9, // 9
39    /*  10 =  a */   36, // M
40    /*  11 =  b */   37, // N
41    /*  12 =  c */   39, // P
42    /*  13 =  d */   40, // Q
43    /*  14 =  e */   41, // R
44    /*  15 =  f */   34, // k
45    /*  16 = 10 */   16, // Zahl 0
46    /*  17 = 11 */   19, // c
47    /*  18 = 12 */   20, // d
48    /*  19 = 13 */   21, // e
49    /*  20 = 14 */   22, // f
50    /*  21 = 15 */   23, // g
51    /*  22 = 16 */   24, // h
52    /*  23 = 17 */   18, // b
53    /*  24 = 18 */   24, // undef
54    /*  25 = 19 */   33, // j
55    /*  26 = 1a */   17, // a
56    /*  27 = 1b */   27, // undef
57    /*  28 = 1c */   50, // S
58    /*  29 = 1d */   29, // undef
59    /*  30 = 1e */   30, // undef
60    /*  31 = 1f */   31, // undef
61    /*  32 = 20 */   35, // L
62    /*  33 = 21 */   52, // U
63    /*  34 = 22 */   53, // V
64    /*  35 = 23 */   54, // W
65    /*  36 = 24 */   55, // X
66    /*  37 = 25 */   56, // Y
67    /*  38 = 26 */   57, // Z
68    /*  39 = 27 */   51, // T
69    /*  40 = 28 */   40, // undef
70    /*  41 = 29 */   45, // )
71    /*  42 = 2a */   42, // _ (eine Art Strich oder Unterstrich) // bei BULL noch nicht gefunden
72    /*  43 = 2b */   43, // + // bei BULL noch nicht gefunden
73    /*  44 = 2c */   44, // undef
74    /*  45 = 2d */   45, // undef
75    /*  46 = 2e */   46, // * // bei BULL noch nicht gefunden
76    /*  47 = 2f */   29, // (
77    /*  48 = 30 */   49, // / (irgendeine art slash)
78    /*  49 = 31 */   49, // undef
79    /*  50 = 32 */   58, // , (oder . nicht exakt lesbar)
80    /*  51 = 33 */   51, // undef
81    /*  52 = 34 */   60, // %
82    /*  53 = 35 */   53, // undef
83    /*  54 = 36 */   54, // undef
84    /*  55 = 37 */   55, // undef
85    /*  56 = 38 */   56, // undef
86    /*  57 = 39 */   25, // i
87    /*  58 = 3a */   38, // Buchstabe O
88    /*  59 = 3b */   59, // undef
89    /*  60 = 3c */   60, // undef
90    /*  61 = 3d */   61, // undef
91    /*  62 = 3e */   62, // undef
92    /*  63 = 3f */   63, // undef
93    /*  64 = 40 */   64, // undef
94    /*  65 = 41 */   65, // undef
95    /*  66 = 42 */   66, // undef
96    /*  67 = 43 */   67, // undef
97    /*  68 = 44 */   68, // undef
98    /*  69 = 45 */   69, // undef
99    /*  70 = 46 */   70, // undef
100    /*  71 = 47 */   71, // undef
101    /*  72 = 48 */   72, // undef
102    /*  73 = 49 */   73, // undef
103    /*  74 = 4a */   74, // undef
104    /*  75 = 4b */   75, // undef
105    /*  76 = 4c */   76, // undef
106    /*  77 = 4d */   77, // undef
107    /*  78 = 4e */   78, // undef
108    /*  79 = 4f */   79, // undef
109    /*  80 = 50 */   80, // undef
110    /*  81 = 51 */   81, // undef
111    /*  82 = 52 */   82, // undef
112    /*  83 = 53 */   83, // undef
113    /*  84 = 54 */   84, // undef
114    /*  85 = 55 */   85, // undef
115    /*  86 = 56 */   86, // undef
116    /*  87 = 57 */   87, // undef
117    /*  88 = 58 */   88, // undef
118    /*  89 = 59 */   89, // undef
119    /*  90 = 5a */   90, // undef
120    /*  91 = 5b */   91, // undef
121    /*  92 = 5c */   92, // undef
122    /*  93 = 5d */   93, // undef
123    /*  94 = 5e */   94, // undef
124    /*  95 = 5f */   95, // undef
125    /*  96 = 60 */   96, // undef
126    /*  97 = 61 */   97, // undef
127    /*  98 = 62 */   98, // undef
128    /*  99 = 63 */   99, // undef
129    /* 100 = 64 */  100, // undef
130    /* 101 = 65 */  101, // undef
131    /* 102 = 66 */  102, // undef
132    /* 103 = 67 */  103, // undef
133    /* 104 = 68 */  104, // undef
134    /* 105 = 69 */  105, // undef
135    /* 106 = 6a */  106, // undef
136    /* 107 = 6b */  107, // undef
137    /* 108 = 6c */  108, // undef
138    /* 109 = 6d */  109, // undef
139    /* 110 = 6e */  110, // undef
140    /* 111 = 6f */  111, // undef
141    /* 112 = 70 */  112, // undef
142    /* 113 = 71 */  113, // undef
143    /* 114 = 72 */  114, // undef
144    /* 115 = 73 */  115, // undef
145    /* 116 = 74 */  116, // undef
146    /* 117 = 75 */  117, // undef
147    /* 118 = 76 */  118, // undef
148    /* 119 = 77 */  119, // undef
149    /* 120 = 78 */  120, // undef
150    /* 121 = 79 */  121, // undef
151    /* 122 = 7a */  122, // undef
152    /* 123 = 7b */  123, // undef
153    /* 124 = 7c */  124, // undef
154    /* 125 = 7d */  125, // undef
155    /* 126 = 7e */  126, // undef
156    /* 127 = 7f */  127, // undef
157    /* 128 = 80 */  128, // undef
158    /* 129 = 81 */  129, // undef
159    /* 130 = 82 */  130, // undef
160    /* 131 = 83 */  131, // undef
161    /* 132 = 84 */  132, // undef
162    /* 133 = 85 */  133, // undef
163    /* 134 = 86 */  134, // undef
164    /* 135 = 87 */  135, // undef
165    /* 136 = 88 */  136, // undef
166    /* 137 = 89 */  137, // undef
167    /* 138 = 8a */  138, // undef
168    /* 139 = 8b */  139, // undef
169    /* 140 = 8c */  140, // undef
170    /* 141 = 8d */  141, // undef
171    /* 142 = 8e */  142, // undef
172    /* 143 = 8f */  143, // undef
173    /* 144 = 90 */  144, // undef
174    /* 145 = 91 */  145, // undef
175    /* 146 = 92 */  146, // undef
176    /* 147 = 93 */  147, // undef
177    /* 148 = 94 */  148, // undef
178    /* 149 = 95 */  149, // undef
179    /* 150 = 96 */  150, // undef
180    /* 151 = 97 */  151, // undef
181    /* 152 = 98 */  152, // undef
182    /* 153 = 99 */  153, // undef
183    /* 154 = 9a */  154, // undef
184    /* 155 = 9b */  155, // undef
185    /* 156 = 9c */  156, // undef
186    /* 157 = 9d */  157, // undef
187    /* 158 = 9e */  158, // undef
188    /* 159 = 9f */  159, // undef
189    /* 160 = a0 */  160, // undef
190    /* 161 = a1 */  161, // undef
191    /* 162 = a2 */  162, // undef
192    /* 163 = a3 */  163, // undef
193    /* 164 = a4 */  164, // undef
194    /* 165 = a5 */  165, // undef
195    /* 166 = a6 */  166, // undef
196    /* 167 = a7 */  167, // undef
197    /* 168 = a8 */  168, // undef
198    /* 169 = a9 */  169, // undef
199    /* 170 = aa */  170, // undef
200    /* 171 = ab */  171, // undef
201    /* 172 = ac */  172, // undef
202    /* 173 = ad */  173, // undef
203    /* 174 = ae */  174, // undef
204    /* 175 = af */  175, // undef
205    /* 176 = b0 */  176, // undef
206    /* 177 = b1 */  177, // undef
207    /* 178 = b2 */  178, // undef
208    /* 179 = b3 */  179, // undef
209    /* 180 = b4 */  180, // undef
210    /* 181 = b5 */  181, // undef
211    /* 182 = b6 */  182, // undef
212    /* 183 = b7 */  183, // undef
213    /* 184 = b8 */  184, // undef
214    /* 185 = b9 */  185, // undef
215    /* 186 = ba */  186, // undef
216    /* 187 = bb */  187, // undef
217    /* 188 = bc */  188, // undef
218    /* 189 = bd */  189, // undef
219    /* 190 = be */  190, // undef
220    /* 191 = bf */  191, // undef
221    /* 192 = c0 */  192, // undef
222    /* 193 = c1 */  193, // undef
223    /* 194 = c2 */  194, // undef
224    /* 195 = c3 */  195, // undef
225    /* 196 = c4 */  196, // undef
226    /* 197 = c5 */  197, // undef
227    /* 198 = c6 */  198, // undef
228    /* 199 = c7 */  199, // undef
229    /* 200 = c8 */  200, // undef
230    /* 201 = c9 */  201, // undef
231    /* 202 = ca */  202, // undef
232    /* 203 = cb */  203, // undef
233    /* 204 = cc */  204, // undef
234    /* 205 = cd */  205, // undef
235    /* 206 = ce */  206, // undef
236    /* 207 = cf */  207, // undef
237    /* 208 = d0 */  208, // undef
238    /* 209 = d1 */  209, // undef
239    /* 210 = d2 */  210, // undef
240    /* 211 = d3 */  211, // undef
241    /* 212 = d4 */  212, // undef
242    /* 213 = d5 */  213, // undef
243    /* 214 = d6 */  214, // undef
244    /* 215 = d7 */  215, // undef
245    /* 216 = d8 */  216, // undef
246    /* 217 = d9 */  217, // undef
247    /* 218 = da */  218, // undef
248    /* 219 = db */  219, // undef
249    /* 220 = dc */  220, // undef
250    /* 221 = dd */  221, // undef
251    /* 222 = de */  222, // undef
252    /* 223 = df */  223, // undef
253    /* 224 = e0 */  224, // undef
254    /* 225 = e1 */  225, // undef
255    /* 226 = e2 */  226, // undef
256    /* 227 = e3 */  227, // undef
257    /* 228 = e4 */  228, // undef
258    /* 229 = e5 */  229, // undef
259    /* 230 = e6 */  230, // undef
260    /* 231 = e7 */  231, // undef
261    /* 232 = e8 */  232, // undef
262    /* 233 = e9 */  233, // undef
263    /* 234 = ea */  234, // undef
264    /* 235 = eb */  235, // undef
265    /* 236 = ec */  236, // undef
266    /* 237 = ed */  237, // undef
267    /* 238 = ee */  238, // undef
268    /* 239 = ef */  239, // undef
269    /* 240 = f0 */  240, // undef
270    /* 241 = f1 */  241, // undef
271    /* 242 = f2 */  242, // undef
272    /* 243 = f3 */  243, // undef
273    /* 244 = f4 */  244, // undef
274    /* 245 = f5 */  245, // undef
275    /* 246 = f6 */  246, // undef
276    /* 247 = f7 */  247, // undef
277    /* 248 = f8 */  248, // undef
278    /* 249 = f9 */  249, // undef
279    /* 250 = fa */  250, // undef
280    /* 251 = fb */  251, // undef
281    /* 252 = fc */  252, // undef
282    /* 253 = fd */  253, // undef
283    /* 254 = fe */  254, // undef
284    /* 255 = ff */  255, // undef
285       
286};
287
288
289
290#endif /* _MAPPING_TABLE_H_ */
Note: See TracBrowser for help on using the repository browser.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License