⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 300vtbl.h

📁 linux下的VIDEO接口驱动程序
💻 H
📖 第 1 页 / 共 5 页
字号:
 {0x65,0x0eff,0x69,0x35be,0x013d,0x08,0x09,0x00,0x00,0x00,0x1a},  /* 3848 */ {0x66,0x06ff,0x7a,0x35d4,0x013e,0x08,0x0a,0x00,0x00,0x00,0x1e},  /* 385e */ {0x68,0x067b,0x8b,0x35ef,0x013f,0x08,0x0b,0x00,0x00,0x00,0x27},  /* 3879 */ {0x69,0x06fd,0x8b,0x35ef,0x0140,0x08,0x0b,0x00,0x00,0x00,0x27},  /* 3879 */ {0x6b,0x07ff,0x8b,0x35ef,0x0000,0x10,0x0b,0x00,0x00,0x00,0x27},  /* 3879 */ {0x6c,0x067b,0x9c,0x35f6,0x0000,0x08,0x0c,0x00,0x00,0x00,0x28},  /* 3880 */ {0x6d,0x06fd,0x9c,0x35f6,0x0000,0x10,0x0c,0x00,0x00,0x00,0x28},  /* 3880 */ {0x6e,0x0e3b,0x6f,0x35b2,0x0000,0x08,0x0e,0x00,0x00,0x00,0x29},  /* 383c */ {0x6f,0x0e7d,0x6f,0x35b2,0x0000,0x08,0x0e,0x00,0x00,0x00,0x29},  /* 383c */ {0x7b,0x0eff,0x6f,0x35b2,0x0000,0x08,0x0e,0x00,0x00,0x00,0x29},  /* 383c */ {0x7c,0x221b,0xb3,0x363e,0x0000,0x08,0x0f,0x00,0x00,0x00,0x2b},  /* 38c8 */ {0x7d,0x221d,0xb3,0x363e,0x0000,0x08,0x0f,0x00,0x00,0x00,0x2b},  /* 38c8 */ {0x7e,0x223f,0xb3,0x363e,0x0000,0x08,0x0f,0x00,0x00,0x00,0x2b},  /* 38c8 */ {0xff,0x0000,0x00,0x0000,0xffff,0x00,0x00,0x00,0x00,0x00,0x00}};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;SiS300_Ext2Struct  SiS300_RefIndex[]={ /* TW: Don't ever insert anything here, table is indexed */ {0x085f,0x0d,0x03,0x05,0x6a, 800, 600,0x3563}, {0x0467,0x0e,0x44,0x05,0x6a, 800, 600,0x3568}, {0x0067,0x4f,0x07,0x48,0x6a, 800, 600,0x356d}, {0x0067,0x10,0x06,0x8b,0x6a, 800, 600,0x3572}, {0x0147,0x11,0x08,0x00,0x6a, 800, 600,0x3577}, {0x0147,0x12,0x0c,0x00,0x6a, 800, 600,0x357c}, {0x0047,0x51,0x4e,0x00,0x6a, 800, 600,0x3581}, {0x0047,0x11,0x13,0x00,0x6a, 800, 600,0x3586}, {0xc85f,0x05,0x00,0x04,0x2e, 640, 480,0x3539}, {0xc067,0x06,0x02,0x04,0x2e, 640, 480,0x353e}, {0xc067,0x07,0x02,0x47,0x2e, 640, 480,0x3543}, {0xc067,0x08,0x03,0x8a,0x2e, 640, 480,0x3548}, {0xc047,0x09,0x05,0x00,0x2e, 640, 480,0x354d}, {0xc047,0x0a,0x08,0x00,0x2e, 640, 480,0x3552}, {0xc047,0x0b,0x0a,0x00,0x2e, 640, 480,0x3557}, {0xc047,0x0c,0x10,0x00,0x2e, 640, 480,0x355c}, {0x487f,0x04,0x00,0x00,0x2f, 640, 400,0x3532}, {0xc00f,0x31,0x01,0x06,0x31,2048,1536,0x3630}, {0x000f,0x32,0x03,0x06,0x32, 720, 480,0x3637}, {0x0187,0x15,0x05,0x00,0x37,1024, 768,0x358d}, /* {0xc877,0x16,0x09,0x06,0x37,1024, 768,0x3592}, <--- different in BIOS */ {0xc077,0x16,0x09,0x06,0x37,1024, 768,0x3592}, {0xc067,0x97,0x0b,0x49,0x37,1024, 768,0x3597}, {0x0267,0x18,0x0d,0x00,0x37,1024, 768,0x359c}, {0x0047,0x59,0x11,0x8c,0x37,1024, 768,0x35a1}, {0x0047,0x1a,0x52,0x00,0x37,1024, 768,0x35a6}, {0x0047,0x5b,0x16,0x00,0x37,1024, 768,0x35ab}, {0x0387,0x5c,0x4d,0x00,0x3a,1280,1024,0x35be}, {0x0077,0x1d,0x14,0x07,0x3a,1280,1024,0x35c3}, {0x0047,0x1e,0x17,0x00,0x3a,1280,1024,0x35c8}, {0x0007,0x1f,0x98,0x00,0x3a,1280,1024,0x35cd}, {0x0007,0x60,0x59,0x00,0x3c,1600,1200,0x35d4}, {0x0007,0x21,0x5a,0x00,0x3c,1600,1200,0x35d9}, {0x0007,0x22,0x1b,0x00,0x3c,1600,1200,0x35de}, {0x0007,0x63,0x1d,0x00,0x3c,1600,1200,0x35e3}, {0x0007,0x24,0x1e,0x00,0x3c,1600,1200,0x35e8}, /* TW: No 1600x1200 LCD mode? */ {0x407f,0x00,0x00,0x00,0x40, 320, 200,0x3516}, {0xc07f,0x01,0x00,0x04,0x50, 320, 240,0x351d}, {0x0077,0x02,0x04,0x05,0x51, 400, 300,0x3524}, {0xc077,0x03,0x09,0x06,0x52, 512, 384,0x352b}, {0x8207,0x25,0x1f,0x00,0x68,1920,1440,0x35ef}, {0x0007,0x26,0x20,0x00,0x6c,2048,1536,0x35f6}, {0x0027,0x27,0x14,0x08,0x6e, 720, 576,0x35b2}, {0x0027,0x27,0x14,0x08,0x6e, 720, 576,0x35b7}, /* TW: 1280x960 identical to BIOS */ /* TW:              v--- I doubt this - no CRT2? */ {0x00df,0x33,0x28,0x00,0x7c,1280, 960,0x363e}, {0xc05f,0x34,0x28,0x00,0x7c,1280, 960,0x3643},#if 0 /* TW: The LCD modes for 1280x960 are missing! */ /*     Values guessed! */ {0x00a7,0x33,0x28,0x08,0x7c,1280, 960,0xDEAD},  /* Do we need an interlace mode? */ {0xc027,0x34,0x28,0x08,0x7c,1280, 960,0xBEEF}, /* TW:    |         |---- This is either 0x07 or 0x08  */#endif /*  +---- Same as for the non-interlace mode */ {0xffff,0,0,0,0,0,0,0}};/* TW: These entries are contained in the BIOS but missing in table above: (resolution unknown) */#if 0 /* at 0x3887: (not indexed by EModeIDTable in BIOS either) */ {0x0057,0x28,0x27,0x08,... } {0x0047,0x29,0x06,0x08,... } {0x0047,0x2a,0x08,0x08,... } /* table end */ /* at 0x3898: (not indexed by EModeIDTable in BIOS either)*/ {0x0057,0x2b,0x09,0x09,... } {0x0047,0x2c,0x0d,0x09,... } {0x0047,0x2d,0x11,0x09,... } /* table end */ /* at 0x38a9: (not indexed by EModeIDTable in BIOS either) */ {0x0057,0x2e,0x14,0x0a,... } {0x0047,0x2f,0x17,0x0a,... } {0x0047,0x30,0x18,0x0a,... } /* table end */#endif/*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;SiS_VBModeIDTableStruct  SiS300_VBModeIDTable[]={	{0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00},	{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}};/*end*//* TW: The following table is (now) identical to BIOS */typedef struct _SiS300_CRT1TableStruct{	UCHAR CR[17];} SiS300_CRT1TableStruct;SiS300_CRT1TableStruct  SiS300_CRT1Table[]={ /* at 0x4014 in BIOS */ {{0x2d,0x27,0x28,0x90,/*0x2b*/ 0x2c,0x80,0xbf,0x1f,  /* <--- was different to BIOS */  0x9c,0x8e,0x8f,0x96,0xb9,0x30,0x00,0x00,  0x00}}, {{0x2d,0x27,0x28,0x90,/*0x2b*/ 0x2c,0x80,0x0b,0x3e,  /* <--- was different to BIOS */  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,    /* 10 */  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,   /* 20 */  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,  /* 30 */  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}},  /* TW: TEST, should be 0x30? */ {{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,  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,  0x58,0x8a,0x3f,0x57,0x70,0x20,0x00,0x05,  0x01}}, {{0x86,0x6a,0x6a,0x8a,0x74,0x06,0x8c,0x15,	/* 1280x960 */  0x4f,0x83,0xef,0xef,0x8d,0x30,0x00,0x02,  0x00}}, {{0x81,0x6a,0x6a,0x85,0x70,0x00,0x0f,0x3e,	/* 1280x960 */  0xeb,0x8e,0xdf,0xdf,0x10,0x00,0x00,0x02,  0x00}}  /* end @ 0x4399 */};typedef struct _SiS300_MCLKDataStruct{	UCHAR SR28,SR29,SR2A;	USHORT CLOCK;} SiS300_MCLKDataStruct;SiS300_MCLKDataStruct  SiS300_MCLKData[]={ /* 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}};typedef struct _SiS300_ECLKDataStruct{	UCHAR SR2E,SR2F,SR30;	USHORT CLOCK;} SiS300_ECLKDataStruct;SiS300_ECLKDataStruct  SiS300_ECLKData[]={ /* TW: at 0x7c in BIOS */	{ 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;SiS300_VCLKDataStruct  SiS300_VCLKData[]={ /* TW: At 0x484e in BIOS */	{ 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},	{ 0x41,0x43, 79},	{ 0x31,0x42, 79},	{ 0x46,0x25, 85},	{ 0x78,0x29, 87},	{ 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},  /* 0x1f - 1920x1440 */	{ 0x24,0x01,266},  /* 0x20 - 2048x1536 */	{ 0x52,0x2a, 54},	{ 0x52,0x6a, 27},	{ 0x62,0x24, 70},	{ 0x62,0x64, 70},	{ 0xa8,0x4c, 30},	{ 0x20,0x26, 33},	{ 0x31,0xc2, 39},	{ 0xbf,0xc8, 35},  /* 0x28 - 1280x960 ??? that can't be right */	{ 0x60,0x36, 30},	{ 0x40,0x4a, 28},	{ 0x9f,0x46, 44},	{ 0x97,0x2c, 26},	{ 0x44,0xe4, 25},	{ 0x7e,0x32, 47},	{ 0x8a,0x24, 31},	{ 0x97,0x2c, 26},	{ 0xce,0x3c, 39},	{ 0x52,0x4a, 36},	{ 0x34,0x61, 95},	{ 0x78,0x27,108},	{ 0xce,0x25,189},  /* TW: This was missing */	{ 0xff,0x1b,6625}};/* TW: at 0x377d in BIOS */UCHAR SiS300_ScreenOffset[]={	0x14,0x19,0x20,0x28,0x32,0x40,0x50,        0x64,0x78,0x80,0x2d,0x35,0xff};typedef struct _SiS300_StResInfoStruct{	USHORT HTotal;	USHORT VTotal;} SiS300_StResInfoStruct;SiS300_StResInfoStruct  SiS300_StResInfo[]={	{ 640,400},	{ 640,350},	{ 720,400},	{ 720,350},	{ 640,480}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -