📄 tbl_init_page1.h
字号:
//* set tabstop=4 */
/********************************************************************************
* *
* Copyright(C) 2004 Penta-Micro *
* *
* ALL RIGHT RESERVED *
* *
* This software is the property of Penta-Micro and is furnished under *
* license by Penta-Micro. This software may be used only in accordance *
* with the terms of said license. This copyright notice may not be *
* removed, modified or obliterated without the prior written permission *
* of Penta-Micro. *
* *
* This software may not be copyed, transmitted, provided to or otherwise *
* made available to any other person, company, corporation or other entity *
* except as specified in the terms of said license. *
* *
* No right, title, ownership or other interest in the software is hereby *
* granted or transferred. *
* *
* The information contained herein is subject to change without notice and *
* should not be construed as a commitment by Penta-Micro. *
* *
********************************************************************************
MODULE NAME: tbl_init_page1.h
REVISION HISTORY:
Date Ver Name Description
---------- --- --------------------- -----------------------------------------
05/04/2005 1.0 JiGwanKang(xchannel) Created
...............................................................................
DESCRIPTION:
This Module contains definition for TW2834 register value
...............................................................................
*/
//==================================================================================
// Page1 initialize table description
//==================================================================================
unsigned char tbl_page1_x_com[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
// 0x00,0x00,0xa0,0x00,0x84,0x00,0x00, 0x00,0x00,0x00,0xd7,0x23,0x2d,0x1e,0xa7 //... 0x01
//... modified : 0x00 -> 0x40 for 0x04(050225)
//... modified : 0x84 -> 0x80 for 0x05(050222) because of 16M SDRAM mode for x path(auto detecting 4pb/1pb)
//0x00,0x00,0xa0,0x40,0x80,0x00,0x00, 0x00,0x00,0x00,0xd7,0x23,0x2d,0x1e,0xa7 //... 0x01
// 0x00,0x00,0xa0,0x40,0x80,0x00,0x00,0x00, 0x00,0x00,0xd7,0x23,0x2d,0x1e,0xb3 //... 0x01
// 0x00,0x00,0x00,0x40,0x80,0x00,0x00,0x00, 0x00,0x00,0xd7,0x23,0x2d,0x1e,0xb3 //... 0x01
0x00,0x00,0x00,0x40,0x80,0x00,0x00, 0x00,0x00,0x00,0xd7,0x30,0x00,0x00,0xb3 //... 0x01
};
unsigned char tbl_page1_x_ch_nrml[] = {
//... function mode, dec path, many property & recall for each channel
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
// 0x80,0x02,0x00,0x02,0x00,0x00,0x00,0x00, 0x81,0x02,0x00,0x02,0x00,0x00,0x11,0x00, //... 0x10 // enable channel
//org 0x80,0x02,0x00,0x02,0x00,0x00,0x8f,0x00, 0x81,0x02,0x00,0x02,0x00,0x00,0x11,0x00, //... 0x10 // enable channel
0x80,0x02,0x00,0x02,0x00,0x00,0x90,0x00, 0x81,0x02,0x00,0x02,0x00,0x00,0x11,0x00, //... 0x10 // enable channel
0x82,0x02,0x00,0x02,0x00,0x00,0x12,0x00, 0x83,0x02,0x00,0x02,0x00,0x00,0x13,0x00 //... 0x20 // enable channel
};
//-------------------------- NTSC ------------------------------//
//=================================================================================
unsigned char tbl_ntsc_page1_x_pic_quad[] = {
//... PICHL, PICHR, PICVT, PICVB for each channel
// 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 //... 0x30
//org 0x00,0x5a,0x00,0x3c,0x5a,0xb4,0x00,0x3c, 0x00,0x5a,0x3c,0x78,0x5a,0xb4,0x3c,0x78 //... // tw2834 bug ?
// 2005.10.21 pentamicro
// move to right 2 pixel in case of channel 1,3
//org 0x00,0x5a,0x00,0x3c,0x5a,0xb4,0x00,0x3c, 0x00,0x5a,0x3c,0x78,0x5a,0xb4,0x3c,0x78 //...
0x01,0x5a,0x00,0x3c,0x5a,0xb4,0x00,0x3c, 0x01,0x5a,0x3c,0x78,0x5a,0xb4,0x3c,0x78 //...
};
unsigned char tbl_ntsc_page1_dumy[] = {
//... Dummy Channel Boundary for each channel
// 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 //... 0x40
};
//-------------------------- PAL ------------------------------//
//=================================================================================
unsigned char tbl_pal_page1_x_pic_quad[] = {
//... PICHL, PICHR, PICVT, PICVB for each channel
// 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 //... 0x30 // tw2834 bug ?
// 0x00,0x5a,0x00,0x48,0x5a,0xb4,0x00,0x48, 0x00,0x5a,0x48,0x90,0x5a,0xb4,0x48,0x90 //... 0x30 // tw2834 bug ?
// 2005.10.21 pentamicro
// move to right 2 pixel in case of channel 1,3
//org 0x00,0x5a,0x00,0x48,0x5a,0xb4,0x00,0x48, 0x00,0x5a,0x48,0x90,0x5a,0xb4,0x48,0x90 //... 0x30
0x01,0x5a,0x00,0x48,0x5a,0xb4,0x00,0x48, 0x01,0x5a,0x48,0x90,0x5a,0xb4,0x48,0x90 //... 0x30 // tw2834 bug ?
};
unsigned char tbl_pal_page1_dumy[] = {
//... Dummy Channel Boundary for each channel
// 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 //... 0x40
};
//=================================================================================
unsigned char tbl_page1_y_com[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
//0x00,0x00,0x00,0xa0,0x00,0x84,0x00,0x03, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xa7 //... 0x50
//0x00,0x00,0x00,0xa0,0x00,0x84,0x00,0x03, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xa7 //... 0x50
//0x00,0x00,0x00,0xa0,0x00,0x84,0xe0,0x03, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xa7 //... 0x50
0x00,0x01,0x00,0xa0,0x00,0x84,0xe0,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xb3 //... 0x50 ( default 704 mode )
};
unsigned char tbl_page1_y_ch_nrml_pic_quad[] = {
//... function mode, dec path, many property & recall for each channel
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
// 0x00,0x02,0x00,0x01,0x02,0x00,0x02,0x02, 0x00,0x03,0x02,0x00,0x00,0xe4,0x00,0x00 //... 0x60 // disable channel
//0x80,0x02,0x00,0x81,0x02,0x00,0x82,0x02, 0x00,0x83,0x02,0x00,0x00,0xe4,0x00,0x00 //... 0x60 // enable channel
//0x80,0x02,0x00,0x81,0x02,0x00,0x82,0x02, 0x00,0x83,0x02,0x00,0x00,0xe4,0x00,0x00 //... 0x60 // enable channel
//0x80,0x02,0x00,0x81,0x02,0x00,0x82,0x02, 0x00,0x83,0x02,0x00,0x00,0xe4,0x00,0x00 //... 0x60 // enable channel
//0xa0,0x02,0x00,0xa1,0x02,0x00,0xa2,0x02, 0x00,0xa3,0x02,0x00,0xff,0xe4,0x01,0x23 //... 0x60 // enable channel
0x80,0x02,0x00,0x81,0x02,0x00,0x82,0x02, 0x00,0x83,0x02,0x00,0x00,0xe4,0x01,0x23 //... 0x60 // enable channel
};
unsigned char tbl_page1_cas_popup[] = {
//... popup & position control for Cascade or Path Overlay
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
//0xc0,0x00,0x1f,0x00,0x00,0x00,0x00,0x00, 0x04,0xff,0x00,0x00,0x00,0x00,0x00//,0x41 //... 0x70
//0xc0,0x00,0x1f,0x00,0x00,0x00,0x00,0x00, 0x04,0xff,0x00,0x00,0x00,0x00,0x88//,0x41 //... 0x70
//0x40,0x00,0x1f,0x00,0x00,0x00,0x00,0x00, 0x04,0xff,0x00,0x00,0x00,0x00,0x88//,0x41 //... 0x70
//0x40,0x00,0x1f,0x01,0x23,0x00,0x00,0x00, 0x04,0xff,0x00,0x00,0x00,0x00,0x88//,0x41 //... 0x70
0x00,0x00,0x1f,0x01,0x23,0x00,0x00,0x00, 0x04,0x00,0xff,0x00,0x00,0x00,0x88//,0x41 //... 0x70
};
//-------------------------- NTSC ------------------------------//
//=================================================================================
unsigned char tbl_ntsc_page1_enc[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
//0x77,0x23,0x51,0x01,0xc0,0x10,0x00,0x0d, 0x20,0x09,0xaa,0x00,0x08,0x44,0x00 // ... 0x80 ~ 0x8e
//0x77,0x23,0x51,0x01,0xc6,0x11,0x3c,0x0d, 0x20,0x09,0xaa,0x00,0x08,0x66,0x00 // ... 0x80 ~ 0x8e
//0x77,0x23,0x51,0x01,0xc6,0x11,0x3c,0x0d, 0x20,0x09,0xaa,0x00,0x08,0x66,0x00 // ... 0x80 ~ 0x8e
//0x77,0x23,0x51,0x01,0xc6,0x11,0x3c,0x0d, 0x20,0x09,0xaa,0x00,0x08,0x66,0x00 // ... 0x80 ~ 0x8e
0x66,0x23,0x11,0x01,0xc6,0x11,0x3c,0x8d, 0x20,0x09,0xaa,0x00,0x08,0x66,0x00 // ... 0x80 ~ 0x8e
};
//-------------------------- PAL ------------------------------//
//=================================================================================
unsigned char tbl_pal_page1_enc[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
//0x77,0x23,0x51,0x01,0xc0,0x10,0x00,0x0d, 0x20,0x4c,0xaa,0x00,0x08,0x44,0x00 // ... 0x80 ~ 0x8e
//0x77,0x27,0x51,0x01,0xc0,0x10,0x00,0x0d, 0x20,0x4c,0xaa,0x00,0x08,0x44,0x00 // ... 0x80 ~ 0x8e
0x66,0x23,0x11,0x01,0xc6,0x11,0x3c,0x8d, 0x20,0x4c,0xaa,0x00,0x08,0x66,0x00 // ... 0x80 ~ 0x8e
};
//=================================================================================
unsigned char tbl_page1_channel_id_ctrl[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
// 0x1f,0x00,0x3f,0xeb,0x10,0x00,0x00,0x00, 0x00,0x00,0x1f,0x00,0x3f,0x80,0x00,0x00 //... 0xc0 ~ 0xcd
//0x50,0xc0,0x00,0x1f,0xe7,0xeb,0x10,0x00, 0x00,0xd0,0x00,0x1f,0xe7,0x80,0x00,0x00 //... 0xc0 ~ 0xcd
0x00,0x80,0x00,0x0f,0x66,0xeb,0x10,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 //... 0xc0 ~ 0xcd
};
#if 0//not use
unsigned char tbl_page1_channel_id_data_x[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x01,0x23,0x45,0x67,0x89,0xab,0xcd,0xef, 0x5a,0xa5,0x5a,0xa5,0x5a,0xa5,0x5a,0xa5 //... 0xd0 ~ 0xdf
};
unsigned char tbl_page1_channel_id_data_y[] = {
// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0xa5,0x5a,0xa5,0x5a,0xa5,0x5a,0xa5,0x5a, 0xfe,0xdc,0xba,0x98,0x76,0x54,0x32,0x10 //... 0xe0 ~ 0xef
};
#endif
//-------------------------- xchannel add ------------------------------//
//=================================================================================
unsigned char tbl_page1_osd_color[] = {
// (YELLOW<<4)|WHITE75 <-------- C_LAY3COL(Character mode layer 3)
// (BLUE<<4)|RED
// (GREEN<<4)|YELLOW <-------- B_LAY3COL(Bitmap mode layer 3)
// (CYAN<<4)|MAGENTA
// (WHITE75<<4)|MAGENTA <-------- C_LAY2COL[7-4],B_LAY2COL[3-0]
// (BLACK<<4)|BLACK <--------- C_LAY1COL[7-4],B_LAY1COL[3-0]
// (WHITE75<<4)|YELLOW <--------- C_LAY0COL[7-4],B_LAY0COL[3-0]
// A7 A8 A9 AA AB AC AD
0x10,0x65,0x31,0x24,0x34,0x77,0x01 //... 0xa7 ~ 0xad
// 0x10,0x32,0x31,0x24,0x34,0x77,0x01 //... 0xa7 ~ 0xad
};
unsigned char tbl_page1_osd_user_color[] = {
// 100% Red
// Black
// Light Blue
// Biolet
// AE AF B0 B1 B2 B3 B4 B5 B6 B7 B8 B9
// 0x51,0x5a,0xf0,0x10,0x80,0x80,0xe6,0xd4, 0x72,0x7c,0xb9,0x89 //... 0xae ~ 0xb9
0x51,0x5a,0xf0,0x10,0x80,0x80,0xe6,0xd4, 0x72,0x7c,0xb9,0x89 //... 0xae ~ 0xb9
};
//=================================================================================
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -