📄 300vtbl.h
字号:
static const struct SiS_Part2PortTbl SiS300_CRT2Part2_1024x768_2[] ={ /* Non-VESA */ {{0x28,0x12,0xa3,0xd0,0xaa,0x5a,0x45,0x0a,0x07,0xfa,0x0a,0x24}}, {{0x2c,0x12,0x9a,0xae,0x88,0x5a,0x45,0x0a,0x07,0xfa,0x0a,0x24}}, {{0x28,0x12,0xa3,0xd0,0xaa,0x5a,0x45,0x0a,0x07,0xfa,0x0a,0x24}}, {{0x2c,0x12,0x9a,0xae,0x88,0x5a,0x45,0x0a,0x07,0xfa,0x0a,0x24}}, {{0x28,0x13,0xe7,0x0b,0xe8,0x5a,0x45,0x0a,0x07,0xfa,0x0a,0x24}}, {{0x38,0x18,0x16,0x00,0x00,0x5a,0x45,0x0a,0x07,0xfa,0x0a,0x24}}, {{0x36,0x13,0x13,0x25,0xff,0x5a,0x45,0x0a,0x07,0xfa,0x0a,0x24}}};static const struct SiS_Part2PortTbl SiS300_CRT2Part2_1024x768_3[] ={ {{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}};/**************************************************************//* LVDS/Chrontel -------------------------------------------- *//**************************************************************//* Custom data for Barco iQ R series */static const struct SiS_LVDSData SiS300_LVDSBARCO1366Data_1[]={ { 832, 438,1331, 806}, { 832, 388,1331, 806}, { 832, 438,1331, 806}, { 832, 388,1331, 806}, { 832, 518,1331, 806}, {1050, 638,1344, 806}, {1344, 806,1344, 806}, {1688,1066,1688,1066}, {1688,1066,1688,1066} /* 1360x1024 */};/* Custom data for Barco iQ R series */static const struct SiS_LVDSData SiS300_LVDSBARCO1366Data_2[]={ {1344, 806,1344, 806}, {1344, 806,1344, 806}, {1344, 806,1344, 806}, {1344, 806,1344, 806}, {1344, 806,1344, 806}, {1344, 806,1344, 806}, {1344, 806,1344, 806}, {1688,1066,1688,1066}, {1688,1066,1688,1066} /* 1360x1024 */};/* Custom data for Barco iQ G series */static const struct SiS_LVDSData SiS300_LVDSBARCO1024Data_1[]={ { 832, 438,1331, 806}, { 832, 409,1331, 806}, { 832, 438,1331, 806}, { 832, 409,1331, 806}, { 832, 518,1331, 806}, /* 640x480 */ {1050, 638,1344, 806}, /* 800x600 */ {1344, 806,1344, 806}, /* 1024x768 */};/* Custom data for 848x480 and 856x480 parallel LVDS panels */static const struct SiS_LVDSData SiS300_LVDS848x480Data_1[]={ { 0, 0, 0, 0}, { 0, 0, 0, 0}, { 0, 0, 0, 0}, { 0, 0, 0, 0}, {1088, 525,1088, 525}, /* 640x480 TODO */ {1088, 525,1088, 525}, /* 800x600 TODO */ {1088, 525,1088, 525}, /* 1024x768 TODO */ { 0, 0, 0, 0}, { 0, 0, 0, 0}, { 0, 0, 0, 0}, { 0, 0, 0, 0}, {1088, 525,1088, 525}, /* 848x480 */ {1088, 525,1088, 525}, /* 856x480 */ {1088, 525,1088, 525} /* 1360x768 TODO */};/* Custom data for 848x480 parallel panel */static const struct SiS_LVDSData SiS300_LVDS848x480Data_2[]={ { 0, 0, 0, 0}, { 0, 0, 0, 0}, { 0, 0, 0, 0}, { 0, 0, 0, 0}, {1088, 525,1088, 525}, /* 640x480 */ {1088, 525,1088, 525}, /* 800x600 */ {1088, 525,1088, 525}, /* 1024x768 */ { 0, 0, 0, 0}, { 0, 0, 0, 0}, { 0, 0, 0, 0}, { 0, 0, 0, 0}, {1088, 525,1088, 525}, /* 848x480 */ {1088, 525,1088, 525}, /* 856x480 */ {1088, 525,1088, 525} /* 1360x768 TODO */};static const struct SiS_LVDSData SiS300_CHTVUPALData[] ={ {1008, 625,1008, 625}, {1008, 625,1008, 625}, {1008, 625,1008, 625}, {1008, 625,1008, 625}, { 840, 750, 840, 750}, { 936, 836, 936, 836}};static const struct SiS_LVDSData SiS300_CHTVOPALData[] ={ {1008, 625,1008, 625}, {1008, 625,1008, 625}, {1008, 625,1008, 625}, {1008, 625,1008, 625}, { 840, 625, 840, 625}, { 960, 750, 960, 750}};static const struct SiS_LVDSData SiS300_CHTVSOPALData[] ={ {1008, 625,1008, 625}, {1008, 625,1008, 625}, {1008, 625,1008, 625}, {1008, 625,1008, 625}, { 840, 500, 840, 500}, { 944, 625, 944, 625}};/* Custom des data for Barco iQ R200/300/400 (BIOS 2.00.07) */static const struct SiS_LVDSDes SiS300_PanelType04_1a[] = /* 1280x1024 (1366x1024) */{ {1330, 798}, /* 320x200 */ {1330, 794}, {1330, 798}, {1330, 794}, {1330, 0}, /* 640x480 / 320x240 */ {1343, 0}, /* 800x600 / 400x300 */ { 0, 805}, /* 1024x768 / 512x384 */ {1688,1066}, /* 1280x1024 */ { 0, 0} /* 1360x1024 */};static const struct SiS_LVDSDes SiS300_PanelType04_2a[] ={ {1152, 622}, {1152, 597}, {1152, 622}, {1152, 597}, {1152, 662}, {1232, 722}, { 0, 805}, {1688,1066}, { 0, 0}};/* Custom des data for Barco iQ G200/300/400 (BIOS 2.00.07) */static const struct SiS_LVDSDes SiS300_PanelType04_1b[] = /* 1024x768 */{ {1330, 798}, /* 320x200 */ {1330, 794}, {1330, 798}, {1330, 794}, {1330, 0}, /* 640x480 / 320x240 */ {1343, 0}, /* 800x600 / 400x300 */ { 0, 805} /* 1024x768 / 512x384 */};static const struct SiS_LVDSDes SiS300_PanelType04_2b[] ={ {1152, 622}, {1152, 597}, {1152, 622}, {1152, 597}, {1152, 662}, {1232, 722}, { 0, 805}};/* CRT1 CRTC for slave modes */static const struct SiS_LVDSCRT1Data SiS300_CHTVCRT1UNTSC[] ={ {{0x64,0x4f,0x88,0x56,0x9f,0x56,0x3e, 0xe8,0x84,0x8f,0x57,0x20,0x00,0x01, 0x00 }}, {{0x64,0x4f,0x88,0x56,0x9f,0x56,0x3e, 0xd0,0x82,0x5d,0x57,0x00,0x00,0x01, 0x00 }}, {{0x64,0x4f,0x88,0x56,0x9f,0x56,0x3e, 0xe8,0x84,0x8f,0x57,0x20,0x00,0x01, 0x00 }}, {{0x64,0x4f,0x88,0x56,0x9f,0x56,0x3e, 0xd0,0x82,0x5d,0x57,0x00,0x00,0x01, 0x00 }}, {{0x5d,0x4f,0x81,0x53,0x9c,0x56,0xba, 0x18,0x84,0xdf,0x57,0x00,0x00,0x01, 0x00 }}, {{0x80,0x63,0x84,0x6c,0x17,0xec,0xf0, 0x90,0x8c,0x57,0xed,0x20,0x00,0x06, 0x01 }}};static const struct SiS_LVDSCRT1Data SiS300_CHTVCRT1ONTSC[] ={ {{0x64,0x4f,0x88,0x5a,0x9f,0x0b,0x3e, 0xc0,0x84,0x8f,0x0c,0x20,0x00,0x01, 0x00 }}, {{0x64,0x4f,0x88,0x5a,0x9f,0x0b,0x3e, 0xb0,0x8d,0x5d,0x0c,0x00,0x00,0x01, 0x00 }}, {{0x64,0x4f,0x88,0x5a,0x9f,0x0b,0x3e, 0xc0,0x84,0x8f,0x0c,0x20,0x00,0x01, 0x00 }}, {{0x64,0x4f,0x88,0x5a,0x9f,0x0b,0x3e, 0xb0,0x8d,0x5d,0x0c,0x00,0x00,0x01, 0x00 }}, {{0x5d,0x4f,0x81,0x56,0x9c,0x0b,0x3e, 0xe8,0x84,0xdf,0x0c,0x00,0x00,0x01, 0x00 }}, {{0x7d,0x63,0x81,0x6a,0x16,0xba,0xf0, 0x7f,0x86,0x57,0xbb,0x00,0x00,0x06, 0x01 }}};static const struct SiS_LVDSCRT1Data SiS300_CHTVCRT1UPAL[] ={ {{0x79,0x4f,0x9d,0x5a,0x90,0x6f,0x3e, 0xf8,0x83,0x8f,0x70,0x20,0x00,0x05, 0x00 }}, {{0x79,0x4f,0x9d,0x5a,0x90,0x6f,0x3e, 0xde,0x81,0x5d,0x70,0x00,0x00,0x05, 0x00 }}, {{0x79,0x4f,0x9d,0x5a,0x90,0x6f,0x3e, 0xf8,0x83,0x8f,0x70,0x20,0x00,0x05, 0x00 }}, {{0x79,0x4f,0x9d,0x5a,0x90,0x6f,0x3e, 0xde,0x81,0x5d,0x70,0x00,0x00,0x05, 0x00 }}, {{0x64,0x4f,0x88,0x55,0x80,0xec,0xba, 0x50,0x84,0xdf,0xed,0x00,0x00,0x05, 0x00 }}, {{0x70,0x63,0x94,0x68,0x8d,0x42,0xf1, 0xc8,0x8c,0x57,0xe9,0x20,0x00,0x05, 0x01 }}};static const struct SiS_LVDSCRT1Data SiS300_CHTVCRT1OPAL[] ={ {{0x79,0x4f,0x9d,0x5a,0x90,0x6f,0x3e, 0xf0,0x83,0x8f,0x70,0x20,0x00,0x05, 0x00 }}, {{0x79,0x4f,0x9d,0x5a,0x90,0x6f,0x3e, 0xde,0x81,0x5d,0x70,0x00,0x00,0x05, 0x00 }}, {{0x79,0x4f,0x9d,0x5a,0x90,0x6f,0x3e, 0xf0,0x83,0x8f,0x70,0x20,0x00,0x05, 0x00 }}, {{0x79,0x4f,0x9d,0x5a,0x90,0x6f,0x3e, 0xde,0x81,0x5d,0x70,0x00,0x00,0x05, 0x00 }}, {{0x64,0x4f,0x88,0x55,0x80,0x6f,0xba, 0x20,0x83,0xdf,0x70,0x00,0x00,0x05, 0x00 }}, {{0x73,0x63,0x97,0x69,0x8e,0xec,0xf0, 0x90,0x8c,0x57,0xed,0x20,0x00,0x05, 0x01 }}};static const struct SiS_LVDSCRT1Data SiS300_CHTVCRT1SOPAL[] ={ {{0x79,0x4f,0x9d,0x5a,0x90,0x6f,0x3e, 0xf0,0x83,0x8f,0x70,0x20,0x00,0x05, 0x00 }}, {{0x79,0x4f,0x9d,0x5a,0x90,0x6f,0x3e, 0xde,0x81,0x5d,0x70,0x00,0x00,0x05, 0x00 }}, {{0x79,0x4f,0x9d,0x5a,0x90,0x6f,0x3e, 0xf0,0x83,0x8f,0x70,0x20,0x00,0x05, 0x00 }}, {{0x79,0x4f,0x9d,0x5a,0x90,0x6f,0x3e, 0xde,0x81,0x5d,0x70,0x00,0x00,0x05, 0x00 }}, {{0x64,0x4f,0x88,0x55,0x80,0x6f,0xba, /* TODO */ 0x20,0x83,0xdf,0x70,0x00,0x00,0x05, 0x00 }}, {{0x73,0x63,0x97,0x69,0x8e,0xec,0xf0, /* TODO */ 0x90,0x8c,0x57,0xed,0x20,0x00,0x05, 0x01 }}};static const struct SiS_CHTVRegData SiS300_CHTVReg_UNTSC[] ={ {{0x4a,0x94,0x00,0x48,0xfe,0,0,0,0,0,0,0,0,0,0,0}}, {{0x4a,0x94,0x00,0x48,0xfe,0,0,0,0,0,0,0,0,0,0,0}}, {{0x4a,0x94,0x00,0x48,0xfe,0,0,0,0,0,0,0,0,0,0,0}}, {{0x4a,0x94,0x00,0x48,0xfe,0,0,0,0,0,0,0,0,0,0,0}}, {{0x6a,0x6a,0x00,0x2d,0xfa,0,0,0,0,0,0,0,0,0,0,0}}, /* Mode 17: 640x480 NTSC 7/8 */ {{0x8d,0xc4,0x00,0x3b,0xfb,0,0,0,0,0,0,0,0,0,0,0}} /* Mode 24: 800x600 NTSC 7/10 */};static const struct SiS_CHTVRegData SiS300_CHTVReg_ONTSC[] ={ {{0x49,0x94,0x00,0x34,0xfe,0,0,0,0,0,0,0,0,0,0,0}}, {{0x49,0x94,0x00,0x34,0xfe,0,0,0,0,0,0,0,0,0,0,0}}, {{0x49,0x94,0x00,0x34,0xfe,0,0,0,0,0,0,0,0,0,0,0}}, {{0x49,0x94,0x00,0x34,0xfe,0,0,0,0,0,0,0,0,0,0,0}}, {{0x69,0x6a,0x00,0x1e,0xfd,0,0,0,0,0,0,0,0,0,0,0}}, /* Mode 16: 640x480 NTSC 1/1 */ {{0x8c,0xb4,0x00,0x32,0xf9,0,0,0,0,0,0,0,0,0,0,0}} /* Mode 23: 800x600 NTSC 3/4 */};static const struct SiS_CHTVRegData SiS300_CHTVReg_UPAL[] ={ {{0x41,0x12,0x01,0x50,0x34,0,0,0,0,0,0,0,0,0,0,0}}, {{0x41,0x12,0x00,0x50,0x00,0,0,0,0,0,0,0,0,0,0,0}}, {{0x41,0x12,0x01,0x50,0x34,0,0,0,0,0,0,0,0,0,0,0}}, {{0x41,0x12,0x00,0x50,0x00,0,0,0,0,0,0,0,0,0,0,0}}, {{0x63,0x94,0x01,0x50,0x30,0,0,0,0,0,0,0,0,0,0,0}}, /* Mode 15: 640x480 PAL 5/6 */ {{0x84,0x64,0x01,0x4e,0x2f,0,0,0,0,0,0,0,0,0,0,0}} /* Mode 21: 800x600 PAL 3/4 */};static const struct SiS_CHTVRegData SiS300_CHTVReg_OPAL[] ={ {{0x41,0x12,0x01,0x50,0x34,0,0,0,0,0,0,0,0,0,0,0}}, /* Mode 9: 640x400 PAL 1/1 */ {{0x41,0x12,0x00,0x50,0x00,0,0,0,0,0,0,0,0,0,0,0}}, {{0x41,0x12,0x01,0x50,0x34,0,0,0,0,0,0,0,0,0,0,0}}, {{0x41,0x12,0x00,0x50,0x00,0,0,0,0,0,0,0,0,0,0,0}}, {{0x61,0x94,0x01,0x36,0x30,0,0,0,0,0,0,0,0,0,0,0}}, /* Mode 14: 640x480 PAL 1/1 */ {{0x83,0x76,0x01,0x40,0x31,0,0,0,0,0,0,0,0,0,0,0}} /* Mode 20: 800x600 PAL 5/6 */};static const struct SiS_CHTVRegData SiS300_CHTVReg_SOPAL[] ={ {{0x41,0x12,0x01,0x50,0x34,0,0,0,0,0,0,0,0,0,0,0}}, /* Mode 9: 640x400 PAL 1/1 */ {{0x41,0x12,0x00,0x50,0x00,0,0,0,0,0,0,0,0,0,0,0}}, {{0x41,0x12,0x01,0x50,0x34,0,0,0,0,0,0,0,0,0,0,0}}, {{0x41,0x12,0x00,0x50,0x00,0,0,0,0,0,0,0,0,0,0,0}}, {{0x60,0x30,0x00,0x10,0x00,0,0,0,0,0,0,0,0,0,0,0}}, /* Mode 13: 640x480 PAL 5/4 */ {{0x81,0x50,0x00,0x1b,0x00,0,0,0,0,0,0,0,0,0,0,0}} /* Mode 19: 800x600 PAL 1/1 */};static const unsigned char SiS300_CHTVVCLKUNTSC[] = { 0x29,0x29,0x29,0x29,0x2a,0x2e };static const unsigned char SiS300_CHTVVCLKONTSC[] = { 0x2c,0x2c,0x2c,0x2c,0x2d,0x2b };static const unsigned char SiS300_CHTVVCLKSONTSC[] = { 0x2c,0x2c,0x2c,0x2c,0x2d,0x2b };static const unsigned char SiS300_CHTVVCLKUPAL[] = { 0x2f,0x2f,0x2f,0x2f,0x2f,0x31 };static const unsigned char SiS300_CHTVVCLKOPAL[] = { 0x2f,0x2f,0x2f,0x2f,0x30,0x32 };static const unsigned char SiS300_CHTVVCLKSOPAL[] = { 0x2f,0x2f,0x2f,0x2f,0x36,0x29 };
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -