-static const word ModeX_192x144regs[] = {\r
- 0x3f00, /* Horizontal total */\r
- 0x2f01, /* horizontal display enable end */\r
- 0x3002, /* Start horizontal blanking */\r
- 0x0003, /* End horizontal blanking */\r
- 0x3404, /* Start horizontal retrace */\r
- 0x4805, /* End horizontal retrace */\r
+static const word ModeX_160x120regs[] = {\r
+ 0x3200, /* Horizontal total */\r
+ 0x2701, /* horizontal display enable end */\r
+ 0x2802, /* Start horizontal blanking */\r
+ 0x2003, /* End horizontal blanking */\r
+ 0x2b04, /* Start horizontal retrace */\r
+ 0x7005, /* End horizontal retrace */\r
0x0d06, /* vertical total */\r
0x3e07, /* overflow (bit 8 of vertical counts) */\r
0x0d06, /* vertical total */\r
0x3e07, /* overflow (bit 8 of vertical counts) */\r
0xea10, /* v sync start */\r
0xac11, /* v sync end and protect cr0-cr7 */\r
0xea10, /* v sync start */\r
0xac11, /* v sync end and protect cr0-cr7 */\r
- 0x1f12, /* vertical displayed */\r
- 0x1813, /* offset/logical width */\r
+ 0xdf12, /* vertical displayed */\r
+ 0x1413, /* offset/logical width */\r
0x0014, /* turn off dword mode */\r
0xe715, /* v blank start */\r
0x0616, /* v blank end */\r
0xe317 /* turn on byte mode */\r
};//50 => 30\r
\r
0x0014, /* turn off dword mode */\r
0xe715, /* v blank start */\r
0x0616, /* v blank end */\r
0xe317 /* turn on byte mode */\r
};//50 => 30\r
\r