-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathSPReD_Data_Export_Python_API.html
More file actions
565 lines (565 loc) · 36.9 KB
/
SPReD_Data_Export_Python_API.html
File metadata and controls
565 lines (565 loc) · 36.9 KB
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
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1251">
<TITLE></TITLE>
<META NAME="GENERATOR" CONTENT="OpenOffice 4.1.7 (Win32)">
<META NAME="CREATED" CONTENT="20190523;18115340">
<META NAME="CHANGED" CONTENT="20200705;21254370">
<STYLE TYPE="text/css">
<!--
p { margin:0; }
-->
</STYLE>
</HEAD>
<BODY LANG="ru-RU" BGCOLOR="#dddddd" DIR="LTR">
<P STYLE="margin-left: 1.19cm; margin-bottom: 0cm; line-height: 100%">
<BR>
</P>
<P LANG="en-US" STYLE="margin-left: 1.19cm; margin-bottom: 0cm; font-style: normal; line-height: 100%; text-decoration: none">
<FONT FACE="Arial, sans-serif"><FONT SIZE=4 STYLE="font-size: 16pt"><B>SPReD
Data Export Python API v1.2</B></FONT></FONT></P>
<HR>
<P STYLE="margin-left: 1.19cm; margin-bottom: 0cm; line-height: 100%">
<BR>
</P>
<P STYLE="margin-left: 1.19cm; margin-bottom: 0cm; line-height: 100%">
<A HREF="#Main Functions|region"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US"><B>Main
Functions</B></SPAN></FONT></A></P>
<P ALIGN=LEFT STYLE="text-indent: 2.06cm; margin-bottom: 0cm; background: transparent; line-height: 100%; page-break-before: auto; page-break-after: auto">
<A HREF="#spd_8x16_mode_enabled|region"><FONT FACE="Arial, sans-serif"><FONT SIZE=2><SPAN LANG="en-US"><B>spd_8x16_mode_enabled</B></SPAN></FONT></FONT></A></P>
<P ALIGN=LEFT STYLE="text-indent: 2.06cm; margin-bottom: 0cm; background: transparent; line-height: 100%; page-break-before: auto; page-break-after: auto">
<A HREF="#spd_get_palette|region"><FONT FACE="Arial, sans-serif"><FONT SIZE=2><SPAN LANG="en-US"><B>spd_get_palette</B></SPAN></FONT></FONT></A></P>
<P ALIGN=LEFT STYLE="text-indent: 2.06cm; margin-bottom: 0cm; background: transparent; line-height: 100%; page-break-before: auto; page-break-after: auto">
<A HREF="#spd_num_sprites|region"><FONT FACE="Arial, sans-serif"><FONT SIZE=2><SPAN LANG="en-US"><B>spd_num_sprites</B></SPAN></FONT></FONT></A></P>
<P ALIGN=LEFT STYLE="text-indent: 2.06cm; margin-bottom: 0cm; background: transparent; line-height: 100%; page-break-before: auto; page-break-after: auto">
<A HREF="#spd_get_sprite_data|region"><FONT FACE="Arial, sans-serif"><FONT SIZE=2><SPAN LANG="en-US"><B>spd_get_sprite_data</B></SPAN></FONT></FONT></A></P>
<P ALIGN=LEFT STYLE="text-indent: 2.06cm; margin-bottom: 0cm; background: transparent; line-height: 100%; page-break-before: auto; page-break-after: auto">
<A HREF="#spd_export_CHR_data|region"><FONT FACE="Arial, sans-serif"><FONT SIZE=2><SPAN LANG="en-US"><B>spd_export_CHR_data</B></SPAN></FONT></FONT></A></P>
<P ALIGN=LEFT STYLE="text-indent: 2.06cm; margin-bottom: 0cm; background: transparent; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 1.19cm; margin-bottom: 0cm; background: transparent; line-height: 100%">
<A HREF="#Sprite Data Structures|region"><FONT FACE="Arial, sans-serif"><FONT SIZE=3><SPAN LANG="en-US"><B>Sprite
Data Structures</B></SPAN></FONT></FONT></A></P>
<P ALIGN=LEFT STYLE="text-indent: 2.06cm; margin-bottom: 0cm; background: transparent; line-height: 100%; page-break-before: auto; page-break-after: auto">
<A HREF="#Sprite data class|region"><FONT FACE="Arial, sans-serif"><FONT SIZE=2><SPAN LANG="en-US"><B>spd_sprite_data</B></SPAN></FONT></FONT></A></P>
<P ALIGN=LEFT STYLE="text-indent: 2.06cm; margin-bottom: 0cm; background: transparent; line-height: 100%; page-break-before: auto; page-break-after: auto">
<A HREF="#Sprite attribute class|region"><FONT FACE="Arial, sans-serif"><FONT SIZE=2><SPAN LANG="en-US"><B>spd_sprite_attr</B></SPAN></FONT></FONT></A></P>
<P ALIGN=LEFT STYLE="text-indent: 2.06cm; margin-bottom: 0cm; background: transparent; line-height: 100%; page-break-before: auto; page-break-after: auto">
<A HREF="#Sprite CHR data class|region"><FONT FACE="Arial, sans-serif"><FONT SIZE=2><SPAN LANG="en-US"><B>spd_CHR_bank</B></SPAN></FONT></FONT></A></P>
<P ALIGN=LEFT STYLE="text-indent: 2.06cm; margin-bottom: 0cm; background: transparent; line-height: 100%; page-break-before: auto; page-break-after: auto">
<A HREF="#CHR data class|region"><FONT FACE="Arial, sans-serif"><FONT SIZE=2><SPAN LANG="en-US"><B>spd_CHR_data</B></SPAN></FONT></FONT></A></P>
<P ALIGN=LEFT STYLE="text-indent: 2.06cm; margin-bottom: 0cm; background: transparent; line-height: 100%; page-break-before: auto; page-break-after: auto">
<BR>
</P>
<P STYLE="margin-left: 1.19cm; margin-bottom: 0cm; line-height: 100%">
<A HREF="#Miscellaneous|region"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US"><B>Miscellaneous</B></SPAN></FONT></A></P>
<P ALIGN=LEFT STYLE="text-indent: 2.06cm; margin-bottom: 0cm; background: transparent; line-height: 100%; page-break-before: auto; page-break-after: auto">
<A HREF="#mpd_msg_box|region"><FONT FACE="Arial, sans-serif"><FONT SIZE=2><SPAN LANG="en-US"><B>spd_msg_box</B></SPAN></FONT></FONT></A></P>
<P STYLE="margin-left: 1.19cm; margin-bottom: 0cm; line-height: 100%">
<BR>
</P>
<HR>
<P STYLE="margin-left: 1.27cm; margin-bottom: 0cm; line-height: 100%; page-break-before: auto; page-break-after: avoid">
<BR>
</P>
<DIV ID="Main Functions" DIR="LTR"><A NAME="Main Functions|region"></A>
<P LANG="en-US" STYLE="margin-left: 1.27cm; margin-bottom: 0cm; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=5><B>Main Functions</B></FONT></FONT></P>
</DIV>
<P STYLE="margin-left: 1.27cm; margin-bottom: 0cm; line-height: 100%">
<BR>
</P>
<P STYLE="margin-bottom: 0cm; line-height: 100%"><BR>
</P>
<P STYLE="margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<BR>
</P>
<DIV ID="spd_8x16_mode_enabled" DIR="LTR"><A NAME="spd_8x16_mode_enabled|region"></A>
<P LANG="en-US" STYLE="text-indent: 1.24cm; margin-bottom: 0cm; background: #cccc99; font-weight: normal; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3>Bool
<B>spd_8x16_mode_enabled</B>()</FONT></FONT></P>
</DIV>
<P STYLE="margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<BR>
</P>
<P STYLE="margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P LANG="en-US" STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif">Retrieve the 8x16 mode status.</FONT></P>
<P STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P LANG="en-US" STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif"><B>Returns:</B></FONT></P>
<P LANG="en-US" STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; font-weight: normal; line-height: 100%">
<FONT FACE="Arial, sans-serif">True – enabled; False –
disabled</FONT></P>
<P STYLE="margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P STYLE="margin-bottom: 0cm; background: transparent; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<BR>
</P>
<DIV ID="spd_get_palette" DIR="LTR"><A NAME="spd_get_palette|region"></A>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; font-weight: normal; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3><SPAN LANG="en-US">Array[Int32]
</SPAN><SPAN LANG="en-US"><B>spd_get_palette</B></SPAN><SPAN LANG="en-US">(
Int32</SPAN> _plt_ind )</FONT></FONT></P>
</DIV>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif">Get <B>NES/SMS:</B> 4-colors, <B>PCE:</B> 16-colors palette by index.</FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3><B>Parameters:</B></FONT></FONT></P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; font-weight: normal; line-height: 100%; text-decoration: none">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3>_plt_ind – palette
index <B>NES/SMS:</B> 0-3; <B>PCE:</B> 0-15</FONT></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3><B>Returns:</B></FONT></FONT></P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; font-weight: normal; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3>the array of color
indices or <B>null</B> in case of incorrect palette index</FONT></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: transparent; line-height: 100%">
<BR>
</P>
<P STYLE="margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<BR>
</P>
<DIV ID="spd_num_sprites" DIR="LTR"><A NAME="spd_num_sprites|region"></A>
<P LANG="en-US" STYLE="text-indent: 1.24cm; margin-bottom: 0cm; background: #cccc99; font-weight: normal; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3>Int32 <B>spd_num_sprites</B>()</FONT></FONT></P>
</DIV>
<P STYLE="text-indent: 1.24cm; margin-bottom: 0cm; background: #cccc99; line-height: 100%; page-break-before: auto; page-break-after: auto">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; font-weight: normal; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3>Get the number of sprites
in a project.</FONT></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3><B>Returns:</B></FONT></FONT></P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; font-weight: normal; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3>the number of sprites in
a project</FONT></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: transparent; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<BR>
</P>
<DIV ID="spd_get_sprite_data" DIR="LTR"><A NAME="spd_get_sprite_data|region"></A>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<A HREF="#Sprite data class|region"><FONT FACE="Arial, sans-serif"><FONT SIZE=3><SPAN LANG="en-US"><SPAN STYLE="font-weight: normal">spd_sprite_data</SPAN></SPAN></FONT></FONT></A>
<FONT FACE="Arial, sans-serif"><FONT SIZE=3><SPAN LANG="en-US"><B>s</B></SPAN></FONT></FONT><FONT FACE="Arial, sans-serif"><FONT SIZE=3><B>pd_</B></FONT></FONT><FONT FACE="Arial, sans-serif"><FONT SIZE=3><SPAN LANG="en-US"><B>get_sprite</B></SPAN></FONT></FONT><FONT FACE="Arial, sans-serif"><FONT SIZE=3><B>_data</B></FONT></FONT><FONT FACE="Arial, sans-serif"><FONT SIZE=3><SPAN STYLE="font-weight: normal">(
</SPAN></FONT></FONT><FONT FACE="Arial, sans-serif"><FONT SIZE=3><SPAN LANG="en-US"><SPAN STYLE="font-weight: normal">Int32</SPAN></SPAN></FONT></FONT>
<FONT FACE="Arial, sans-serif"><FONT SIZE=3><SPAN STYLE="font-weight: normal">_</SPAN></FONT></FONT><FONT FACE="Arial, sans-serif"><FONT SIZE=3><SPAN LANG="en-US"><SPAN STYLE="font-weight: normal">spr</SPAN></SPAN></FONT></FONT><FONT FACE="Arial, sans-serif"><FONT SIZE=3><SPAN STYLE="font-weight: normal">_ind
)</SPAN></FONT></FONT></P>
</DIV>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; font-weight: normal; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3>Get a sprite data by
index.</FONT></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3><B>Parameters:</B></FONT></FONT></P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; font-weight: normal; line-height: 100%; text-decoration: none">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3>_spr_ind – sprite
index</FONT></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3><B>Returns:</B></FONT></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3><SPAN LANG="en-US"><SPAN STYLE="font-weight: normal">the
<A HREF="#Sprite data class|region">spd_sprite_data</A> object or
</SPAN></SPAN></FONT></FONT><FONT FACE="Arial, sans-serif"><FONT SIZE=3><SPAN LANG="en-US"><B>null</B></SPAN></FONT></FONT>
<FONT FACE="Arial, sans-serif"><FONT SIZE=3><SPAN LANG="en-US"><SPAN STYLE="font-weight: normal">in
case of an error</SPAN></SPAN></FONT></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: transparent; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<BR>
</P>
<DIV ID="spd_export_CHR_data" DIR="LTR"><A NAME="spd_export_CHR_data|region"></A>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; font-weight: normal; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3><SPAN LANG="en-US"><b>NES:</b> L</SPAN>ong
<SPAN LANG="en-US"><B>s</B></SPAN><B>pd_export_CHR_data</B>( <SPAN LANG="en-US">Int32</SPAN>
_<SPAN LANG="en-US">spr</SPAN>_ind, <SPAN LANG="en-US">String</SPAN>
_filename, <SPAN LANG="en-US">Bool</SPAN> _save_padding )</FONT></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; font-weight: normal; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3><SPAN LANG="en-US"><b>SMS: </b>L</SPAN>ong
<SPAN LANG="en-US"><B>s</B></SPAN><B>pd_export_CHR_data</B>( <SPAN LANG="en-US">Int32</SPAN>
_<SPAN LANG="en-US">spr</SPAN>_ind, <SPAN LANG="en-US">String</SPAN>
_filename, Int32 _bpp )</FONT></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; font-weight: normal; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3><SPAN LANG="en-US"><b>PCE: </b>L</SPAN>ong
<SPAN LANG="en-US"><B>s</B></SPAN><B>pd_export_CHR_data</B>( <SPAN LANG="en-US">Int32</SPAN>
_<SPAN LANG="en-US">spr</SPAN>_ind, <SPAN LANG="en-US">String</SPAN>
_filename )</FONT></FONT></P>
</DIV>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; font-weight: normal; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3>Convert a sprite's CHR
bank into a <B>NES/SMS/PCE</B> compatible format and save it to a file.</FONT></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3><B>Parameters:</B></FONT></FONT></P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; font-weight: normal; line-height: 100%; text-decoration: none">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3>_spr_ind – sprite
index</FONT></FONT></P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; font-weight: normal; line-height: 100%; text-decoration: none">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3>_filename –
exported data filename</FONT></FONT></P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; font-weight: normal; line-height: 100%; text-decoration: none">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3>_save_padding –
save padding data aligned to 1/2/4 KB or not
</FONT></FONT></P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; font-weight: normal; line-height: 100%; text-decoration: none">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3>_bpp –
bits per pixel value ( the valid range is 1-4 )
</FONT></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3><B>Returns:</B></FONT></FONT></P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; font-weight: normal; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3>the size of a saved file in
bytes or <B>-1</B> in case of an error</FONT></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<HR>
<P ALIGN=LEFT STYLE="margin-left: 1.27cm; margin-bottom: 0cm; line-height: 100%">
<BR>
</P>
<DIV ID="Sprite Data Structures" DIR="LTR"><A NAME="Sprite Data Structures|region"></A>
<P LANG="en-US" ALIGN=LEFT STYLE="margin-left: 1.27cm; margin-bottom: 0cm; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=5><B>Sprite Data
Structures</B></FONT></FONT></P>
</DIV>
<P ALIGN=LEFT STYLE="margin-left: 1.3cm; margin-bottom: 0cm; background: transparent; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 1.3cm; margin-bottom: 0cm; background: transparent; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<BR>
</P>
<DIV ID="Sprite data class" DIR="LTR"><A NAME="Sprite data class|region"></A>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3><B>Sprite data class:</B></FONT></FONT></P>
</DIV>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif">class <B>spd_sprite_data</B></FONT></P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif">{</FONT></P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; font-weight: normal; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3><I>// string name</I></FONT></FONT></P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif">public String <B>name</B>;</FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif"><I>// offset from origin</I></FONT></P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.98cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif">public Int32 <B>offset_x</B>;</FONT></P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.98cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif">public Int32 <B>offset_y</B>;</FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.98cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif"><I>// sprite dimensions in pixels</I> </FONT>
</P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.98cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif">public Int32 <B>width</B>;</FONT></P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.98cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif">public Int32 <B>height</B>;</FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.98cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif"><I>// attributes array ( can be None )</I>
</FONT>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.98cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif"><SPAN LANG="en-US">public
<A HREF="#Sprite attribute class|region">spd_sprite_attr</A>[] </SPAN></FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US"><B>attrs</B></SPAN></FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US">;</SPAN></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif"><I>// 1x1 tiles array ( can be None )</I></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.98cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif"><SPAN LANG="en-US">public <A HREF="#Sprite CHR data class|region">spd_CHR_bank</A>
</SPAN></FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US"><B>CHR_bank</B></SPAN></FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US">;</SPAN></FONT></P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif">}</FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: transparent; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<BR>
</P>
<DIV ID="Sprite attribute class" DIR="LTR"><A NAME="Sprite attribute class|region"></A>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<FONT FACE="Arial, sans-serif"><B>Sprite attribute class:</B></FONT></P>
</DIV>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif">class <B>spd_sprite_attr</B></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif">{</FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif"><I>// <SPAN LANG="en-US">CHR
coordinates</SPAN></I></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif">public <SPAN LANG="en-US">I</SPAN>nt<SPAN LANG="en-US">32
</SPAN><B>x</B>;</FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif">public <SPAN LANG="en-US">I</SPAN>nt<SPAN LANG="en-US">32
</SPAN><B>y</B>;</FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif"><I>// <SPAN LANG="en-US">palette index
0-3</SPAN> </I></FONT>
</P>
<P ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif"><I>// <SPAN LANG="en-US"><B>SMS:</B></SPAN>
<SPAN LANG="en-US">ignored</SPAN></I></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif">public <SPAN LANG="en-US">I</SPAN>nt<SPAN LANG="en-US">32
</SPAN><B>palette_ind</B>;</FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif"><I>// <SPAN LANG="en-US">CHR index</SPAN></I></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif">public <SPAN LANG="en-US">I</SPAN>nt<SPAN LANG="en-US">32
</SPAN><B>CHR_ind</B>;</FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif"><I>// <SPAN LANG="en-US">horizontal
flip</SPAN> = 0x01</I></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif"><I><SPAN LANG="en-US">// vertical flip</SPAN>
= 0x02</I></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif"><I>// <SPAN LANG="en-US"><B>SMS:</B></SPAN>
<SPAN LANG="en-US">ignored</SPAN></I></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif">public <SPAN LANG="en-US">I</SPAN>nt<SPAN LANG="en-US">32
</SPAN><B>flip_flag</B>; </FONT>
</P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif">}</FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: transparent; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<BR>
</P>
<DIV ID="Sprite CHR data class" DIR="LTR"><A NAME="Sprite CHR data class|region"></A>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<FONT FACE="Arial, sans-serif"><B>CHR bank class:</B></FONT></P>
</DIV>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif">class <B>spd_CHR_</B><SPAN LANG="en-US"><B>bank</B></SPAN></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif">{</FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif"><I>// <SPAN LANG="en-US">unique id</SPAN></I></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.98cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif">public <SPAN LANG="en-US">I</SPAN>nt<SPAN LANG="en-US">32</SPAN>
<B>id</B>;</FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif"><I>// <SPAN LANG="en-US">the number of
sprites that share a CHR bank</SPAN></I></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.98cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif">public <SPAN LANG="en-US">I</SPAN>nt<SPAN LANG="en-US">32</SPAN>
<B>link_cnt</B>;</FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif"><I>// <SPAN LANG="en-US">array of 1x1
tiles</SPAN> </I></FONT>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.98cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif">public </FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US"><A HREF="#CHR data class|region">spd_CHR_data</A>[</SPAN></FONT><FONT FACE="Arial, sans-serif">]
</FONT><FONT FACE="Arial, sans-serif"><B>CHR_data</B></FONT><FONT FACE="Arial, sans-serif">;</FONT></P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif">}</FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: transparent; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<BR>
</P>
<DIV ID="CHR data class" DIR="LTR"><A NAME="CHR data class|region"></A>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<FONT FACE="Arial, sans-serif"><B>CHR data class:</B></FONT></P>
</DIV>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif">class <B>spd_CHR_data</B></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif">{</FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif"><I>// <SPAN LANG="en-US">8x8 bytes
array</SPAN></I></FONT></P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif"><I>// <B>NES:</B> 0-3 color indices</I></FONT></P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 2.01cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif"><I>// <B>SMS:</B> 0-15 color indices</I></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.98cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif">public <SPAN LANG="en-US">B</SPAN>yte<SPAN LANG="en-US">[</SPAN>]
<B>data</B>;</FONT></P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif">}</FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<HR>
<DIV ID="Miscellaneous" DIR="LTR"><A NAME="Miscellaneous|region"></A>
<P STYLE="margin-left: 1.27cm; margin-bottom: 0cm; line-height: 100%; page-break-before: auto; page-break-after: avoid">
<BR>
</P>
<P STYLE="margin-left: 1.27cm; margin-bottom: 0cm; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=5><B>Miscellaneous</B></FONT></FONT></P>
</DIV>
<P ALIGN=LEFT STYLE="margin-left: 1.3cm; margin-bottom: 0cm; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 1.3cm; margin-bottom: 0cm; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<BR>
</P>
<DIV ID="mpd_msg_box" DIR="LTR"><A NAME="mpd_msg_box|region"></A>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<FONT FACE="Arial, sans-serif">void <B>spd_msg_box</B><SPAN STYLE="font-weight: normal">(
String _msg, String _caption )</SPAN></FONT></P>
</DIV>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #cccc99; line-height: 100%">
<BR>
</P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif">Show message box.</FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3><B>Parameters:</B></FONT></FONT></P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; font-weight: normal; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3>_msg – message text</FONT></FONT></P>
<P LANG="en-US" ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; font-weight: normal; line-height: 100%">
<FONT FACE="Arial, sans-serif"><FONT SIZE=3>_caption – caption
text</FONT></FONT></P>
<P ALIGN=LEFT STYLE="text-indent: 1.27cm; margin-bottom: 0cm; background: #ffffff; line-height: 100%">
<BR>
</P>
<HR>
<P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><BR>
</P>
<P LANG="en-US" STYLE="margin-left: 1.24cm; margin-bottom: 0cm; font-weight: normal; line-height: 100%; page-break-before: auto; page-break-after: auto">
<FONT FACE="Arial, sans-serif"><FONT SIZE=2 STYLE="font-size: 11pt">Copyright
(c) 2019-2022 0x8BitDev</FONT></FONT></P>
<P STYLE="margin-left: 1.24cm; margin-bottom: 0cm; line-height: 100%">
<BR>
</P>
</BODY>
</HTML>