NEC PC-6001 support sources are initially added.
This commit is contained in:
parent
c258a2e83a
commit
6dd93a3d04
27 changed files with 2703 additions and 0 deletions
38
platform/pc-6001/apps/multithread/mt-test-dsc.c
Normal file
38
platform/pc-6001/apps/multithread/mt-test-dsc.c
Normal file
|
@ -0,0 +1,38 @@
|
|||
#include "sys/dsc.h"
|
||||
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
#if CTK_CONF_ICON_BITMAPS
|
||||
static unsigned char mttesticon_bitmap[3*3*8] = {
|
||||
0x00, 0x7f, 0x43, 0x4c, 0x58, 0x53, 0x60, 0x6f,
|
||||
0x00, 0xff, 0x00, 0x7e, 0x00, 0xff, 0x00, 0xff,
|
||||
0x00, 0xfe, 0xc2, 0x32, 0x1a, 0xca, 0x06, 0xf6,
|
||||
|
||||
0x40, 0x5f, 0x40, 0x5f, 0x40, 0x5f, 0x40, 0x4f,
|
||||
0x00, 0xff, 0x00, 0xff, 0x00, 0xfc, 0x01, 0xf3,
|
||||
0x02, 0xfa, 0x02, 0x82, 0x3e, 0xfe, 0xfe, 0xfe,
|
||||
|
||||
0x60, 0x67, 0x50, 0x59, 0x4c, 0x43, 0x7f, 0x00,
|
||||
0x07, 0xe7, 0x0f, 0xef, 0x0f, 0x0f, 0xff, 0x00,
|
||||
0x8e, 0x06, 0x06, 0x06, 0x8e, 0xfe, 0xfe, 0x00
|
||||
};
|
||||
#endif /* CTK_CONF_ICON_BITMAPS */
|
||||
|
||||
#if CTK_CONF_ICON_TEXTMAPS
|
||||
static char mttesticon_textmap[9] = {
|
||||
'T', 'h', 'r',
|
||||
'e', 'a', 'd',
|
||||
'=', '=', '>'
|
||||
};
|
||||
#endif /* CTK_CONF_ICON_TEXTMAPS */
|
||||
|
||||
#if CTK_CONF_ICONS
|
||||
static struct ctk_icon mttest_icon =
|
||||
{CTK_ICON("Multithread test", mttesticon_bitmap, mttesticon_textmap)};
|
||||
#endif /* CTK_CONF_ICONS */
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
DSC(mttest_dsc,
|
||||
"MultithreadTest",
|
||||
"mt-test.prg",
|
||||
mt_process,
|
||||
&mttest_icon);
|
||||
/*-----------------------------------------------------------------------------------*/
|
Loading…
Add table
Add a link
Reference in a new issue