📄 bt865.c
字号:
// 2. one bit PALN (Enable PAL-N Mode)// if 0 then Normal PAL-BDGHI Operation As Set By VIDFORM[3:0]// if 1 then PAL-N Operation As Set By VIDFORM[3:0]// Bits from the Left for Register D2// 1. eight reserved bits, zero for normal operation// this should have been done by the reset above// Bits from the Left for Register D4// 1. eight reserved bits, zero for normal operation// this should have been done by the reset above// Bits from the Left for Register D6// 1. eight reserved bits, zero for normal operation// this should have been done by the reset above// Bits from the Left for Register D8// 1. eight reserved bits, zero for normal operation// this should have been done by the reset above// Bits from the Left for Register DA// 1. eight reserved bits, zero for normal operation// this should have been done by the reset above// Bits from the Left for Register DC// 1. eight reserved bits, zero for normal operation// this should have been done by the reset above// Bits from the Left for Register DE// 1. eight reserved bits, zero for normal operation// this should have been done by the reset above// Bits from the Left for Register E0// 1. eight reserved bits, zero for normal operation// this should have been done by the reset above// Bits from the Left for Register E2// 1. eight reserved bits, zero for normal operation// this should have been done by the reset above// Bits from the Left for Register E4// 1. eight reserved bits, zero for normal operation// this should have been done by the reset above// Bits from the Left for Register E6// 1. eight reserved bits, zero for normal operation// this should have been done by the reset above// Bits from the Left for Register E8// 1. eight reserved bits, zero for normal operation// this should have been done by the reset above// Bits from the Left for Register EA// 1. eight reserved bits, zero for normal operation// this should have been done by the reset above// Bits from the Left for Register EC// 1. eight reserved bits, zero for normal operation// this should have been done by the reset above// Bits from the Left for Register EE// 1. eight reserved bits, zero for normal operation// this should have been done by the reset above// Bits from the Left for Register F0// 1. eight reserved bits, zero for normal operation// this should have been done by the reset above// Bits from the Left for Register F2// 1. eight reserved bits, zero for normal operation// this should have been done by the reset above// Bits from the Left for Register F4// 1. eight reserved bits, zero for normal operation// this should have been done by the reset above// Bits from the Left for Register F6// 1. eight reserved bits, zero for normal operation// this should have been done by the reset above// Bits from the Left for Register F8// 1. eight reserved bits, zero for normal operation// this should have been done by the reset above// Bits from the Left for Register FA// 1. eight reserved bits, zero for normal operation// this should have been done by the reset above// Bits from the Left for Register FC// 1. eight reserved bits, zero for normal operation// this should have been done by the reset above// Bits from the Left for Register FE// 1. eight reserved bits, zero for normal operation// this should have been done by the reset above// starts at register A0 by twosstatic unsigned char NTSC_CONFIG_BT865[ 48 ] = {/* 0 A0 */ 0x00, // EWSF2 EWSF1 RSRVD[1:0] WSDAT[4:1]/* 1 A2 */ 0x00, // WSDAT[12:5]/* 2 A4 */ 0x00, // WSDAT[20:13]/* 3 A6 */ 0x00, // SRESET RSRVD[6:0]/* 4 A8 */ 0x00, // RSRVD[7:0]/* 5 AA */ 0x00, // RSRVD[7:0]/* 6 AC */ 0x00, // TXHS[7:0]/* 7 AE */ 0x00, // TXHE[7:0]/* 8 B0 */ 0x00, // LUMADLY[1:0] TXHE[10:8] TXHS[10:8]/* 9 B2 */ 0x00, // RSRVD[1:0] TXRM TXE TXEF2[8] TXBF2[8] TXEF1[8] TXBF1[8]/* 10 B4 */ 0x00, // TXBF1[7:0]/* 11 B6 */ 0x00, // TXEF1[7:0]/* 12 B8 */ 0x00, // TXBF2[7:0]/* 13 BA */ 0x00, // TXEF2[7:0]/* 14 BC */ 0xc1, // ECCF2 ECCF1 ECCGATE RSRVD DACOFF YC16 CBSWAP PORCH/* 15 BE */ 0x00, // CCF2B1[7:0]/* 16 C0 */ 0x00, // CCF2B2[7:0]/* 17 C2 */ 0x00, // CCF1B1[7:0]/* 18 C4 */ 0x00, // CCF1B2[7:0]/* 19 C6 */ 0x00, // HSYNCF[7:0]/* 20 C8 */ 0x00, // HSYNCR[7:0]/* 21 CA */ 0x00, // SYNCDLY FIELD1 SYNCDIS ADJHSYNC HSYNCF[9:8] HSYNCR[9:8]/* 22 CC */ 0x00, // SETMODE SETUPDIS VIDFORM[3:0] NONINTL SQUARE/* 23 CE */ 0x04, // ESTATUS RGBO DCHROMA ECBAR SCRESET EVBI EACTIVE ECLIP/* 24 D0 */ 0x00, // RSRVD[6:0] PALN/* 25 D2 */ 0x00, // RSRVD[7:0]/* 26 D4 */ 0x00, // RSRVD[7:0]/* 27 D6 */ 0x00, // RSRVD[7:0]/* 28 D8 */ 0x00, // RSRVD[7:0]/* 29 DA */ 0x00, // RSRVD[7:0]/* 30 DC */ 0x00, // RSRVD[7:0]/* 31 DE */ 0x00, // RSRVD[7:0]/* 32 E0 */ 0x00, // RSRVD[7:0]/* 33 E2 */ 0x00, // RSRVD[7:0]/* 34 E4 */ 0x00, // RSRVD[7:0]/* 35 E6 */ 0x00, // RSRVD[7:0]/* 36 E8 */ 0x00, // RSRVD[7:0]/* 37 EA */ 0x00, // RSRVD[7:0]/* 38 EC */ 0x00, // RSRVD[7:0]/* 39 EE */ 0x00, // RSRVD[7:0]/* 40 F0 */ 0x00, // RSRVD[7:0]/* 41 F2 */ 0x00, // RSRVD[7:0]/* 42 F4 */ 0x00, // RSRVD[7:0]/* 43 F6 */ 0x00, // RSRVD[7:0]/* 44 F8 */ 0x00, // RSRVD[7:0]/* 45 FA */ 0x00, // RSRVD[7:0]/* 46 FC */ 0x00, // RSRVD[7:0]/* 47 FE */ 0x00, // RSRVD[7:0]};// starts at register A0 by twosstatic unsigned char NTSC60_CONFIG_BT865[ 48 ] = { 0x00, // EWSF2 EWSF1 RSRVD[1:0] WSDAT[4:1] 0x00, // WSDAT[12:5] 0x00, // WSDAT[20:13] 0x00, // SRESET RSRVD[6:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // TXHS[7:0] 0x00, // TXHE[7:0] 0x00, // LUMADLY[1:0] TXHE[10:8] TXHS[10:8] 0x00, // RSRVD[1:0] TXRM TXE TXEF2[8] TXBF2[8] TXEF1[8] TXBF1[8] 0x00, // TXBF1[7:0] 0x00, // TXEF1[7:0] 0x00, // TXBF2[7:0] 0x00, // TXEF2[7:0] 0x00, // ECCF2 ECCF1 ECCGATE RSRVD DACOFF YC16 CBSWAP PORCH 0x00, // CCF2B1[7:0] 0x00, // CCF2B2[7:0] 0x00, // CCF1B1[7:0] 0x00, // CCF1B2[7:0] 0x00, // HSYNCF[7:0] 0x00, // HSYNCR[7:0] 0x00, // SYNCDLY FIELD1 SYNCDIS ADJHSYNC HSYNCF[9:8] HSYNCR[9:8] 0x88, // SETMODE SETUPDIS VIDFORM[3:0] NONINTL SQUARE 0x0a, // ESTATUS RGBO DCHROMA ECBAR SCRESET EVBI EACTIVE ECLIP 0x00, // RSRVD[6:0] PALN 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0]};// starts at register A0 by twosstatic unsigned char PALM_CONFIG_BT865[ 48 ] = { 0x00, // EWSF2 EWSF1 RSRVD[1:0] WSDAT[4:1] 0x00, // WSDAT[12:5] 0x00, // WSDAT[20:13] 0x00, // SRESET RSRVD[6:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // TXHS[7:0] 0x00, // TXHE[7:0] 0x00, // LUMADLY[1:0] TXHE[10:8] TXHS[10:8] 0x00, // RSRVD[1:0] TXRM TXE TXEF2[8] TXBF2[8] TXEF1[8] TXBF1[8] 0x00, // TXBF1[7:0] 0x00, // TXEF1[7:0] 0x00, // TXBF2[7:0] 0x00, // TXEF2[7:0] 0x00, // ECCF2 ECCF1 ECCGATE RSRVD DACOFF YC16 CBSWAP PORCH 0x00, // CCF2B1[7:0] 0x00, // CCF2B2[7:0] 0x00, // CCF1B1[7:0] 0x00, // CCF1B2[7:0] 0x00, // HSYNCF[7:0] 0x00, // HSYNCR[7:0] 0x00, // SYNCDLY FIELD1 SYNCDIS ADJHSYNC HSYNCF[9:8] HSYNCR[9:8] 0xf0, // SETMODE SETUPDIS VIDFORM[3:0] NONINTL SQUARE 0x02, // ESTATUS RGBO DCHROMA ECBAR SCRESET EVBI EACTIVE ECLIP 0x00, // RSRVD[6:0] PALN 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0]};// starts at register A0 by twosstatic unsigned char PALM60_CONFIG_BT865[ 48 ] = { 0x00, // EWSF2 EWSF1 RSRVD[1:0] WSDAT[4:1] 0x00, // WSDAT[12:5] 0x00, // WSDAT[20:13] 0x00, // SRESET RSRVD[6:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // TXHS[7:0] 0x00, // TXHE[7:0] 0x00, // LUMADLY[1:0] TXHE[10:8] TXHS[10:8] 0x00, // RSRVD[1:0] TXRM TXE TXEF2[8] TXBF2[8] TXEF1[8] TXBF1[8] 0x00, // TXBF1[7:0] 0x00, // TXEF1[7:0] 0x00, // TXBF2[7:0] 0x00, // TXEF2[7:0] 0x00, // ECCF2 ECCF1 ECCGATE RSRVD DACOFF YC16 CBSWAP PORCH 0x00, // CCF2B1[7:0] 0x00, // CCF2B2[7:0] 0x00, // CCF1B1[7:0] 0x00, // CCF1B2[7:0] 0x00, // HSYNCF[7:0] 0x00, // HSYNCR[7:0] 0x00, // SYNCDLY FIELD1 SYNCDIS ADJHSYNC HSYNCF[9:8] HSYNCR[9:8] 0xf8, // SETMODE SETUPDIS VIDFORM[3:0] NONINTL SQUARE 0x02, // ESTATUS RGBO DCHROMA ECBAR SCRESET EVBI EACTIVE ECLIP 0x00, // RSRVD[6:0] PALN 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0]};// starts at register A0 by twosstatic unsigned char PAL_CONFIG_BT865[ 48 ] = { 0x00, // EWSF2 EWSF1 RSRVD[1:0] WSDAT[4:1] 0x00, // WSDAT[12:5] 0x00, // WSDAT[20:13] 0x00, // SRESET RSRVD[6:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // TXHS[7:0] 0x00, // TXHE[7:0] 0x00, // LUMADLY[1:0] TXHE[10:8] TXHS[10:8] 0x00, // RSRVD[1:0] TXRM TXE TXEF2[8] TXBF2[8] TXEF1[8] TXBF1[8] 0x00, // TXBF1[7:0] 0x00, // TXEF1[7:0] 0x00, // TXBF2[7:0] 0x00, // TXEF2[7:0] 0x00, // ECCF2 ECCF1 ECCGATE RSRVD DACOFF YC16 CBSWAP PORCH 0x00, // CCF2B1[7:0] 0x00, // CCF2B2[7:0] 0x00, // CCF1B1[7:0] 0x00, // CCF1B2[7:0] 0x00, // HSYNCF[7:0] 0x00, // HSYNCR[7:0] 0x00, // SYNCDLY FIELD1 SYNCDIS ADJHSYNC HSYNCF[9:8] HSYNCR[9:8] 0xe4, // SETMODE SETUPDIS VIDFORM[3:0] NONINTL SQUARE // or 0x24 0x02, // ESTATUS RGBO DCHROMA ECBAR SCRESET EVBI EACTIVE ECLIP 0x00, // RSRVD[6:0] PALN 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0] 0x00, // RSRVD[7:0]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -