]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/modex16/160x120.h
pcxtest0 for planar dump test
[16.git] / src / lib / modex16 / 160x120.h
index fc5a764d8bfe58f18f8d4776a05fb4b06d9be1e6..04253da677613e32f8b6dbe42854e10997ff480f 100755 (executable)
@@ -20,8 +20,8 @@
  *\r
  */\r
 \r
-#ifndef _SMALLMODEXRESS_H_\r
-#define _SMALLMODEXRESS_H_\r
+#ifndef _SMALLMODEXREST_H_\r
+#define _SMALLMODEXREST_H_\r
 \r
 #include "src/lib/types.h"\r
 \r
        0x3c0, 0x13, 0x00\r
 };*/\r
 \r
-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
-       0x4109,          /* cell height (2 to double-scan */\r
+       0x4309,          /* cell height (2 to double-scan */\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
-#endif /*_SMALLMODEXRESS_H_*/\r
+#endif /*_SMALLMODEXREST_H_*/\r
 /*#include "TwkUser.h" // get Register definition\r
 Register 192x144[] =\r
        {\r