X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fmodex16%2F192x144.h;h=69ccc81fed2538ca5dbe097ca22a7f2ac2e206b2;hb=c1d3221afb5fe541d8c886ff66198329c153e48e;hp=a6f645e68bb16c575df56f54c1f5cf9697de7de5;hpb=53485e89fa74280d146128398fae955cdd980593;p=16.git diff --git a/src/lib/modex16/192x144.h b/src/lib/modex16/192x144.h index a6f645e6..69ccc81f 100755 --- a/src/lib/modex16/192x144.h +++ b/src/lib/modex16/192x144.h @@ -1,5 +1,5 @@ /* Project 16 Source Code~ - * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669 + * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 * * This file is part of Project 16. * @@ -20,8 +20,8 @@ * */ -#ifndef _SMALLMODEXRES_H_ -#define _SMALLMODEXRES_H_ +#ifndef _SMALLMODEXRESS_H_ +#define _SMALLMODEXRESS_H_ #include "src/lib/types.h" @@ -55,12 +55,12 @@ };*/ static const word ModeX_192x144regs[] = { - 0x5f00, /* Horizontal total */ - 0x2f01, /* horizontal display enable end */ - 0x5002, /* Start horizontal blanking */ - 0x8203, /* End horizontal blanking */ - 0x5404, /* Start horizontal retrace */ - 0x8005, /* End horizontal retrace */ + 0x3f00, /* Horizontal total */ + 0x2701, /* horizontal display enable end */ + 0x3002, /* Start horizontal blanking */ + 0x4c03, /* End horizontal blanking */ + 0x3404, /* Start horizontal retrace */ + 0x4a05, /* End horizontal retrace */ 0x0d06, /* vertical total */ 0x3e07, /* overflow (bit 8 of vertical counts) */ 0x4109, /* cell height (2 to double-scan */ @@ -74,17 +74,16 @@ static const word ModeX_192x144regs[] = { 0xe317 /* turn on byte mode */ };//50 => 30 -#endif /*_SMALLMODEXRES_H_*/ -/* -192x144[] = +#endif /*_SMALLMODEXRESS_H_*/ +/*#include "TwkUser.h" // get Register definition +Register 192x144[] = { - { 0x3c2, 0x0, 0xe3}, { 0x3d4, 0x0, 0x3f}, { 0x3d4, 0x1, 0x2f}, - { 0x3d4, 0x2, 0x50}, - { 0x3d4, 0x3, 0x82}, - { 0x3d4, 0x4, 0x54}, - { 0x3d4, 0x5, 0x80}, + { 0x3d4, 0x2, 0x30}, + { 0x3d4, 0x3, 0x0}, + { 0x3d4, 0x4, 0x34}, + { 0x3d4, 0x5, 0x48}, { 0x3d4, 0x6, 0xd}, { 0x3d4, 0x7, 0x3e}, { 0x3d4, 0x8, 0x0}, @@ -102,6 +101,6 @@ static const word ModeX_192x144regs[] = { { 0x3ce, 0x5, 0x40}, { 0x3ce, 0x6, 0x5}, { 0x3c0, 0x10, 0x41}, + { 0x3c0, 0x11, 0xe}, { 0x3c0, 0x13, 0x0} - }; -*/ + };*/