static const unsigned char g640x480x256_regs[68] = { /* CRTC */ 0x5F,0x4F,0x50,0x82,0x54,0x80,0x0B,0x3E,0x00,0x40,0x00,0x00, 0x00,0x00,0x00,0x00,0xEA,0x8C,0xDF,0x28,0x00,0xE7,0x04,0xC3, /* ATC */ 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b, 0x0c,0x0d,0x0e,0x0f,0x01,0x00,0x0f,0x00,0x00, /* Graphics */ 0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x0f,0xff, /* Sequencer */ 0x01,0x01,0x0f,0x02,0x0e, /* Misc. output */ 0xE3, /* Extended registers */ 0xC0, 0x8F, 0x80, 0x00, 0x01, 0x00, 0x00, 0xFF }; /* The modes below are not supposed to work. */ #if 0 static const unsigned char g800x600x256_regs[68] = { /* CRTC */ 0x7A,0x63,0x64,0x1D,0x68,0x9A,0x78,0xF0,0x00,0x60,0x00,0x00, 0x00,0x00,0x00,0x00,0x5C,0x8E,0x57,0x64,0x60,0x5B,0x75,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, /* Extended registers */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; static const unsigned char g1024x768x256_regs[68] = { 0x99,0x7F,0x7F,0x1D,0x83,0x17,0x2F,0xF5,0x00,0x60,0x00,0x00, 0x00,0x00,0x00,0x00,0x08,0x80,0xFF,0x80,0x60,0xFF,0x30,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, 0x27, /* Extended registers */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; #endif /* HighRes 16 color modes based on 256 color modes */ #define g800x600x16_regs g800x600x256_regs #define g1024x768x16_regs g1024x768x256_regs