📄 tbl_tw2835.c
字号:
};
#if defined(__4CH__)
code unsigned char tbl_ntsc_pg1_pic_9_lt[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x00,0x3c,0x00,0x28,0x3c,0x78,0x00,0x28, 0x78,0xb4,0x00,0x28,0x00,0x3c,0x28,0x50 //...
};
code unsigned char tbl_ntsc_pg1_pic_9_rb[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x78,0xb4,0x28,0x50,0x00,0x3c,0x50,0x78, 0x3c,0x78,0x50,0x78,0x78,0xb4,0x50,0x78 //...
};
#elif defined(__16CH__)
code unsigned char tbl_ntsc_pg1_pic_16_0[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x00,0x2d,0x00,0x1e,0x2d,0x5a,0x00,0x1e, 0x5a,0x87,0x00,0x1e,0x87,0xb4,0x00,0x1e //...
};
code unsigned char tbl_ntsc_pg1_pic_16_1[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x00,0x2d,0x1e,0x3c,0x2d,0x5a,0x1e,0x3c, 0x5a,0x87,0x1e,0x3c,0x87,0xb4,0x1e,0x3c //...
};
code unsigned char tbl_ntsc_pg1_pic_16_2[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x00,0x2d,0x3c,0x5a,0x2d,0x5a,0x3c,0x5a, 0x5a,0x87,0x3c,0x5a,0x87,0xb4,0x3c,0x5a //...
};
code unsigned char tbl_ntsc_pg1_pic_16_3[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x00,0x2d,0x5a,0x78,0x2d,0x5a,0x5a,0x78, 0x5a,0x87,0x5a,0x78,0x87,0xb4,0x5a,0x78 //...
};
#endif
//-------------------------- PAL ------------------------------//
//... H: 45(2d),90(5a),135(87),60(3c),120(78),180(b4)
//... V: 30(1e),40(28),60(3c),80(50),90(5a),120(78) for NTSC
//... V: 36(24),48(30),72(48),96(60),108(6c),144(90) for PAL
code unsigned char tbl_pal_pg1_pic_fl[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x00,0xb4,0x00,0x90,0x00,0xb4,0x00,0x90, 0x00,0xb4,0x00,0x90,0x00,0xb4,0x00,0x90 //...
};
code unsigned char tbl_pal_pg1_pic_qd[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x00,0x5a,0x00,0x48,0x5a,0xb4,0x00,0x48, 0x00,0x5a,0x48,0x90,0x5a,0xb4,0x48,0x90 //...
};
#if defined(__4CH__)
code unsigned char tbl_pal_pg1_pic_9_lt[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x00,0x3c,0x00,0x30,0x3c,0x78,0x00,0x30, 0x78,0xb4,0x00,0x30,0x00,0x3c,0x30,0x60 //...
};
code unsigned char tbl_pal_pg1_pic_9_rb[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x78,0xb4,0x30,0x60,0x00,0x3c,0x60,0x90, 0x3c,0x78,0x60,0x90,0x78,0xb4,0x60,0x90 //...
};
#elif defined(__16CH__)
code unsigned char tbl_pal_pg1_pic_16_0[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x00,0x2d,0x00,0x24,0x2d,0x5a,0x00,0x24, 0x5a,0x87,0x00,0x24,0x87,0xb4,0x00,0x24 //...
};
code unsigned char tbl_pal_pg1_pic_16_1[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x00,0x2d,0x24,0x48,0x2d,0x5a,0x24,0x48, 0x5a,0x87,0x24,0x48,0x87,0xb4,0x24,0x48 //...
};
code unsigned char tbl_pal_pg1_pic_16_2[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x00,0x2d,0x48,0x6c,0x2d,0x5a,0x48,0x6c, 0x5a,0x87,0x48,0x6c,0x87,0xb4,0x48,0x6c //...
};
code unsigned char tbl_pal_pg1_pic_16_3[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x00,0x2d,0x6c,0x90,0x2d,0x5a,0x6c,0x90, 0x5a,0x87,0x6c,0x90,0x87,0xb4,0x6c,0x90 //...
};
#endif
//=================================================================================
code unsigned char tbl_pg1_y_cmn[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
#if defined(__4CH__)
0x28,0x00,0x10,0xa0,0x00,0x00,0x00,0x03, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xa7, //... 0x50
0x80,0x02,0x00,0x81,0x02,0x00,0x82,0x02, 0x00,0x83,0x02,0x00,0x00,0xe4,0x00,0x00, //... 0x60 //... normal quad
// 0x90,0x02,0x00,0x91,0x02,0x00,0x92,0x02, 0x00,0x93,0x02,0x00,0x00,0xe4,0x00,0x00, //... 0x60 //... non-realtime
0x00,0x03,0x00,0x00,0x00,0x00,0x02,0x00, 0xff,0xff,0xff,0xff,0xf0,0x00,0x89,0x84, //... 0x70
#elif defined(__16CH__)
0x28,0x00,0x10,0xa0,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xa7, //... 0x50
0x80,0x02,0x00,0x81,0x02,0x00,0x82,0x02, 0x00,0x83,0x02,0x00,0x00,0xe4,0x00,0x00, //... 0x60
0x00,0x03,0x00,0x00,0x00,0x00,0x02,0x00, 0xff,0xff,0xff,0xff,0xf0,0x00,0x89,0x84, //... 0x70
#endif
// 0xff,0x00,0x51,0x07,0xeb,0x10,0xa8,0x00, 0x51,0xe7,0x80,0x00,0x00,0x00,0x00,0x00, //... 0x80
0xdf,0x00,0x91,0x07,0xeb,0x10,0xa8,0x00, 0x91,0xe7,0x80,0x00,0x00,0x00,0x00,0x00, //... 0x80 //... update:060715
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 //... 0x90
};
#if defined(__4CH__)
//-------------------------- NTSC ------------------------------//
code unsigned char tbl_ntsc_pg1_enc[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x77,0x23,0xd7,0x01,0x80,0x20,0x00,0x0c, 0x20,0x09,0xaa,0x00,0x40,0x40,0x00,0x00 //... 0xa0
};
//-------------------------- PAL ------------------------------//
code unsigned char tbl_pal_pg1_enc[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x77,0x23,0xd7,0x01,0x80,0x20,0x00,0x0c, 0x20,0x4c,0xaa,0x00,0x40,0x40,0x00,0x00 //... 0xa0
};
#elif defined(__16CH__)
//-------------------------- NTSC ------------------------------//
code unsigned char tbl_ntsc_pg1_enc_mstr[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x66,0x23,0x97,0x01,0x80,0x20,0x00,0x0c, 0x20,0x09,0xaa,0x00,0x40,0x40,0x00,0x00 //... 0xa0
};
code unsigned char tbl_ntsc_pg1_enc_slv[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x66,0xff,0x97,0x01,0x80,0x20,0x00,0x0c, 0x20,0x09,0xaa,0x00,0x40,0x40,0x00,0x00 //... 0xa0
};
//-------------------------- PAL ------------------------------//
code unsigned char tbl_pal_pg1_enc_mstr[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x66,0x23,0x97,0x01,0x80,0x20,0x00,0x0c, 0x20,0x4c,0xaa,0x00,0x40,0x40,0x00,0x00 //... 0xa0
};
code unsigned char tbl_pal_pg1_enc_slv[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x66,0xff,0x97,0x01,0x80,0x20,0x00,0x0c, 0x20,0x4c,0xaa,0x00,0x40,0x40,0x00,0x00 //... 0xa0
};
#endif
//*
//==================================================================================
// Page2 initialize table description
//==================================================================================
//-------------------------- PAGE 2 ------------------------------//
code unsigned char tbl_pg2_mse_box[] = { // 80 EA
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
//... mouse & LUT
0xf0,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //... 0x10
//... single box
0x00,0xb0,0x00,0x00,0x00,0x00,0x40,0x00, 0x00,0x00,0x00,0x00,0x00,0xb0,0x00,0x00, //... 0x20
0x00,0x00,0x40,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //... 0x30
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //... 0x40
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x40,0x40,0x40,0x42,0xff //... 0x50
};
code unsigned char tbl_ntsc_pg2_2dbox[] = { // 32 EA
//... 2d array box
#if defined(__4CH__)
//... quad position
0x88,0x00,0x01,0x0a,0x00,0x09,0xfb,0x00, 0x89,0x00,0x5b,0x0a,0x00,0x09,0xfb,0x00, //... 0x60
0x8a,0x00,0x01,0x0a,0x3c,0x09,0xfb,0x00, 0x8b,0x00,0x5b,0x0a,0x3c,0x09,0xfb,0x00 //... 0x70
#elif defined(__16CH__)
//... 0 position
0x88,0x00,0x00,0x00,0x00,0x00,0xfb,0x00, 0x89,0x00,0x00,0x00,0x00,0x00,0xfb,0x00, //... 0x60
0x8a,0x00,0x00,0x00,0x00,0x00,0xfb,0x00, 0x8b,0x00,0x00,0x00,0x00,0x00,0xfb,0x00 //... 0x70
#endif
};
code unsigned char tbl_ntsc_pg2_mtn[] = { // 32 EA
//... sensitivity & mask info
0x17,0x73,0x88,0x4a,0x07,0x24,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //... 0x80
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 //... 0x90
// 0x17,0x73,0x88,0x4a,0x07,0x24,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //... 0xa0
// 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //... 0xb0
// 0x17,0x73,0x88,0x4a,0x07,0x24,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //... 0xc0
// 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //... 0xd0
// 0x17,0x73,0x88,0x4a,0x07,0x24,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //... 0xe0
// 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 //... 0xf0
};
code unsigned char tbl_pal_pg2_2dbox[] = { // 32 EA
//... 2d array box
#if defined(__4CH__)
//... quad position
0x88,0x00,0x01,0x0a,0x00,0x0b,0xfb,0x00, 0x89,0x00,0x5b,0x0a,0x00,0x0b,0xfb,0x00, //... 0x60
0x8a,0x00,0x01,0x0a,0x48,0x0b,0xfb,0x00, 0x8b,0x00,0x5b,0x0a,0x48,0x0b,0xfb,0x00 //... 0x70
#elif defined(__16CH__)
//... 0 position
0x88,0x00,0x00,0x00,0x00,0x00,0xfb,0x00, 0x89,0x00,0x00,0x00,0x00,0x00,0xfb,0x00, //... 0x60
0x8a,0x00,0x00,0x00,0x00,0x00,0xfb,0x00, 0x8b,0x00,0x00,0x00,0x00,0x00,0xfb,0x00 //... 0x70
#endif
};
code unsigned char tbl_pal_pg2_mtn[] = { // 32 EA
//... sensitivity & mask info
0x17,0x73,0x88,0x4a,0x07,0x24,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //... 0x80
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 //... 0x90
// 0x17,0x73,0x88,0x4a,0x07,0x24,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //... 0xa0
// 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //... 0xb0
// 0x17,0x73,0x88,0x4a,0x07,0x24,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //... 0xc0
// 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //... 0xd0
// 0x17,0x73,0x88,0x4a,0x07,0x24,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //... 0xe0
// 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 //... 0xf0
};
//code unsigned char tbl_ntsc_page2_ary_box[] = { // 32 EA
// 0x84,0x4c, 1 ,0x0a,0x00,0x09,0xfb,0x00, // 0x60 ~
// 0x84,0x4c,0x5b ,0x0a,0x00,0x09,0xfb,0x00, // 0x68 ~
// 0x84,0x4c, 1 ,0x0a,0x3c,0x09,0xfb,0x00, // 0x70 ~
// 0x84,0x4c,0x5b ,0x0a,0x3c,0x09,0xfb,0x00 // 0x78 ~
//};
//
//code unsigned char tbl_pal_page2_ary_box[] = { // 32 EA
// 0x84,0x4c, 1 ,0x0a,0x00,0x0b,0xfb,0x00, // 0x60 ~
// 0x84,0x4c,0x5b ,0x0a,0x00,0x0b,0xfb,0x00, // 0x68 ~
// 0x84,0x4c, 1 ,0x0a,0x48,0x0b,0xfb,0x00, // 0x70 ~
// 0x84,0x4c,0x5b ,0x0a,0x48,0x0b,0xfb,0x00 // 0x78 ~
//};
//
//code unsigned char tbl_page2_motn_sens[] = { // 6 EA
// 0x17,0x08,0x6a,0x07,0x00,0x24 //... 0x80 ~ 0x85
//};
//
//code unsigned char tbl_page2_motn_mask[] = { // 24 EA
// 0x00,0x00, //... 0x86 ~ 0x87
// 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //... 0x88 ~ 0x8f
// 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //... 0x90 ~ 0x97
// 0x00,0x00,0x00,0x00,0x00,0x00 //... 0x98 ~ 0x9d
//};
// */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -