/* Project 16 Source Code~\r
- * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669\r
+ * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123\r
*\r
* This file is part of Project 16.\r
*\r
*\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