217 lines
7.3 KiB
Text
217 lines
7.3 KiB
Text
|
|
||
|
/*
|
||
|
|
||
|
Max hor. sync: 56 Hz (1024x768 NI at 70 Hz) --HH
|
||
|
*/
|
||
|
|
||
|
/*********************************************************
|
||
|
** These register value are from a SpeedSTAR Plus V4.23 **
|
||
|
** **
|
||
|
** Oscillator frequencies (from dmode.com) : **
|
||
|
** **
|
||
|
** 25.175 28.322 75.0 72.0 80.0 44.9 50.0 65.0 **
|
||
|
**********************************************************/
|
||
|
|
||
|
/*
|
||
|
( File generated by tseng3.exe )
|
||
|
|
||
|
tseng3 v1.2, Copyright (C) 1993 Tommy Frandsen, Harm Hanemaayer
|
||
|
and Hartmut Schirmer
|
||
|
|
||
|
Permission is granted to any individual or institution to use, copy, or
|
||
|
redistribute this executable so long as it is not modified and that it is
|
||
|
not sold for profit.
|
||
|
|
||
|
LIKE ANYTHING ELSE THAT'S FREE, TSENG3 IS PROVIDED AS IS AND COMES WITH
|
||
|
NO WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. IN NO EVENT WILL
|
||
|
THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES RESULTING FROM THE USE OF
|
||
|
THIS SOFTWARE.
|
||
|
*/
|
||
|
|
||
|
/* Standard VGA dac detected */
|
||
|
#ifndef alt
|
||
|
#define DAC_TYPE 0
|
||
|
|
||
|
#define CLOCK_VALUES { \
|
||
|
/* 0 */ 25175, \
|
||
|
/* 1 */ 28322, \
|
||
|
/* 2 */ 50181, \
|
||
|
/* 3 */ 61231, \
|
||
|
/* 4 */ 67684, \
|
||
|
/* 5 */ 62300, \
|
||
|
/* 6 */ 51760, \
|
||
|
/* 7 */ 59149 \
|
||
|
}
|
||
|
|
||
|
/* ET4000 HiColor BIOS mode 0x13 -- 320x200x32K : NOT SUPPORTED */
|
||
|
#define g320x200x32K_regs DISABLE_MODE
|
||
|
|
||
|
/* ET4000 HiColor BIOS mode 0x13 -- 320x200x64K : NOT SUPPORTED */
|
||
|
#define g320x200x64K_regs DISABLE_MODE
|
||
|
|
||
|
/* ET4000 TrueColor BIOS mode 0x13 -- 320x200x16M : NOT SUPPORTED */
|
||
|
#define g320x200x16M_regs DISABLE_MODE
|
||
|
|
||
|
/* ET4000 BIOS mode 0x2E -- 640x480x256 */
|
||
|
/* Video timing: Vertical frequency : 72.3Hz
|
||
|
Horizontal frequency : 38.0KHz */
|
||
|
static unsigned char g640x480x256_regs[73] = {
|
||
|
0x66,0x4F,0x50,0x89,0x58,0x80,0x0B,0x3E,0x00,0x40,0x00,0x00,
|
||
|
0x00,0x00,0x00,0x00,0xEC,0x8C,0xDF,0x50,0x60,0xE7,0x04,0xAB,
|
||
|
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
|
||
|
0x0C,0x0D,0x0E,0x0F,0x01,0x00,0x0F,0x00,0x00,
|
||
|
0x00,0x00,0x00,0x00,0x00,0x40,0x05,0x0F,0xFF,
|
||
|
0x03,0x01,0x0F,0x00,0x0E,
|
||
|
0xEF,
|
||
|
0x00,0x00,0x28,0x00,0x02,0x00,0x41,0x1F,0x00,0xFC,0x01,0x00,
|
||
|
0x00
|
||
|
};
|
||
|
|
||
|
/* ET4000 HiColor BIOS mode 0x2E -- 640x480x32K : NOT SUPPORTED */
|
||
|
#define g640x480x32K_regs DISABLE_MODE
|
||
|
|
||
|
/* ET4000 HiColor BIOS mode 0x2E -- 640x480x64K : NOT SUPPORTED */
|
||
|
#define g640x480x64K_regs DISABLE_MODE
|
||
|
|
||
|
/* ET4000 TrueColor BIOS mode 0x2E -- 640x480x16M : NOT SUPPORTED */
|
||
|
#define g640x480x16M_regs DISABLE_MODE
|
||
|
|
||
|
/* ET4000 BIOS mode 0x29 -- 800x600x16 */
|
||
|
/* Video timing: Vertical frequency : 72.2Hz
|
||
|
Horizontal frequency : 48.1KHz */
|
||
|
static unsigned char g800x600x16_regs[73] = {
|
||
|
0x7D,0x63,0x64,0x01,0x6C,0x1A,0x98,0xF0,0x00,0x60,0x00,0x00,
|
||
|
0x00,0x00,0x00,0x00,0x69,0x80,0x57,0x32,0x00,0x59,0x7D,0xC3,
|
||
|
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
|
||
|
0x0C,0x0D,0x0E,0x0F,0x01,0x00,0x0F,0x00,0x00,
|
||
|
0x00,0x0F,0x00,0x00,0x00,0x00,0x05,0x0F,0xFF,
|
||
|
0x03,0x01,0x0F,0x00,0x06,
|
||
|
0xAB,
|
||
|
0x00,0x00,0x28,0x00,0x02,0x00,0x41,0x0F,0x00,0xBC,0x01,0x00,
|
||
|
0x00
|
||
|
};
|
||
|
|
||
|
/* ET4000 BIOS mode 0x30 -- 800x600x256 */
|
||
|
/* Video timing: Vertical frequency : 72.2Hz
|
||
|
Horizontal frequency : 48.1KHz */
|
||
|
static unsigned char g800x600x256_regs[73] = {
|
||
|
0x7D,0x63,0x64,0x01,0x6C,0x1A,0x98,0xF0,0x00,0x60,0x00,0x00,
|
||
|
0x00,0x00,0x00,0x00,0x69,0x80,0x57,0x64,0x60,0x59,0x7D,0xAB,
|
||
|
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
|
||
|
0x0C,0x0D,0x0E,0x0F,0x01,0x00,0x0F,0x00,0x00,
|
||
|
0x00,0x00,0x00,0x00,0x00,0x40,0x05,0x0F,0xFF,
|
||
|
0x03,0x01,0x0F,0x00,0x0E,
|
||
|
0xAB,
|
||
|
0x00,0x00,0x28,0x00,0x02,0x00,0x41,0x0F,0x00,0xBC,0x01,0x00,
|
||
|
0x00
|
||
|
};
|
||
|
|
||
|
/* ET4000 HiColor BIOS mode 0x30 -- 800x600x32K : NOT SUPPORTED */
|
||
|
#define g800x600x32K_regs DISABLE_MODE
|
||
|
|
||
|
/* ET4000 HiColor BIOS mode 0x30 -- 800x600x64K : NOT SUPPORTED */
|
||
|
#define g800x600x64K_regs DISABLE_MODE
|
||
|
|
||
|
/* ET4000 TrueColor BIOS mode 0x30 -- 800x600x16M : NOT SUPPORTED */
|
||
|
|
||
|
/* ET4000 BIOS mode 0x37 -- 1024x768x16 */
|
||
|
/* Video timing: Vertical frequency : 70.0Hz
|
||
|
Horizontal frequency : 56.5KHz */
|
||
|
static unsigned char g1024x768x16_regs[73] = {
|
||
|
0xA1,0x7F,0x80,0x04,0x84,0x94,0x24,0xFD,0x00,0x60,0x00,0x00,
|
||
|
0x00,0x00,0x00,0x00,0x03,0x89,0xFF,0x40,0x00,0x01,0x24,0xC3,
|
||
|
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
|
||
|
0x0C,0x0D,0x0E,0x0F,0x01,0x00,0x0F,0x00,0x00,
|
||
|
0x00,0x0F,0x00,0x00,0x00,0x00,0x05,0x0F,0xFF,
|
||
|
0x03,0x01,0x0F,0x00,0x06,
|
||
|
0x2B,
|
||
|
0x00,0x00,0x28,0x00,0x00,0x00,0x41,0x0F,0x00,0xBC,0x01,0x00,
|
||
|
0x00
|
||
|
};
|
||
|
|
||
|
/* ET4000 BIOS mode 0x38 -- 1024x768x256 */
|
||
|
/* Video timing: Vertical frequency : 70.0Hz
|
||
|
Horizontal frequency : 56.4KHz */
|
||
|
static unsigned char g1024x768x256_regs[73] = {
|
||
|
0xA1,0x7F,0x80,0x04,0x84,0x94,0x24,0xFD,0x00,0x60,0x00,0x00,
|
||
|
0x00,0x00,0x00,0x00,0x03,0x89,0xFF,0x80,0x60,0x01,0x24,0xAB,
|
||
|
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
|
||
|
0x0C,0x0D,0x0E,0x0F,0x01,0x00,0x0F,0x00,0x00,
|
||
|
0x00,0x00,0x00,0x00,0x00,0x40,0x05,0x0F,0xFF,
|
||
|
0x03,0x01,0x0F,0x00,0x0E,
|
||
|
0x2B,
|
||
|
0x00,0x00,0x28,0x00,0x00,0x00,0x41,0x0F,0x00,0xBC,0x01,0x00,
|
||
|
0x00
|
||
|
};
|
||
|
|
||
|
/* ET4000 HiColor BIOS mode 0x38 -- 1024x768x32K : NOT SUPPORTED */
|
||
|
|
||
|
/* ET4000 HiColor BIOS mode 0x38 -- 1024x768x64K : NOT SUPPORTED */
|
||
|
|
||
|
/* ET4000 TrueColor BIOS mode 0x38 -- 1024x768x16M : NOT SUPPORTED */
|
||
|
|
||
|
/* ET4000 BIOS mode 0x3D -- 1280x1024x16 : NOT SUPPORTED */
|
||
|
#define g1280x1024x16_regs DISABLE_MODE
|
||
|
|
||
|
/* VESA mode 0x107 -- 1280x1024x256 : NOT SUPPORTED */
|
||
|
|
||
|
/* VESA HiColor mode 0x119 -- 1280x1024x32K : NOT SUPPORTED */
|
||
|
|
||
|
/* VESA HiColor mode 0x11A -- 1280x1024x64K : NOT SUPPORTED */
|
||
|
|
||
|
/* VESA TrueColor mode 0x11B -- 1280x1024x16M : NOT SUPPORTED */
|
||
|
|
||
|
/* --- ET4000 specific modes */
|
||
|
#ifdef _DYNAMIC_ONLY_
|
||
|
|
||
|
/* ET4000 BIOS mode 0x2D -- 640x350x256 */
|
||
|
/* Video timing: Vertical frequency : 70.1Hz
|
||
|
Horizontal frequency : 31.5KHz */
|
||
|
static unsigned char g640x350x256_regs[73] = {
|
||
|
0x5F,0x4F,0x50,0x82,0x54,0x80,0xBF,0x1F,0x00,0x40,0x00,0x00,
|
||
|
0x00,0x00,0x00,0x00,0x83,0x85,0x5D,0x50,0x60,0x63,0xBA,0xAB,
|
||
|
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
|
||
|
0x0C,0x0D,0x0E,0x0F,0x01,0x00,0x0F,0x00,0x00,
|
||
|
0x00,0x00,0x00,0x00,0x00,0x40,0x05,0x0F,0xFF,
|
||
|
0x03,0x01,0x0F,0x00,0x0E,
|
||
|
0xA3,
|
||
|
0x00,0x00,0x28,0x00,0x00,0x00,0x41,0x0F,0x00,0xBC,0x01,0x00,
|
||
|
0x00
|
||
|
};
|
||
|
|
||
|
/* ET4000 HiColor BIOS mode 0x2D -- 640x350x32K : NOT SUPPORTED */
|
||
|
#define g640x350x32K_regs DISABLE_MODE
|
||
|
|
||
|
/* ET4000 HiColor BIOS mode 0x2D -- 640x350x64K : NOT SUPPORTED */
|
||
|
#define g640x350x64K_regs DISABLE_MODE
|
||
|
|
||
|
/* ET4000 TrueColor BIOS mode 0x2D -- 640x350x16M : NOT SUPPORTED */
|
||
|
#define g640x350x16M_regs DISABLE_MODE
|
||
|
|
||
|
/* ET4000 BIOS mode 0x2F -- 640x400x256 */
|
||
|
/* Video timing: Vertical frequency : 70.1Hz
|
||
|
Horizontal frequency : 31.5KHz */
|
||
|
static unsigned char g640x400x256_regs[73] = {
|
||
|
0x5F,0x4F,0x50,0x82,0x54,0x80,0xBF,0x1F,0x00,0x40,0x00,0x00,
|
||
|
0x00,0x00,0x00,0x00,0x9C,0x8E,0x8F,0x50,0x60,0x96,0xB9,0xAB,
|
||
|
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,
|
||
|
0x0C,0x0D,0x0E,0x0F,0x01,0x00,0x0F,0x00,0x00,
|
||
|
0x00,0x00,0x00,0x00,0x00,0x40,0x05,0x0F,0xFF,
|
||
|
0x03,0x01,0x0F,0x00,0x0E,
|
||
|
0x63,
|
||
|
0x00,0x00,0x28,0x00,0x00,0x00,0x41,0x0F,0x00,0xBC,0x01,0x00,
|
||
|
0x00
|
||
|
};
|
||
|
|
||
|
/* ET4000 HiColor BIOS mode 0x2F-- 640x400x32K : NOT SUPPORTED */
|
||
|
#define g640x400x32K_regs DISABLE_MODE
|
||
|
|
||
|
/* ET4000 HiColor BIOS mode 0x2F-- 640x400x64K : NOT SUPPORTED */
|
||
|
#define g640x400x64K_regs DISABLE_MODE
|
||
|
|
||
|
/* ET4000 TrueColor BIOS mode 0x2F-- 640x400x16M : NOT SUPPORTED */
|
||
|
#define g640x400x16M_regs DISABLE_MODE
|
||
|
|
||
|
#endif /* defined(_DYNAMIC_ONLY_ALL_) */
|
||
|
|