]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/modex16/192x144.h
pcxtest0 for planar dump test
[16.git] / src / lib / modex16 / 192x144.h
index a6f645e68bb16c575df56f54c1f5cf9697de7de5..8271a0db4b16034e143d8a0e520d40be0787a89e 100755 (executable)
@@ -20,8 +20,8 @@
  *\r
  */\r
 \r
-#ifndef _SMALLMODEXRES_H_\r
-#define _SMALLMODEXRES_H_\r
+#ifndef _SMALLMODEXRESS_H_\r
+#define _SMALLMODEXRESS_H_\r
 \r
 #include "src/lib/types.h"\r
 \r
 };*/\r
 \r
 static const word ModeX_192x144regs[] = {\r
-       0x5f00,         /* Horizontal total */\r
-       0x2f01,         /* horizontal display enable end */\r
-       0x5002,         /* Start horizontal blanking */\r
-       0x8203,         /* End horizontal blanking */\r
-       0x5404,         /* Start horizontal retrace */\r
-       0x8005,         /* End horizontal retrace */\r
+       0x3f00,         /* Horizontal total */\r
+       0x2701,         /* 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
        0x0d06,          /* vertical total */\r
        0x3e07,          /* overflow (bit 8 of vertical counts) */\r
        0x4109,          /* cell height (2 to double-scan */\r
@@ -74,17 +74,16 @@ static const word ModeX_192x144regs[] = {
        0xe317            /* turn on byte mode */\r
 };//50 => 30\r
 \r
-#endif /*_SMALLMODEXRES_H_*/\r
-/*\r
-192x144[] =\r
+#endif /*_SMALLMODEXRESS_H_*/\r
+/*#include "TwkUser.h" // get Register definition\r
+Register 192x144[] =\r
        {\r
-       { 0x3c2, 0x0, 0xe3},\r
        { 0x3d4, 0x0, 0x3f},\r
        { 0x3d4, 0x1, 0x2f},\r
-       { 0x3d4, 0x2, 0x50},\r
-       { 0x3d4, 0x3, 0x82},\r
-       { 0x3d4, 0x4, 0x54},\r
-       { 0x3d4, 0x5, 0x80},\r
+       { 0x3d4, 0x2, 0x30},\r
+       { 0x3d4, 0x3, 0x0},\r
+       { 0x3d4, 0x4, 0x34},\r
+       { 0x3d4, 0x5, 0x48},\r
        { 0x3d4, 0x6, 0xd},\r
        { 0x3d4, 0x7, 0x3e},\r
        { 0x3d4, 0x8, 0x0},\r
@@ -102,6 +101,6 @@ static const word ModeX_192x144regs[] = {
        { 0x3ce, 0x5, 0x40},\r
        { 0x3ce, 0x6, 0x5},\r
        { 0x3c0, 0x10, 0x41},\r
+       { 0x3c0, 0x11, 0xe},\r
        { 0x3c0, 0x13, 0x0}\r
-       };\r
-*/\r
+       };*/\r