📄 300vtbl.h
字号:
typedef struct _SiS300_Ext2Struct{ USHORT Ext_InfoFlag; UCHAR Ext_CRT1CRTC; /* TW: Index in SiS300_CRT1Table */ UCHAR Ext_CRTVCLK; UCHAR Ext_CRT2CRTC; /* TW: Index in LCD Paneltype arrays (&3f) */ UCHAR ModeID; USHORT XRes; USHORT YRes; USHORT ROM_OFFSET;} SiS300_Ext2Struct;static const SiS300_Ext2Struct SiS300_RefIndex[]={ /* TW: Don't ever insert anything here, table is indexed */ {0x085f,0x0d,0x03,0x05,0x6a, 800, 600,0x3563}, /* 00 */ {0x0467,0x0e,0x44,0x05,0x6a, 800, 600,0x3568}, /* 01 */ {0x0067,0x4f,0x07,0x48,0x6a, 800, 600,0x356d}, /* 02 */ {0x0067,0x10,0x06,0x8b,0x6a, 800, 600,0x3572}, /* 03 */ {0x0147,0x11,0x08,0x00,0x6a, 800, 600,0x3577}, /* 04 */ {0x0147,0x12,0x0c,0x00,0x6a, 800, 600,0x357c}, /* 05 */ {0x0047,0x51,0x4e,0x00,0x6a, 800, 600,0x3581}, /* 06 */ {0x0047,0x11,0x13,0x00,0x6a, 800, 600,0x3586}, /* 07 */ {0xc85f,0x05,0x00,0x04,0x2e, 640, 480,0x3539}, /* 08 */ {0xc067,0x06,0x02,0x04,0x2e, 640, 480,0x353e}, /* 09 */ {0xc067,0x07,0x02,0x47,0x2e, 640, 480,0x3543}, /* 0a */ {0xc067,0x08,0x03,0x8a,0x2e, 640, 480,0x3548}, /* 0b */ {0xc047,0x09,0x05,0x00,0x2e, 640, 480,0x354d}, /* 0c */ {0xc047,0x0a,0x08,0x00,0x2e, 640, 480,0x3552}, /* 0d */ {0xc047,0x0b,0x0a,0x00,0x2e, 640, 480,0x3557}, /* 0e */ {0xc047,0x0c,0x10,0x00,0x2e, 640, 480,0x355c}, /* 0f */ {0x487f,0x04,0x00,0x00,0x2f, 640, 400,0x3532}, /* 10 */ {0xc00f,0x31,0x01,0x06,0x31, 720, 480,0x3630}, /* 11 */ {0x000f,0x32,0x03,0x06,0x32, 720, 576,0x3637}, /* 12 */ {0x0187,0x15,0x05,0x00,0x37,1024, 768,0x358d}, /* 13 */ {0xc877,0x16,0x09,0x06,0x37,1024, 768,0x3592}, /* 14 */ {0xc067,0x97,0x0b,0x49,0x37,1024, 768,0x3597}, /* 15 */ {0x0267,0x18,0x0d,0x00,0x37,1024, 768,0x359c}, /* 16 */ {0x0047,0x59,0x11,0x8c,0x37,1024, 768,0x35a1}, /* 17 */ {0x0047,0x1a,0x52,0x00,0x37,1024, 768,0x35a6}, /* 18 */ {0x0047,0x5b,0x16,0x00,0x37,1024, 768,0x35ab}, /* 19 */ {0x0387,0x5c,0x4d,0x00,0x3a,1280,1024,0x35be}, /* 1a */ {0x0077,0x1d,0x14,0x07,0x3a,1280,1024,0x35c3}, /* 1b */ {0x0047,0x1e,0x17,0x00,0x3a,1280,1024,0x35c8}, /* 1c */ {0x0007,0x1f,0x98,0x00,0x3a,1280,1024,0x35cd}, /* 1d */ {0x0007,0x60,0x59,0x00,0x3c,1600,1200,0x35d4}, /* 1e */ {0x0007,0x21,0x5a,0x00,0x3c,1600,1200,0x35d9}, /* 1f */ {0x0007,0x22,0x1b,0x00,0x3c,1600,1200,0x35de}, /* 20 */ {0x0007,0x63,0x1d,0x00,0x3c,1600,1200,0x35e3}, /* 21 */ {0x0007,0x24,0x1e,0x00,0x3c,1600,1200,0x35e8}, /* 22 */ {0x407f,0x00,0x00,0x00,0x40, 320, 200,0x3516}, /* 23 */ {0xc07f,0x01,0x00,0x04,0x50, 320, 240,0x351d}, /* 24 */ {0x0077,0x02,0x04,0x05,0x51, 400, 300,0x3524}, /* 25 */ {0xc877,0x03,0x09,0x06,0x52, 512, 384,0x352b}, /* 26 */ /* was c077 */ {0x8207,0x25,0x1f,0x00,0x68,1920,1440,0x35ef}, /* 27 */ {0x0007,0x26,0x20,0x00,0x6c, 720, 480,0x35f6}, /* 28 */ {0x0027,0x27,0x14,0x08,0x6e,1280, 960,0x35b2}, /* 29 */ {0x0027,0x27,0x14,0x08,0x6e,1280, 960,0x35b7}, /* 2a */ {0xc077,0x33,0x09,0x06,0x20,1024, 600,0x0000}, /* 2b */ {0xc077,0x34,0x09,0x06,0x23,1152, 768,0x0000}, /* 2c */ {0xffff,0,0,0,0,0,0,0}};/*add for 300 oem util*/typedef struct _SiS_VBModeIDTableStruct{ UCHAR ModeID; UCHAR VB_TVDelayIndex; UCHAR VB_TVFlickerIndex; UCHAR VB_TVPhaseIndex; UCHAR VB_TVYFilterIndex; UCHAR VB_LCDDelayIndex; UCHAR _VB_LCDHIndex; UCHAR _VB_LCDVIndex;}SiS_VBModeIDTableStruct;static const SiS_VBModeIDTableStruct SiS300_VBModeIDTable[]={ {0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, /* TW: Identical to 630/301B 2.04.50 BIOS */ {0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x01}, {0x01,0x00,0x00,0x00,0x01,0x00,0x01,0x02}, {0x03,0x00,0x00,0x00,0x02,0x00,0x02,0x00}, {0x03,0x00,0x00,0x00,0x02,0x00,0x02,0x01}, {0x03,0x00,0x00,0x00,0x03,0x00,0x03,0x02}, {0x05,0x00,0x00,0x01,0x04,0x00,0x00,0x00}, {0x06,0x00,0x00,0x01,0x05,0x00,0x02,0x00}, {0x07,0x00,0x00,0x00,0x03,0x00,0x03,0x01}, {0x07,0x00,0x00,0x00,0x03,0x00,0x03,0x02}, {0x0d,0x00,0x00,0x01,0x04,0x00,0x00,0x00}, {0x0e,0x00,0x00,0x01,0x05,0x00,0x02,0x00}, {0x0f,0x00,0x00,0x01,0x05,0x00,0x02,0x01}, {0x10,0x00,0x00,0x01,0x05,0x00,0x02,0x01}, {0x11,0x00,0x00,0x01,0x05,0x00,0x02,0x03}, {0x12,0x00,0x00,0x01,0x05,0x00,0x02,0x03}, {0x13,0x00,0x00,0x01,0x04,0x00,0x04,0x00}, {0x6a,0x00,0x00,0x01,0x07,0x00,0x08,0x0a}, {0x2e,0x00,0x00,0x01,0x05,0x00,0x06,0x08}, {0x2f,0x00,0x00,0x01,0x05,0x00,0x06,0x06}, {0x30,0x00,0x00,0x01,0x07,0x00,0x08,0x0a}, {0x31,0x00,0x00,0x01,0x06,0x00,0x00,0x00}, {0x32,0x00,0x00,0x01,0x06,0x00,0x00,0x00}, {0x37,0x00,0x00,0x01,0x00,0x00,0x0a,0x0c}, {0x38,0x00,0x00,0x01,0x00,0x00,0x0a,0x0c}, {0x3a,0x00,0x00,0x01,0x00,0x00,0x0b,0x0d}, {0x40,0x00,0x00,0x01,0x04,0x00,0x05,0x05}, {0x41,0x00,0x00,0x01,0x04,0x00,0x05,0x05}, {0x43,0x00,0x00,0x01,0x05,0x00,0x06,0x08}, {0x44,0x00,0x00,0x01,0x05,0x00,0x06,0x08}, {0x46,0x00,0x00,0x01,0x07,0x00,0x08,0x0a}, {0x47,0x00,0x00,0x01,0x07,0x00,0x08,0x0a}, {0x49,0x00,0x00,0x01,0x00,0x00,0x0a,0x0c}, {0x4a,0x00,0x00,0x01,0x00,0x00,0x0a,0x0c}, {0x4c,0x00,0x00,0x01,0x00,0x00,0x0b,0x0d}, {0x4d,0x00,0x00,0x01,0x00,0x00,0x0b,0x0d}, {0x50,0x00,0x00,0x01,0x04,0x00,0x05,0x07}, {0x51,0x00,0x00,0x01,0x07,0x00,0x07,0x09}, {0x52,0x00,0x00,0x01,0x00,0x00,0x09,0x0b}, {0x56,0x00,0x00,0x01,0x04,0x00,0x05,0x07}, {0x57,0x00,0x00,0x01,0x07,0x00,0x07,0x09}, {0x58,0x00,0x00,0x01,0x00,0x00,0x09,0x0b}, {0x59,0x00,0x00,0x01,0x04,0x00,0x05,0x05}, {0x5d,0x00,0x00,0x01,0x07,0x00,0x06,0x06}, {0x62,0x00,0x00,0x01,0x05,0x00,0x06,0x08}, {0x63,0x00,0x00,0x01,0x07,0x00,0x08,0x0a}, {0x64,0x00,0x00,0x01,0x00,0x00,0x0a,0x0c}, {0x65,0x00,0x00,0x01,0x00,0x00,0x0b,0x0d}, {0x6e,0x00,0x00,0x01,0x00,0x00,0x0b,0x0d}, {0x6f,0x00,0x00,0x01,0x00,0x00,0x0b,0x0d}, {0x7b,0x00,0x00,0x01,0x00,0x00,0x0b,0x0d}, {0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00} /* TW: added! */};/*end*/typedef struct _SiS300_CRT1TableStruct{ UCHAR CR[17];} SiS300_CRT1TableStruct;static const SiS300_CRT1TableStruct SiS300_CRT1Table[]={ {{0x2d,0x27,0x28,0x90,0x2c,0x80,0xbf,0x1f, /* 0x00 */ 0x9c,0x8e,0x8f,0x96,0xb9,0x30,0x00,0x00, 0x00}}, {{0x2d,0x27,0x28,0x90,0x2c,0x80,0x0b,0x3e, 0xe9,0x8b,0xdf,0xe7,0x04,0x00,0x00,0x00, 0x00}}, {{0x3d,0x31,0x31,0x81,0x37,0x1f,0x72,0xf0, 0x58,0x8c,0x57,0x57,0x73,0x20,0x00,0x05, 0x01}}, {{0x4f,0x3f,0x3f,0x93,0x45,0x0d,0x24,0xf5, 0x02,0x88,0xff,0xff,0x25,0x10,0x00,0x01, 0x01}}, {{0x5f,0x4f,0x50,0x82,0x55,0x81,0xbf,0x1f, 0x9c,0x8e,0x8f,0x96,0xb9,0x30,0x00,0x05, 0x00}}, {{0x5f,0x4f,0x50,0x82,0x55,0x81,0x0b,0x3e, 0xe9,0x8b,0xdf,0xe7,0x04,0x00,0x00,0x05, 0x00}}, {{0x63,0x4f,0x50,0x86,0x56,0x9b,0x06,0x3e, 0xe8,0x8b,0xdf,0xe7,0xff,0x10,0x00,0x01, 0x00}}, {{0x64,0x4f,0x4f,0x88,0x55,0x9d,0xf2,0x1f, 0xe0,0x83,0xdf,0xdf,0xf3,0x10,0x00,0x01, 0x00}}, {{0x63,0x4f,0x4f,0x87,0x5a,0x81,0xfb,0x1f, 0xe0,0x83,0xdf,0xdf,0xfc,0x10,0x00,0x05, 0x00}}, {{0x66,0x4f,0x4f,0x86,0x56,0x9e,0x03,0x3e, 0xe4,0x87,0xdf,0xdf,0x04,0x00,0x00,0x01, 0x00}}, {{0x6c,0x4f,0x4f,0x83,0x59,0x9e,0x00,0x3e, /* 0x0a */ 0xe5,0x8d,0xdf,0xdf,0x01,0x00,0x00,0x01, 0x00}}, {{0x63,0x4f,0x4f,0x87,0x56,0x9d,0xfb,0x1f, 0xe0,0x83,0xdf,0xdf,0xfc,0x10,0x00,0x01, 0x00}}, {{0x65,0x4f,0x4f,0x89,0x57,0x9f,0xfb,0x1f, 0xe6,0x8a,0xe5,0xe5,0xfc,0x00,0x00,0x01, 0x00}}, {{0x7b,0x63,0x63,0x9f,0x6a,0x93,0x6f,0xf0, 0x58,0x8a,0x57,0x57,0x70,0x20,0x00,0x05, 0x01}}, {{0x7f,0x63,0x63,0x83,0x6c,0x1c,0x72,0xf0, 0x58,0x8c,0x57,0x57,0x73,0x20,0x00,0x06, 0x01}}, {{0x7d,0x63,0x63,0x81,0x6e,0x1d,0x98,0xf0, 0x7c,0x82,0x57,0x57,0x99,0x00,0x00,0x06, 0x01}}, {{0x7f,0x63,0x63,0x83,0x69,0x13,0x6f,0xf0, 0x58,0x8b,0x57,0x57,0x70,0x20,0x00,0x06, 0x01}}, {{0x7e,0x63,0x63,0x82,0x6b,0x13,0x75,0xf0, 0x58,0x8b,0x57,0x57,0x76,0x20,0x00,0x06, 0x01}}, {{0x8c,0x63,0x63,0x87,0x72,0x16,0x7e,0xf0, 0x59,0x8d,0x57,0x57,0x7f,0x00,0x00,0x06, 0x01}}, {{0x7e,0x63,0x63,0x82,0x6c,0x14,0x75,0xe0, 0x58,0x0b,0x57,0x57,0x76,0x20,0x00,0x06, 0x01}}, {{0x7e,0x63,0x63,0x82,0x6c,0x14,0x75,0xe0, /* 0x14 */ 0x58,0x0b,0x57,0x57,0x76,0x20,0x00,0x06, 0x01}}, {{0x99,0x7f,0x7f,0x9d,0x84,0x1a,0x96,0x1f, 0x7f,0x83,0x7f,0x7f,0x97,0x10,0x00,0x02, 0x00}}, {{0xa3,0x7f,0x7f,0x87,0x86,0x97,0x24,0xf5, 0x02,0x88,0xff,0xff,0x25,0x10,0x00,0x02, 0x01}}, {{0xa1,0x7f,0x7f,0x85,0x86,0x97,0x24,0xf5, 0x02,0x88,0xff,0xff,0x25,0x10,0x00,0x02, 0x01}}, {{0x9f,0x7f,0x7f,0x83,0x85,0x91,0x1e,0xf5, 0x00,0x83,0xff,0xff,0x1f,0x10,0x00,0x02, 0x01}}, {{0xa7,0x7f,0x7f,0x8b,0x89,0x95,0x26,0xf5, 0x00,0x83,0xff,0xff,0x27,0x10,0x00,0x02, 0x01}}, {{0x9f,0x7f,0x7f,0x83,0x83,0x93,0x1e,0xf5, 0x00,0x84,0xff,0xff,0x1f,0x10,0x00,0x02, 0x01}}, {{0xa2,0x7f,0x7f,0x86,0x84,0x94,0x37,0xf5, 0x0b,0x82,0xff,0xff,0x38,0x10,0x00,0x02, 0x01}}, {{0xcf,0x9f,0x9f,0x93,0xb2,0x01,0x14,0xba, 0x00,0x83,0xff,0xff,0x15,0x00,0x00,0x03, 0x00}}, {{0xce,0x9f,0x9f,0x92,0xa9,0x17,0x28,0x5a, 0x00,0x83,0xff,0xff,0x29,0x09,0x00,0x07, 0x01}}, {{0xce,0x9f,0x9f,0x92,0xa5,0x17,0x28,0x5a, /* 0x1e */ 0x00,0x83,0xff,0xff,0x29,0x09,0x00,0x07, 0x01}}, {{0xd3,0x9f,0x9f,0x97,0xab,0x1f,0x2e,0x5a, 0x00,0x83,0xff,0xff,0x2f,0x09,0x00,0x07, 0x01}}, {{0x09,0xc7,0xc7,0x8d,0xd3,0x0b,0xe0,0x10, 0xb0,0x83,0xaf,0xaf,0xe1,0x2f,0x01,0x04, 0x00}}, {{0x09,0xc7,0xc7,0x8d,0xd3,0x0b,0xe0,0x10, 0xb0,0x83,0xaf,0xaf,0xe1,0x2f,0x01,0x04, 0x00}}, {{0x09,0xc7,0xc7,0x8d,0xd3,0x0b,0xe0,0x10, 0xb0,0x83,0xaf,0xaf,0xe1,0x2f,0x01,0x04, 0x00}}, {{0x09,0xc7,0xc7,0x8d,0xd3,0x0b,0xe0,0x10, 0xb0,0x83,0xaf,0xaf,0xe1,0x2f,0x01,0x04, 0x00}}, {{0x09,0xc7,0xc7,0x8d,0xd3,0x0b,0xe0,0x10, /* 36: 1600x1200x85Hz */ 0xb0,0x83,0xaf,0xaf,0xe1,0x2f,0x01,0x04, 0x00}}, {{0x3f,0xef,0xef,0x83,0xfd,0x1a,0xda,0x1f, /* 37: 1920x1440x60Hz */ 0xa0,0x84,0x9f,0x9f,0xdb,0x1f,0x01,0x01, 0x00}}, {{0x55,0xff,0xff,0x99,0x0d,0x0c,0x3e,0xba, 0x00,0x84,0xff,0xff,0x3f,0x0f,0x41,0x05, 0x00}}, {{0xdc,0x9f,0x9f,0x00,0xab,0x19,0xe6,0xef, 0xc0,0xc3,0xbf,0xbf,0xe7,0x10,0x00,0x07, 0x01}}, {{0x7f,0x63,0x63,0x83,0x6c,0x1c,0x72,0xba, /* 0x28 */ 0x27,0x8b,0xdf,0xdf,0x73,0x00,0x00,0x06, 0x01}}, {{0x7f,0x63,0x63,0x83,0x69,0x13,0x6f,0xba, 0x26,0x89,0xdf,0xdf,0x6f,0x00,0x00,0x06, 0x01}}, {{0x7f,0x63,0x63,0x82,0x6b,0x13,0x75,0xba, 0x29,0x8c,0xdf,0xdf,0x75,0x00,0x00,0x06, 0x01}}, {{0xa3,0x7f,0x7f,0x87,0x86,0x97,0x24,0xf1, 0xaf,0x85,0x3f,0x3f,0x25,0x30,0x00,0x02, 0x01}}, {{0x9f,0x7f,0x7f,0x83,0x85,0x91,0x1e,0xf1, 0xad,0x81,0x3f,0x3f,0x1f,0x30,0x00,0x02, 0x01}}, {{0xa7,0x7f,0x7f,0x88,0x89,0x15,0x26,0xf1, 0xb1,0x85,0x3f,0x3f,0x27,0x30,0x00,0x02, 0x01}}, {{0xce,0x9f,0x9f,0x92,0xa9,0x17,0x28,0xc4, 0x7a,0x8e,0xcf,0xcf,0x29,0x21,0x00,0x07, 0x01}}, {{0xce,0x9f,0x9f,0x92,0xa5,0x17,0x28,0xd4, 0x7a,0x8e,0xcf,0xcf,0x29,0x21,0x00,0x07, 0x01}}, {{0xd3,0x9f,0x9f,0x97,0xab,0x1f,0x2e,0xd4, 0x7d,0x81,0xcf,0xcf,0x2f,0x21,0x00,0x07, 0x01}}, {{0x6b,0x59,0x59,0x8f,0x5e,0x8c,0x0b,0x3e, 0xe9,0x8b,0xdf,0xe7,0x04,0x00,0x00,0x05, 0x00}}, {{0x7b,0x59,0x63,0x9f,0x6a,0x93,0x6f,0xf0, /* 0x32 */ 0x58,0x8a,0x3f,0x57,0x70,0x20,0x00,0x05, 0x01}}, {{0xa3,0x7f,0x7f,0x87,0x86,0x97,0x1e,0xf1, /* 0x33 - 1024x600 */ 0xae,0x85,0x57,0x57,0x1f,0x30,0x00,0x02, 0x01}}, {{0xa3,0x7f,0x7f,0x87,0x86,0x97,0x24,0xf5, /* 0x34 - 1152x768 */ 0x02,0x88,0xff,0xff,0x25,0x10,0x00,0x02, 0x01}}};typedef struct _SiS300_MCLKDataStruct{ UCHAR SR28,SR29,SR2A; USHORT CLOCK;} SiS300_MCLKDataStruct;static const SiS300_MCLKDataStruct SiS300_MCLKData_630[] = /* 630 */{ /* TW: at 0x54 in BIOS */ { 0x5a,0x64,0x80, 66}, { 0xb3,0x45,0x80, 83}, { 0x37,0x61,0x80,100}, { 0x37,0x22,0x80,133}, { 0x37,0x61,0x80,100}, { 0x37,0x61,0x80,100}, { 0x37,0x61,0x80,100}, { 0x37,0x61,0x80,100}};static const SiS300_MCLKDataStruct SiS300_MCLKData_300[] = /* 300 */{ /* TW: at 0x54 in BIOS */ { 0x68,0x43,0x80,125}, { 0x68,0x43,0x80,125}, { 0x68,0x43,0x80,125}, { 0x37,0x61,0x80,100}, { 0x37,0x61,0x80,100}, { 0x37,0x61,0x80,100}, { 0x37,0x61,0x80,100}, { 0x37,0x61,0x80,100}};typedef struct _SiS300_ECLKDataStruct{ UCHAR SR2E,SR2F,SR30; USHORT CLOCK;} SiS300_ECLKDataStruct;static const SiS300_ECLKDataStruct SiS300_ECLKData[]={ { 0x54,0x43,0x80,100}, { 0x53,0x43,0x80,100}, { 0x55,0x43,0x80,100}, { 0x52,0x43,0x80,100}, { 0x3f,0x42,0x80,100}, { 0x54,0x43,0x80,100}, { 0x54,0x43,0x80,100}, { 0x54,0x43,0x80,100}};typedef struct _SiS300_VCLKDataStruct{ UCHAR SR2B,SR2C; USHORT CLOCK;} SiS300_VCLKDataStruct;static const SiS300_VCLKDataStruct SiS300_VCLKData[]={ { 0x1b,0xe1, 25}, { 0x4e,0xe4, 28}, { 0x57,0xe4, 32}, { 0xc3,0xc8, 36}, { 0x42,0xc3, 40}, { 0x5d,0xc4, 45}, { 0x52,0x65, 50}, { 0x53,0x65, 50}, { 0x6d,0x66, 56}, { 0x5a,0x64, 65}, { 0x46,0x44, 68}, { 0x3e,0x43, 75}, { 0x6d,0x46, 76}, /* 0x0c: 800x600 | LVDS_2(CH), MITAC(CH); - LVDS2(CH), A901(301B): 0xb1,0x46, 76 */ { 0x41,0x43, 79}, { 0x31,0x42, 79}, { 0x46,0x25, 85}, { 0x78,0x29, 87}, /* 0x10 */ { 0x62,0x44, 95}, { 0x2b,0x22,105}, { 0x49,0x24,106}, { 0xc3,0x28,108}, { 0x3c,0x23,109}, { 0xf7,0x2c,132}, { 0xd4,0x28,136}, { 0x41,0x05,158}, { 0x43,0x05,162}, { 0xe1,0x0f,175}, { 0xfc,0x12,189}, { 0xde,0x26,194}, { 0x54,0x05,203}, { 0x3f,0x03,230}, { 0x30,0x02,234}, { 0x24,0x01,266}, /* 0x20 */ { 0x52,0x2a, 54}, /* 301 TV */ { 0x52,0x6a, 27}, /* 301 TV */ { 0x62,0x24, 70}, /* 301 TV */ { 0x62,0x64, 70}, /* 301 TV */ { 0xa8,0x4c, 30}, /* 301 TV */ { 0x20,0x26, 33}, /* 301 TV */ { 0x31,0xc2, 39}, { 0xbf,0xc8, 35}, /* 0x28 */ { 0x60,0x36, 30}, /* 0x29 CH/UNTSC TEXT | LVDS_2(CH) - LVDS2(CH), A901(301B), Mitac(CH): 0xe0, 0xb6, 30 */ { 0x40,0x4a, 28}, { 0x9f,0x46, 44}, { 0x97,0x2c, 26}, { 0x44,0xe4, 25}, { 0x7e,0x32, 47}, { 0x8a,0x24, 31}, /* 0x2f CH/PAL TEXT | LVDS_2(CH), Mitac(CH) - LVDS2(CH), A901(301B): 0x57, 0xe4, 31 */ { 0x97,0x2c, 26}, { 0xce,0x3c, 39}, { 0x52,0x4a, 36}, { 0x34,0x61, 95}, { 0x78,0x27,108}, { 0xce,0x25,189}, { 0x45,0x6b, 21}, /* 0x36 */ /* TW: Added from Mitac */ { 0xff,0x00, 0}};#if 0 /* TW: This table is in all BIOSes, but not used */static const SiS300_VCLKDataStruct SiS300_VBVCLKData[]={ { 0x1b,0xe1, 25}, { 0x4e,0xe4, 28}, { 0x57,0xe4, 31}, { 0xc3,0xc8, 36}, { 0x42,0x47, 40}, { 0x5d,0xc4, 44}, { 0x52,0x47, 49}, { 0x53,0x47, 50}, { 0x6d,0x66, 56}, { 0x5a,0x64, 65}, { 0x46,0x44, 67}, { 0x29,0x61, 75}, { 0x6d,0x46, 75}, { 0x41,0x43, 78}, { 0x31,0x42, 79}, { 0x46,0x25, 84}, { 0x78,0x29, 86}, /* 0x10 */ { 0x62,0x44, 94}, { 0x2b,0x22,104}, { 0x49,0x24,105}, { 0x43,0x42,108}, { 0x3c,0x23,109}, { 0xe0,0x46,132}, { 0x70,0x25,135}, { 0x41,0x22,157}, { 0x43,0x22,162}, { 0x30,0x21,175}, { 0xc1,0x24,189}, { 0xde,0x26,194}, { 0x70,0x07,202}, { 0x3f,0x03,229}, { 0x30,0x02,234}, /* 0x1f */ { 0x24,0x01,265}, /* 0x20 */ { 0x52,0x2a, 54}, { 0x52,0x6a, 27}, { 0x62,0x24, 70}, { 0x62,0x64, 70}, { 0xa8,0x4c, 30}, { 0x20,0x26, 33}, { 0x31,0xc2, 39}, { 0x2e,0x48, 25}, /* 0x28 */ { 0x24,0x46, 25}, /* 0x29 */ { 0x26,0x64, 28}, { 0x37,0x64, 40}, { 0xa1,0x42,108}, { 0x37,0x61,100}, { 0x78,0x27,108}, { 0xff,0x00, 0}};#endifstatic const UCHAR SiS300_ScreenOffset[] ={ 0x14,0x19,0x20,0x28,0x32,0x40,0x50, 0x64,0x78,0x80,0x2d,0x35,0x48,0xff};typedef struct _SiS300_StResInfoStruct{ USHORT HTotal; USHORT VTotal;} SiS300_StResInfoStruct;static const SiS300_StResInfoStruct SiS300_StResInfo[] ={
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -