Debian Codegraph @

src/pt2_textout.c

raw symbols SCIP
1 #cxx . . $ `<file>/src/pt2_textout.c`/include <stdint.h>
2 #include <stdbool.h>
3 #include <string.h>
4 #include "pt2_tables.h"cxx . . $ `<file>/src/pt2_tables.h`/
5 #include "pt2_structs.h"cxx . . $ `<file>/src/pt2_structs.h`/
6 #include "pt2_bmp.h"cxx . . $ `<file>/src/pt2_bmp.h`/
7
8 void charOutcxx . . $ charOut(e6c1e39bfc2b37).(uint32_tcxx . . $ uint32_t# xPos, uint32_tcxx . . $ uint32_t# yPos, char ch, uint32_tcxx . . $ uint32_t# color)
9 {
10 if (ch == '\0' || ch == ' ')
11 return;
12
13 int32_tcxx . . $ int32_t# h = FONT_CHAR_Hcxx . . $ `src/pt2_header.h:71:9`!;
14 if (ch == 5 || ch == 6) // arrow up/down has 1 more scanline
15 h++;
16
17 const uint8_tcxx . . $ uint8_t# *srcPtr = &fontBMPcxx . . $ fontBMP.[(ch & 0x7F) << 3];
18 uint32_tcxx . . $ uint32_t# *dstPtr = &videocxx . . $ video..frameBuffercxx . . $ video_t#frameBuffer.[(yPos * SCREEN_Wcxx . . $ `src/pt2_header.h:41:9`!) + xPos];
19
20 for (int32_tcxx . . $ int32_t# y = 0; y < h; y++)
21 {
22 for (int32_tcxx . . $ int32_t# x = 0; x < FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!; x++)
23 {
24 if (srcPtr[x])
25 dstPtr[x] = color;
26 }
27
28 srcPtr += 127*FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!;
29 dstPtr += SCREEN_Wcxx . . $ `src/pt2_header.h:41:9`!;
30 }
31 }
32
33 void charOut2cxx . . $ charOut2(92601998fc03cdf1).(uint32_tcxx . . $ uint32_t# xPos, uint32_tcxx . . $ uint32_t# yPos, char ch) // for static GUI text
34 {
35 if (ch == '\0' || ch == ' ')
36 return;
37
38 int32_tcxx . . $ int32_t# h = FONT_CHAR_Hcxx . . $ `src/pt2_header.h:71:9`!;
39 if (ch == 5 || ch == 6) // arrow up/down has 1 more scanline
40 h++;
41
42 const uint8_tcxx . . $ uint8_t# *srcPtr = &fontBMPcxx . . $ fontBMP.[(ch & 0x7F) << 3];
43 uint32_tcxx . . $ uint32_t# *dstPtr = &videocxx . . $ video..frameBuffercxx . . $ video_t#frameBuffer.[(yPos * SCREEN_Wcxx . . $ `src/pt2_header.h:41:9`!) + xPos];
44
45 const uint32_tcxx . . $ uint32_t# fgColor = videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_BORDERcxx . . $ PAL_BORDER.];
46 const uint32_tcxx . . $ uint32_t# bgColor = videocxx . . $ video..palettecxx . . $ video_t#palette.[PAL_GENBKG2cxx . . $ PAL_GENBKG2.];
47
48 for (int32_tcxx . . $ int32_t# y = 0; y < h; y++)
49 {
50 for (int32_tcxx . . $ int32_t# x = 0; x < FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!; x++)
51 {
52 if (srcPtr[x])
53 {
54 dstPtr[x+(SCREEN_Wcxx . . $ `src/pt2_header.h:41:9`!+1)] = bgColor;
55 dstPtr[x] = fgColor;
56 }
57 }
58
59 srcPtr += 127*FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!;
60 dstPtr += SCREEN_Wcxx . . $ `src/pt2_header.h:41:9`!;
61 }
62 }
63
64 void charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(uint32_tcxx . . $ uint32_t# xPos, uint32_tcxx . . $ uint32_t# yPos, char ch, uint32_tcxx . . $ uint32_t# fgColor, uint32_tcxx . . $ uint32_t# bgColor)
65 {
66 uint32_tcxx . . $ uint32_t# colors[2];
67
68 if (ch == '\0')
69 return;
70
71 int32_tcxx . . $ int32_t# h = FONT_CHAR_Hcxx . . $ `src/pt2_header.h:71:9`!;
72 if (ch == 5 || ch == 6) // arrow up/down has 1 more scanline
73 h++;
74
75 const uint8_tcxx . . $ uint8_t# *srcPtr = &fontBMPcxx . . $ fontBMP.[(ch & 0x7F) << 3];
76 uint32_tcxx . . $ uint32_t# *dstPtr = &videocxx . . $ video..frameBuffercxx . . $ video_t#frameBuffer.[(yPos * SCREEN_Wcxx . . $ `src/pt2_header.h:41:9`!) + xPos];
77
78 colors[0] = bgColor;
79 colors[1] = fgColor;
80
81 for (int32_tcxx . . $ int32_t# y = 0; y < h; y++)
82 {
83 for (int32_tcxx . . $ int32_t# x = 0; x < FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!; x++)
84 dstPtr[x] = colors[srcPtr[x]];
85
86 srcPtr += 127*FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!;
87 dstPtr += SCREEN_Wcxx . . $ `src/pt2_header.h:41:9`!;
88 }
89 }
90
91 void charOutBigcxx . . $ charOutBig(e6c1e39bfc2b37).(uint32_tcxx . . $ uint32_t# xPos, uint32_tcxx . . $ uint32_t# yPos, char ch, uint32_tcxx . . $ uint32_t# color)
92 {
93 if (ch == '\0' || ch == ' ')
94 return;
95
96 int32_tcxx . . $ int32_t# h = FONT_CHAR_Hcxx . . $ `src/pt2_header.h:71:9`!;
97 if (ch == 5 || ch == 6) // arrow up/down has 1 more scanline
98 h++;
99
100 const uint8_tcxx . . $ uint8_t# *srcPtr = &fontBMPcxx . . $ fontBMP.[(ch & 0x7F) << 3];
101 uint32_tcxx . . $ uint32_t# *dstPtr1 = &videocxx . . $ video..frameBuffercxx . . $ video_t#frameBuffer.[(yPos * SCREEN_Wcxx . . $ `src/pt2_header.h:41:9`!) + xPos];
102 uint32_tcxx . . $ uint32_t# *dstPtr2 = dstPtr1 + SCREEN_Wcxx . . $ `src/pt2_header.h:41:9`!;
103
104 for (int32_tcxx . . $ int32_t# y = 0; y < h; y++)
105 {
106 for (int32_tcxx . . $ int32_t# x = 0; x < FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!; x++)
107 {
108 if (srcPtr[x])
109 {
110 dstPtr1[x] = color;
111 dstPtr2[x] = color;
112 }
113 }
114
115 srcPtr += 127*FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!;
116 dstPtr1 += SCREEN_Wcxx . . $ `src/pt2_header.h:41:9`!*2;
117 dstPtr2 += SCREEN_Wcxx . . $ `src/pt2_header.h:41:9`!*2;
118 }
119 }
120
121 void charOutBigBgcxx . . $ charOutBigBg(585309c1ae331a9b).(uint32_tcxx . . $ uint32_t# xPos, uint32_tcxx . . $ uint32_t# yPos, char ch, uint32_tcxx . . $ uint32_t# fgColor, uint32_tcxx . . $ uint32_t# bgColor)
122 {
123 uint32_tcxx . . $ uint32_t# colors[2];
124
125 if (ch == '\0')
126 return;
127
128 const uint8_tcxx . . $ uint8_t# *srcPtr = &fontBMPcxx . . $ fontBMP.[(ch & 0x7F) << 3];
129 uint32_tcxx . . $ uint32_t# *dstPtr1 = &videocxx . . $ video..frameBuffercxx . . $ video_t#frameBuffer.[(yPos * SCREEN_Wcxx . . $ `src/pt2_header.h:41:9`!) + xPos];
130 uint32_tcxx . . $ uint32_t# *dstPtr2 = dstPtr1 + SCREEN_Wcxx . . $ `src/pt2_header.h:41:9`!;
131
132 colors[0] = bgColor;
133 colors[1] = fgColor;
134
135 for (int32_tcxx . . $ int32_t# y = 0; y < FONT_CHAR_Hcxx . . $ `src/pt2_header.h:71:9`!; y++)
136 {
137 for (int32_tcxx . . $ int32_t# x = 0; x < FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!; x++)
138 {
139 const uint32_tcxx . . $ uint32_t# pixel = colors[srcPtr[x]];
140 dstPtr1[x] = pixel;
141 dstPtr2[x] = pixel;
142 }
143
144 srcPtr += 127*FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!;
145 dstPtr1 += SCREEN_Wcxx . . $ `src/pt2_header.h:41:9`!*2;
146 dstPtr2 += SCREEN_Wcxx . . $ `src/pt2_header.h:41:9`!*2;
147 }
148 }
149
150 void textOutcxx . . $ textOut(ecc378a7b29cfb5a).(uint32_tcxx . . $ uint32_t# xPos, uint32_tcxx . . $ uint32_t# yPos, const char *text, uint32_tcxx . . $ uint32_t# color)
151 {
152 ASSERTcxx . . $ `src/pt2_header.h:25:9`!(text != NULL);
153
154 uint32_tcxx . . $ uint32_t# x = xPos;
155 while (*text != '\0')
156 {
157 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x, yPos, *text++, color);
158 x += FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!;
159 }
160 }
161
162 void textOutNcxx . . $ textOutN(14940e7ead0326d3).(uint32_tcxx . . $ uint32_t# xPos, uint32_tcxx . . $ uint32_t# yPos, const char *text, uint32_tcxx . . $ uint32_t# n, uint32_tcxx . . $ uint32_t# color)
163 {
164 ASSERTcxx . . $ `src/pt2_header.h:25:9`!(text != NULL);
165
166 uint32_tcxx . . $ uint32_t# x = xPos;
167 uint32_tcxx . . $ uint32_t# i = 0;
168
169 while (*text != '\0' && i++ < n)
170 {
171 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x, yPos, *text++, color);
172 x += FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!;
173 }
174 }
175
176 void textOut2cxx . . $ textOut2(be85f8883e7b25d0).(uint32_tcxx . . $ uint32_t# xPos, uint32_tcxx . . $ uint32_t# yPos, const char *text) // for static GUI text
177 {
178 ASSERTcxx . . $ `src/pt2_header.h:25:9`!(text != NULL);
179
180 uint32_tcxx . . $ uint32_t# x = xPos;
181 while (*text != '\0')
182 {
183 charOut2cxx . . $ charOut2(92601998fc03cdf1).(x, yPos, *text++);
184 x += FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!-1;
185 }
186 }
187
188 void textOutTightcxx . . $ textOutTight(ecc378a7b29cfb5a).(uint32_tcxx . . $ uint32_t# xPos, uint32_tcxx . . $ uint32_t# yPos, const char *text, uint32_tcxx . . $ uint32_t# color)
189 {
190 ASSERTcxx . . $ `src/pt2_header.h:25:9`!(text != NULL);
191
192 uint32_tcxx . . $ uint32_t# x = xPos;
193 while (*text != '\0')
194 {
195 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x, yPos, *text++, color);
196 x += FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!-1;
197 }
198 }
199
200 void textOutTightNcxx . . $ textOutTightN(14940e7ead0326d3).(uint32_tcxx . . $ uint32_t# xPos, uint32_tcxx . . $ uint32_t# yPos, const char *text, uint32_tcxx . . $ uint32_t# n, uint32_tcxx . . $ uint32_t# color)
201 {
202 ASSERTcxx . . $ `src/pt2_header.h:25:9`!(text != NULL);
203
204 uint32_tcxx . . $ uint32_t# x = xPos;
205 uint32_tcxx . . $ uint32_t# i = 0;
206
207 while (*text != '\0' && i++ < n)
208 {
209 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x, yPos, *text++, color);
210 x += FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!-1;
211 }
212 }
213
214 void textOutBgcxx . . $ textOutBg(14940e7ead0326d3).(uint32_tcxx . . $ uint32_t# xPos, uint32_tcxx . . $ uint32_t# yPos, const char *text, uint32_tcxx . . $ uint32_t# fgColor, uint32_tcxx . . $ uint32_t# bgColor)
215 {
216 ASSERTcxx . . $ `src/pt2_header.h:25:9`!(text != NULL);
217
218 uint32_tcxx . . $ uint32_t# x = xPos;
219 while (*text != '\0')
220 {
221 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x, yPos, *text++, fgColor, bgColor);
222 x += FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!;
223 }
224 }
225
226 void textOutBigcxx . . $ textOutBig(ecc378a7b29cfb5a).(uint32_tcxx . . $ uint32_t# xPos, uint32_tcxx . . $ uint32_t# yPos, const char *text, uint32_tcxx . . $ uint32_t# color)
227 {
228 ASSERTcxx . . $ `src/pt2_header.h:25:9`!(text != NULL);
229
230 uint32_tcxx . . $ uint32_t# x = xPos;
231 while (*text != '\0')
232 {
233 charOutBigcxx . . $ charOutBig(e6c1e39bfc2b37).(x, yPos, *text++, color);
234 x += FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!;
235 }
236 }
237
238 void textOutBigBgcxx . . $ textOutBigBg(14940e7ead0326d3).(uint32_tcxx . . $ uint32_t# xPos, uint32_tcxx . . $ uint32_t# yPos, const char *text, uint32_tcxx . . $ uint32_t# fgColor, uint32_tcxx . . $ uint32_t# bgColor)
239 {
240 ASSERTcxx . . $ `src/pt2_header.h:25:9`!(text != NULL);
241
242 uint32_tcxx . . $ uint32_t# x = xPos;
243 while (*text != '\0')
244 {
245 charOutBigBgcxx . . $ charOutBigBg(585309c1ae331a9b).(x, yPos, *text++, fgColor, bgColor);
246 x += FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`!;
247 }
248 }
249
250 void printTwoDecimalscxx . . $ printTwoDecimals(eda338842932bf2b).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor)
251 {
252 if (value == 0)
253 {
254 textOutcxx . . $ textOut(ecc378a7b29cfb5a).(x, y, "00", fontColor);
255 }
256 else
257 {
258 if (value > 99)
259 value = 99;
260
261 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 1), y, '0' + (value % 10), fontColor); value /= 10;
262 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 0), y, '0' + (value % 10), fontColor);
263 }
264 }
265
266 void printTwoDecimalsBigcxx . . $ printTwoDecimalsBig(eda338842932bf2b).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor)
267 {
268 if (value == 0)
269 {
270 textOutBigcxx . . $ textOutBig(ecc378a7b29cfb5a).(x, y, "00", fontColor);
271 }
272 else
273 {
274 if (value > 99)
275 value = 99;
276
277 charOutBigcxx . . $ charOutBig(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 1), y, '0' + (value % 10), fontColor); value /= 10;
278 charOutBigcxx . . $ charOutBig(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 0), y, '0' + (value % 10), fontColor);
279 }
280 }
281
282 void printThreeDecimalscxx . . $ printThreeDecimals(eda338842932bf2b).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor)
283 {
284 if (value == 0)
285 {
286 textOutcxx . . $ textOut(ecc378a7b29cfb5a).(x, y, "000", fontColor);
287 }
288 else
289 {
290 if (value > 999)
291 value = 999;
292
293 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 2), y, '0' + (value % 10), fontColor); value /= 10;
294 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 1), y, '0' + (value % 10), fontColor); value /= 10;
295 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 0), y, '0' + (value % 10), fontColor);
296 }
297 }
298
299 void printFourDecimalscxx . . $ printFourDecimals(eda338842932bf2b).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor)
300 {
301 if (value == 0)
302 {
303 textOutcxx . . $ textOut(ecc378a7b29cfb5a).(x, y, "0000", fontColor);
304 }
305 else
306 {
307 if (value > 9999)
308 value = 9999;
309
310 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 3), y, '0' + (value % 10), fontColor); value /= 10;
311 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 2), y, '0' + (value % 10), fontColor); value /= 10;
312 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 1), y, '0' + (value % 10), fontColor); value /= 10;
313 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 0), y, '0' + (value % 10), fontColor);
314 }
315 }
316
317 void printFiveDecimalscxx . . $ printFiveDecimals(eda338842932bf2b).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor)
318 {
319 if (value == 0)
320 {
321 textOutcxx . . $ textOut(ecc378a7b29cfb5a).(x, y, "00000", fontColor);
322 }
323 else
324 {
325 if (value > 99999)
326 value = 99999;
327
328 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 4), y, '0' + (value % 10), fontColor); value /= 10;
329 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 3), y, '0' + (value % 10), fontColor); value /= 10;
330 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 2), y, '0' + (value % 10), fontColor); value /= 10;
331 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 1), y, '0' + (value % 10), fontColor); value /= 10;
332 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 0), y, '0' + (value % 10), fontColor);
333 }
334 }
335
336 // this one is used for module size and sampler screen display length (zeroes are padded with space)
337 void printSixDecimalscxx . . $ printSixDecimals(eda338842932bf2b).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor)
338 {
339 char numberText[7];
340
341 if (value == 0)
342 {
343 textOutcxx . . $ textOut(ecc378a7b29cfb5a).(x, y, " 0", fontColor);
344 }
345 else
346 {
347 if (value > 999999)
348 value = 999999;
349
350 numberText[6] = 0;
351 numberText[5] = '0' + (value % 10); value /= 10;
352 numberText[4] = '0' + (value % 10); value /= 10;
353 numberText[3] = '0' + (value % 10); value /= 10;
354 numberText[2] = '0' + (value % 10); value /= 10;
355 numberText[1] = '0' + (value % 10); value /= 10;
356 numberText[0] = '0' + (value % 10);
357
358 int32_tcxx . . $ int32_t# i = 0;
359 while (numberText[i] == '0')
360 numberText[i++] = ' ';
361
362 textOutcxx . . $ textOut(ecc378a7b29cfb5a).(x, y, numberText, fontColor);
363 }
364 }
365
366 void printOneHexcxx . . $ printOneHex(eda338842932bf2b).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor)
367 {
368 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x, y, hexTablecxx . . $ hexTable.[value & 15], fontColor);
369 }
370
371 void printOneHexBigcxx . . $ printOneHexBig(eda338842932bf2b).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor)
372 {
373 charOutBigcxx . . $ charOutBig(e6c1e39bfc2b37).(x, y, hexTablecxx . . $ hexTable.[value & 15], fontColor);
374 }
375
376 void printTwoHexcxx . . $ printTwoHex(eda338842932bf2b).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor)
377 {
378 if (value == 0)
379 {
380 textOutcxx . . $ textOut(ecc378a7b29cfb5a).(x, y, "00", fontColor);
381 }
382 else
383 {
384 value &= 0xFF;
385
386 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 0), y, hexTablecxx . . $ hexTable.[value >> 4], fontColor);
387 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 1), y, hexTablecxx . . $ hexTable.[value & 15], fontColor);
388 }
389 }
390
391 void printTwoHexBigcxx . . $ printTwoHexBig(eda338842932bf2b).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor)
392 {
393 if (value == 0)
394 {
395 textOutBigcxx . . $ textOutBig(ecc378a7b29cfb5a).(x, y, "00", fontColor);
396 }
397 else
398 {
399 value &= 0xFF;
400
401 charOutBigcxx . . $ charOutBig(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 0), y, hexTablecxx . . $ hexTable.[value >> 4], fontColor);
402 charOutBigcxx . . $ charOutBig(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 1), y, hexTablecxx . . $ hexTable.[value & 15], fontColor);
403 }
404 }
405
406 void printThreeHexcxx . . $ printThreeHex(eda338842932bf2b).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor)
407 {
408 if (value == 0)
409 {
410 textOutcxx . . $ textOut(ecc378a7b29cfb5a).(x, y, "000", fontColor);
411 }
412 else
413 {
414 value &= 0xFFF;
415
416 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 0), y, hexTablecxx . . $ hexTable.[value >> 8], fontColor);
417 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 1), y, hexTablecxx . . $ hexTable.[(value & (15 << 4)) >> 4], fontColor);
418 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 2), y, hexTablecxx . . $ hexTable.[value & 15], fontColor);
419 }
420 }
421
422 void printFourHexcxx . . $ printFourHex(eda338842932bf2b).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor)
423 {
424 if (value == 0)
425 {
426 textOutcxx . . $ textOut(ecc378a7b29cfb5a).(x, y, "0000", fontColor);
427 }
428 else
429 {
430 value &= 0xFFFF;
431
432 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 0), y, hexTablecxx . . $ hexTable.[value >> 12], fontColor);
433 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 1), y, hexTablecxx . . $ hexTable.[(value & (15 << 8)) >> 8], fontColor);
434 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 2), y, hexTablecxx . . $ hexTable.[(value & (15 << 4)) >> 4], fontColor);
435 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 3), y, hexTablecxx . . $ hexTable.[value & 15], fontColor);
436 }
437 }
438
439 void printFiveHexcxx . . $ printFiveHex(eda338842932bf2b).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor)
440 {
441 if (value == 0)
442 {
443 textOutcxx . . $ textOut(ecc378a7b29cfb5a).(x, y, "00000", fontColor);
444 }
445 else
446 {
447 value &= 0xFFFFF;
448
449 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 0), y, hexTablecxx . . $ hexTable.[value >> 16], fontColor);
450 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 1), y, hexTablecxx . . $ hexTable.[(value & (15 << 12)) >> 12], fontColor);
451 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 2), y, hexTablecxx . . $ hexTable.[(value & (15 << 8)) >> 8], fontColor);
452 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 3), y, hexTablecxx . . $ hexTable.[(value & (15 << 4)) >> 4], fontColor);
453 charOutcxx . . $ charOut(e6c1e39bfc2b37).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 4), y, hexTablecxx . . $ hexTable.[value & 15], fontColor);
454 }
455 }
456
457 void printTwoDecimalsBgcxx . . $ printTwoDecimalsBg(a9b0a938867453dc).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor, uint32_tcxx . . $ uint32_t# backColor)
458 {
459 if (value == 0)
460 {
461 textOutBgcxx . . $ textOutBg(14940e7ead0326d3).(x, y, "00", fontColor, backColor);
462 }
463 else
464 {
465 if (value > 99)
466 value = 99;
467
468 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 1), y, '0' + (value % 10), fontColor, backColor); value /= 10;
469 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 0), y, '0' + (value % 10), fontColor, backColor);
470 }
471 }
472
473 void printTwoDecimalsBigBgcxx . . $ printTwoDecimalsBigBg(a9b0a938867453dc).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor, uint32_tcxx . . $ uint32_t# backColor)
474 {
475 if (value == 0)
476 {
477 textOutBigBgcxx . . $ textOutBigBg(14940e7ead0326d3).(x, y, "00", fontColor, backColor);
478 }
479 else
480 {
481 if (value > 99)
482 value = 99;
483
484 charOutBigBgcxx . . $ charOutBigBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 1), y, '0' + (value % 10), fontColor, backColor); value /= 10;
485 charOutBigBgcxx . . $ charOutBigBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 0), y, '0' + (value % 10), fontColor, backColor);
486 }
487 }
488
489 void printThreeDecimalsBgcxx . . $ printThreeDecimalsBg(a9b0a938867453dc).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor, uint32_tcxx . . $ uint32_t# backColor)
490 {
491 if (value == 0)
492 {
493 textOutBgcxx . . $ textOutBg(14940e7ead0326d3).(x, y, "000", fontColor, backColor);
494 }
495 else
496 {
497 if (value > 999)
498 value = 999;
499
500 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 2), y, '0' + (value % 10), fontColor, backColor); value /= 10;
501 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 1), y, '0' + (value % 10), fontColor, backColor); value /= 10;
502 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 0), y, '0' + (value % 10), fontColor, backColor);
503 }
504 }
505
506 void printFourDecimalsBgcxx . . $ printFourDecimalsBg(a9b0a938867453dc).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor, uint32_tcxx . . $ uint32_t# backColor)
507 {
508 if (value == 0)
509 {
510 textOutBgcxx . . $ textOutBg(14940e7ead0326d3).(x, y, "0000", fontColor, backColor);
511 }
512 else
513 {
514 if (value > 9999)
515 value = 9999;
516
517 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 3), y, '0' + (value % 10), fontColor, backColor); value /= 10;
518 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 2), y, '0' + (value % 10), fontColor, backColor); value /= 10;
519 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 1), y, '0' + (value % 10), fontColor, backColor); value /= 10;
520 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 0), y, '0' + (value % 10), fontColor, backColor);
521 }
522 }
523
524 // this one is used for "DISP:" in the sampler screen (zeroes are padded with space)
525 void printFiveDecimalsBgcxx . . $ printFiveDecimalsBg(a9b0a938867453dc).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor, uint32_tcxx . . $ uint32_t# backColor)
526 {
527 char numberText[6];
528
529 if (value == 0)
530 {
531 textOutBgcxx . . $ textOutBg(14940e7ead0326d3).(x, y, " 0", fontColor, backColor);
532 }
533 else
534 {
535 if (value > 99999)
536 value = 99999;
537
538 numberText[5] = 0;
539 numberText[4] = '0' + (value % 10); value /= 10;
540 numberText[3] = '0' + (value % 10); value /= 10;
541 numberText[2] = '0' + (value % 10); value /= 10;
542 numberText[1] = '0' + (value % 10); value /= 10;
543 numberText[0] = '0' + (value % 10);
544
545 int32_tcxx . . $ int32_t# i = 0;
546 while (numberText[i] == '0')
547 numberText[i++] = ' ';
548
549 textOutBgcxx . . $ textOutBg(14940e7ead0326d3).(x, y, numberText, fontColor, backColor);
550 }
551 }
552
553 // this one is used for module size (zeroes are padded with space)
554 void printSixDecimalsBgcxx . . $ printSixDecimalsBg(a9b0a938867453dc).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor, uint32_tcxx . . $ uint32_t# backColor)
555 {
556 char numberText[7];
557
558 if (value == 0)
559 {
560 textOutBgcxx . . $ textOutBg(14940e7ead0326d3).(x, y, " 0", fontColor, backColor);
561 }
562 else
563 {
564 if (value > 999999)
565 value = 999999;
566
567 numberText[6] = 0;
568 numberText[5] = '0' + (value % 10); value /= 10;
569 numberText[4] = '0' + (value % 10); value /= 10;
570 numberText[3] = '0' + (value % 10); value /= 10;
571 numberText[2] = '0' + (value % 10); value /= 10;
572 numberText[1] = '0' + (value % 10); value /= 10;
573 numberText[0] = '0' + (value % 10);
574
575 int32_tcxx . . $ int32_t# i = 0;
576 while (numberText[i] == '0')
577 numberText[i++] = ' ';
578
579 textOutBgcxx . . $ textOutBg(14940e7ead0326d3).(x, y, numberText, fontColor, backColor);
580 }
581 }
582
583 void printOneHexBgcxx . . $ printOneHexBg(a9b0a938867453dc).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor, uint32_tcxx . . $ uint32_t# backColor)
584 {
585 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x, y, hexTablecxx . . $ hexTable.[value & 0xF], fontColor, backColor);
586 }
587
588 void printOneHexBigBgcxx . . $ printOneHexBigBg(a9b0a938867453dc).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor, uint32_tcxx . . $ uint32_t# backColor)
589 {
590 charOutBigBgcxx . . $ charOutBigBg(585309c1ae331a9b).(x, y, hexTablecxx . . $ hexTable.[value & 0xF], fontColor, backColor);
591 }
592
593 void printTwoHexBgcxx . . $ printTwoHexBg(a9b0a938867453dc).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor, uint32_tcxx . . $ uint32_t# backColor)
594 {
595 if (value == 0)
596 {
597 textOutBgcxx . . $ textOutBg(14940e7ead0326d3).(x, y, "00", fontColor, backColor);
598 }
599 else
600 {
601 value &= 0xFF;
602
603 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 0), y, hexTablecxx . . $ hexTable.[value >> 4], fontColor, backColor);
604 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 1), y, hexTablecxx . . $ hexTable.[value & 15], fontColor, backColor);
605 }
606 }
607
608 void printTwoHexBigBgcxx . . $ printTwoHexBigBg(a9b0a938867453dc).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor, uint32_tcxx . . $ uint32_t# backColor)
609 {
610 if (value == 0)
611 {
612 textOutBigBgcxx . . $ textOutBigBg(14940e7ead0326d3).(x, y, "00", fontColor, backColor);
613 }
614 else
615 {
616 value &= 0xFF;
617
618 charOutBigBgcxx . . $ charOutBigBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 0), y, hexTablecxx . . $ hexTable.[value >> 4], fontColor, backColor);
619 charOutBigBgcxx . . $ charOutBigBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 1), y, hexTablecxx . . $ hexTable.[value & 15], fontColor, backColor);
620 }
621 }
622
623 void printThreeHexBgcxx . . $ printThreeHexBg(a9b0a938867453dc).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor, uint32_tcxx . . $ uint32_t# backColor)
624 {
625 if (value == 0)
626 {
627 textOutBgcxx . . $ textOutBg(14940e7ead0326d3).(x, y, "000", fontColor, backColor);
628 }
629 else
630 {
631 value &= 0xFFF;
632
633 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 0), y, hexTablecxx . . $ hexTable.[value >> 8], fontColor, backColor);
634 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 1), y, hexTablecxx . . $ hexTable.[(value & (15 << 4)) >> 4], fontColor, backColor);
635 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 2), y, hexTablecxx . . $ hexTable.[value & 15], fontColor, backColor);
636 }
637 }
638
639 void printFourHexBgcxx . . $ printFourHexBg(a9b0a938867453dc).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor, uint32_tcxx . . $ uint32_t# backColor)
640 {
641 if (value == 0)
642 {
643 textOutBgcxx . . $ textOutBg(14940e7ead0326d3).(x, y, "0000", fontColor, backColor);
644 }
645 else
646 {
647 value &= 0xFFFF;
648
649 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 0), y, hexTablecxx . . $ hexTable.[value >> 12], fontColor, backColor);
650 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 1), y, hexTablecxx . . $ hexTable.[(value & (15 << 8)) >> 8], fontColor, backColor);
651 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 2), y, hexTablecxx . . $ hexTable.[(value & (15 << 4)) >> 4], fontColor, backColor);
652 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 3), y, hexTablecxx . . $ hexTable.[value & 15], fontColor, backColor);
653 }
654 }
655
656 void printFiveHexBgcxx . . $ printFiveHexBg(a9b0a938867453dc).(uint32_tcxx . . $ uint32_t# x, uint32_tcxx . . $ uint32_t# y, uint32_tcxx . . $ uint32_t# value, uint32_tcxx . . $ uint32_t# fontColor, uint32_tcxx . . $ uint32_t# backColor)
657 {
658 if (value == 0)
659 {
660 textOutBgcxx . . $ textOutBg(14940e7ead0326d3).(x, y, "00000", fontColor, backColor);
661 }
662 else
663 {
664 value &= 0xFFFFF;
665
666 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 0), y, hexTablecxx . . $ hexTable.[value >> 16], fontColor, backColor);
667 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 1), y, hexTablecxx . . $ hexTable.[(value & (15 << 12)) >> 12], fontColor, backColor);
668 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 2), y, hexTablecxx . . $ hexTable.[(value & (15 << 8)) >> 8], fontColor, backColor);
669 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 3), y, hexTablecxx . . $ hexTable.[(value & (15 << 4)) >> 4], fontColor, backColor);
670 charOutBgcxx . . $ charOutBg(585309c1ae331a9b).(x + (FONT_CHAR_Wcxx . . $ `src/pt2_header.h:70:9`! * 4), y, hexTablecxx . . $ hexTable.[value & 15], fontColor, backColor);
671 }
672 }
673
674 void setPrevStatusMessagecxx . . $ setPrevStatusMessage(49f6e7a06ebc5aa8).(void)
675 {
676 strcpycxx . . $ strcpy(b7b3a83273496486).(uicxx . . $ ui..statusMessagecxx . . $ ui_t#statusMessage., uicxx . . $ ui..prevStatusMessagecxx . . $ ui_t#prevStatusMessage.);
677 uicxx . . $ ui..updateStatusTextcxx . . $ ui_t#updateStatusText. = truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!;
678 }
679
680 void setStatusMessagecxx . . $ setStatusMessage(90ef5b561fbcb8de).(const char *msg, boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! carry)
681 {
682 ASSERTcxx . . $ `src/pt2_header.h:25:9`!(msg != NULL);
683
684 if (carry)
685 strcpycxx . . $ strcpy(b7b3a83273496486).(uicxx . . $ ui..prevStatusMessagecxx . . $ ui_t#prevStatusMessage., msg);
686
687 strcpycxx . . $ strcpy(b7b3a83273496486).(uicxx . . $ ui..statusMessagecxx . . $ ui_t#statusMessage., msg);
688 uicxx . . $ ui..updateStatusTextcxx . . $ ui_t#updateStatusText. = truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!;
689 }
690
691 void displayMsgcxx . . $ displayMsg(85c52e162fed56f9).(const char *msg)
692 {
693 ASSERTcxx . . $ `src/pt2_header.h:25:9`!(msg != NULL);
694
695 editorcxx . . $ editor..errorMsgActivecxx . . $ editor_t#errorMsgActive. = truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!;
696 editorcxx . . $ editor..errorMsgBlockcxx . . $ editor_t#errorMsgBlock. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!;
697 editorcxx . . $ editor..errorMsgCountercxx . . $ editor_t#errorMsgCounter. = 0;
698
699 if (*msg != '\0')
700 setStatusMessagecxx . . $ setStatusMessage(90ef5b561fbcb8de).(msg, NO_CARRYcxx . . $ NO_CARRY.);
701 }
702
703 void displayErrorMsgcxx . . $ displayErrorMsg(85c52e162fed56f9).(const char *msg)
704 {
705 ASSERTcxx . . $ `src/pt2_header.h:25:9`!(msg != NULL);
706
707 editorcxx . . $ editor..errorMsgActivecxx . . $ editor_t#errorMsgActive. = truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!;
708 editorcxx . . $ editor..errorMsgBlockcxx . . $ editor_t#errorMsgBlock. = truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!;
709 editorcxx . . $ editor..errorMsgCountercxx . . $ editor_t#errorMsgCounter. = 0;
710
711 if (*msg != '\0')
712 setStatusMessagecxx . . $ setStatusMessage(90ef5b561fbcb8de).(msg, NO_CARRYcxx . . $ NO_CARRY.);
713
714 setErrPointercxx . . $ setErrPointer(49f6e7a06ebc5aa8).();
715 }