]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/modex16/256x192.h
going to fix it but lower resolution system is implemented!! ^^;
[16.git] / src / lib / modex16 / 256x192.h
index b1f9c79a80a3495bbbab33fb7faf2b6c71bf4900..16f306cdcadf75b96bf54638ff59c6b066d39f9a 100755 (executable)
@@ -25,7 +25,7 @@
 \r
 #include "src/lib/types.h"\r
 \r
-static const word ModeX_256x224regs[75] =\r
+/*static const word ModeX_256x224regs[75] =\r
 {\r
     0x3c2, 0x00, 0xe3,\r
     0x3d4, 0x00, 0x5f,\r
@@ -52,6 +52,24 @@ static const word ModeX_256x224regs[75] =
     0x3ce, 0x06, 0x05,\r
     0x3c0, 0x10, 0x41,\r
     0x3c0, 0x13, 0x00\r
+};*/\r
+\r
+static const word ModeX_256x192regs[] = {\r
+       0x3f01,         /* horizontal display enable end */\r
+       0x4002,         /* Start horizontal blanking */\r
+       0x4a04,         /* End horizontal blanking */\r
+       0x9a05,         /* End horizontal retrace */\r
+       0x0806,         /* vertical total */\r
+       0x3e07,         /* overflow (bit 8 of vertical counts) */\r
+       0x4109,         /* cell height (2 to double-scan */\r
+       0xca10,         /* v sync start */\r
+       0x8c11,         /* v sync end and protect cr0-cr7 */\r
+       0xaf12,         /* vertical displayed */\r
+       0x2013,         /* offset/logical width */\r
+       0x0014,         /* turn off dword mode */\r
+       0xa715,         /* v blank start */\r
+       0x0216,         /* v blank end */\r
+       0xe317          /* turn on byte mode */\r
 };\r
 \r
 #endif /*_DIX_H_*/\r