/* Project 16 Source Code~\r
- * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669\r
+ * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
*\r
* This file is part of Project 16.\r
*\r
*\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
+ 0x4c03, /* End horizontal blanking */\r
+ 0x3404, /* Start horizontal retrace */\r
+ 0x4a05, /* End horizontal retrace */\r
0x0d06, /* vertical total */\r
0x3e07, /* overflow (bit 8 of vertical counts) */\r
0x4109, /* cell height (2 to double-scan */\r
0xe715, /* v blank start */\r
0x0616, /* v blank end */\r
0xe317 /* turn on byte mode */\r
-};\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
{ 0x3ce, 0x5, 0x40},\r
{ 0x3ce, 0x6, 0x5},\r
{ 0x3c0, 0x10, 0x41},\r
+ { 0x3c0, 0x11, 0xe},\r
{ 0x3c0, 0x13, 0x0}\r
- };\r
-*/\r
+ };*/\r