📄 tbl_tw2835.c
字号:
};
// */
//==================================================================================
//*
//==================================================================================
// Page1 initialize table description
//==================================================================================
code unsigned char tbl_pg1_x_cmn[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x02,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0xd7,0x23,0x2d,0x1e,0xa7, //... 0x01
0x80,0x02,0x00,0x00,0x02,0x00,0x10,0x00, 0x81,0x02,0x00,0x01,0x02,0x00,0x11,0x00, //... 0x10 //... normal quad
0x82,0x02,0x00,0x02,0x02,0x00,0x12,0x00, 0x83,0x02,0x00,0x03,0x02,0x00,0x13,0x00, //... 0x20
// 0x90,0x02,0x00,0x90,0x02,0x00,0x10,0x00, 0x91,0x02,0x00,0x91,0x02,0x00,0x11,0x00, //... 0x10 //... non-realtime
// 0x92,0x02,0x00,0x92,0x02,0x00,0x12,0x00, 0x93,0x02,0x00,0x93,0x02,0x00,0x13,0x00, //... 0x20
};
//-------------------------- NTSC ------------------------------//
//... H:60(3c),90(5a),120(78),180(b4), V:40(28),60(3c),80(50),120(78) for NTSC, 48(30),72(48),96(60),144(90) for PAL
code unsigned char tbl_ntsc_pg1_pic_fl[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x00,0xb4,0x00,0x78,0x00,0xb4,0x00,0x78, 0x00,0xb4,0x00,0x78,0x00,0xb4,0x00,0x78 //...
};
code unsigned char tbl_ntsc_pg1_pic_qd[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x00,0x5a,0x00,0x3c,0x5a,0xb4,0x00,0x3c, 0x00,0x5a,0x3c,0x78,0x5a,0xb4,0x3c,0x78 //...
};
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 //...
};
//-------------------------- PAL ------------------------------//
//... H:60(3c),90(5a),120(78),180(b4), V:40(28),60(3c),80(50),120(78) for NTSC, 48(30),72(48),96(60),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 //...
};
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 //...
};
//=================================================================================
code unsigned char tbl_pg1_y_cmn[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
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,0x8b,0x84, //... 0x70
// 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
};
//-------------------------- 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
// 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 //... 0xb0
};
//-------------------------- 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
// 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 //... 0xb0
};
//=================================================================================
// */
//*
//==================================================================================
// 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
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
};
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
0x20,0x28,0x00,0x00,0x00,0x00,0xfb,0x00, 0x21,0x28,0x00,0x00,0x00,0x00,0xfb,0x00, //... 0x60
0x22,0x28,0x00,0x00,0x00,0x00,0xfb,0x00, 0x23,0x28,0x00,0x00,0x00,0x00,0xfb,0x00 //... 0x70
};
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 + -