X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fmodex16%2F320x240.h;h=5395907b78e57603af9591e939e4c82d9a4af529;hb=2d8c7c77c524f48d6fbd4373a7ee20bd16592f52;hp=e31ac0f1e80ba7efde4c2fbbaeec6faed8972755;hpb=d8ad1a7617f34104b38899508ea3c6de97af3d92;p=16.git diff --git a/src/lib/modex16/320x240.h b/src/lib/modex16/320x240.h index e31ac0f1..5395907b 100755 --- a/src/lib/modex16/320x240.h +++ b/src/lib/modex16/320x240.h @@ -1,5 +1,5 @@ /* Project 16 Source Code~ - * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669 + * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover * * This file is part of Project 16. * @@ -55,16 +55,18 @@ };*/ static const word ModeX_320x240regs[] = { + 0x5f00, /* Horizontal total */ 0x4f01, /* horizontal display enable end */ 0x5002, /* Start horizontal blanking */ - 0x5404, /* End horizontal blanking */ + 0x8203, /* End horizontal blanking */ + 0x5404, /* Start horizontal retrace */ 0x8005, /* End horizontal retrace */ - 0xbf06, /* vertical total */ - 0x1f07, /* overflow (bit 8 of vertical counts) */ + 0x0d06, /* vertical total */ + 0x3e07, /* overflow (bit 8 of vertical counts) */ 0x4109, /* cell height (2 to double-scan */ - 0x9c10, /* v sync start */ - 0xb811, /* v sync end and protect cr0-cr7 */ - 0x8f12, /* vertical displayed */ + 0xea10, /* v sync start */ + 0xac11, /* v sync end and protect cr0-cr7 */ + 0xdf12, /* vertical displayed */ 0x2813, /* offset/logical width */ 0x0014, /* turn off dword mode */ 0xe715, /* v blank start */