]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/modex16/320x240.h
seguse.txt added to show _seg usage also OpenVGMFile needs to be ported to 16_snd...
[16.git] / src / lib / modex16 / 320x240.h
index e31ac0f1e80ba7efde4c2fbbaeec6faed8972755..5395907b78e57603af9591e939e4c82d9a4af529 100755 (executable)
@@ -1,5 +1,5 @@
 /* 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
 static const word ModeX_320x240regs[] = {\r
+       0x5f00,         /* Horizontal total */\r
        0x4f01,         /* horizontal display enable end */\r
        0x5002,         /* Start horizontal blanking */\r
-       0x5404,         /* End horizontal blanking */\r
+       0x8203,         /* End horizontal blanking */\r
+       0x5404,         /* Start horizontal retrace */\r
        0x8005,         /* End horizontal retrace */\r
-       0xbf06,          /* vertical total */\r
-       0x1f07,          /* overflow (bit 8 of vertical counts) */\r
+       0x0d06,          /* vertical total */\r
+       0x3e07,          /* overflow (bit 8 of vertical counts) */\r
        0x4109,          /* cell height (2 to double-scan */\r
-       0x9c10,          /* v sync start */\r
-       0xb811,          /* v sync end and protect cr0-cr7 */\r
-       0x8f12,          /* vertical displayed */\r
+       0xea10,          /* v sync start */\r
+       0xac11,          /* v sync end and protect cr0-cr7 */\r
+       0xdf12,          /* vertical displayed */\r
        0x2813,         /* offset/logical width */\r
        0x0014,          /* turn off dword mode */\r
        0xe715,          /* v blank start */\r