]> 4ch.mooo.com Git - 16.git/commitdiff
yay?
authorsparky4 <sparky4@cock.li>
Thu, 22 Oct 2015 22:10:43 +0000 (17:10 -0500)
committersparky4 <sparky4@cock.li>
Thu, 22 Oct 2015 22:10:43 +0000 (17:10 -0500)
19 files changed:
16.exe [new file with mode: 0755]
bakapi.exe [new file with mode: 0755]
exmmtest.exe [new file with mode: 0755]
fmemtest.exe [new file with mode: 0755]
fontgfx.exe [new file with mode: 0755]
fonttest.exe [new file with mode: 0755]
inputest.exe [new file with mode: 0755]
maptest.exe [new file with mode: 0755]
palettec.exe [new file with mode: 0755]
palettel.exe [new file with mode: 0755]
pcxtest.exe [new file with mode: 0755]
pcxtest2.exe [new file with mode: 0755]
scroll.exe [new file with mode: 0755]
src/lib/modex16/192x144_.h
src/lib/modex16/320x240.h
test.exe [new file with mode: 0755]
test2.exe [new file with mode: 0755]
tesutobakapee.exe [new file with mode: 0755]
vgmtest.exe [new file with mode: 0755]

diff --git a/16.exe b/16.exe
new file mode 100755 (executable)
index 0000000..63cd6a8
Binary files /dev/null and b/16.exe differ
diff --git a/bakapi.exe b/bakapi.exe
new file mode 100755 (executable)
index 0000000..db2bec2
Binary files /dev/null and b/bakapi.exe differ
diff --git a/exmmtest.exe b/exmmtest.exe
new file mode 100755 (executable)
index 0000000..b952bcd
Binary files /dev/null and b/exmmtest.exe differ
diff --git a/fmemtest.exe b/fmemtest.exe
new file mode 100755 (executable)
index 0000000..2328445
Binary files /dev/null and b/fmemtest.exe differ
diff --git a/fontgfx.exe b/fontgfx.exe
new file mode 100755 (executable)
index 0000000..5c1d4ef
Binary files /dev/null and b/fontgfx.exe differ
diff --git a/fonttest.exe b/fonttest.exe
new file mode 100755 (executable)
index 0000000..b59fddc
Binary files /dev/null and b/fonttest.exe differ
diff --git a/inputest.exe b/inputest.exe
new file mode 100755 (executable)
index 0000000..0ea864f
Binary files /dev/null and b/inputest.exe differ
diff --git a/maptest.exe b/maptest.exe
new file mode 100755 (executable)
index 0000000..0c16b57
Binary files /dev/null and b/maptest.exe differ
diff --git a/palettec.exe b/palettec.exe
new file mode 100755 (executable)
index 0000000..11657d0
Binary files /dev/null and b/palettec.exe differ
diff --git a/palettel.exe b/palettel.exe
new file mode 100755 (executable)
index 0000000..3db5761
Binary files /dev/null and b/palettel.exe differ
diff --git a/pcxtest.exe b/pcxtest.exe
new file mode 100755 (executable)
index 0000000..b0b7870
Binary files /dev/null and b/pcxtest.exe differ
diff --git a/pcxtest2.exe b/pcxtest2.exe
new file mode 100755 (executable)
index 0000000..b0f4504
Binary files /dev/null and b/pcxtest2.exe differ
diff --git a/scroll.exe b/scroll.exe
new file mode 100755 (executable)
index 0000000..f2f6ad0
Binary files /dev/null and b/scroll.exe differ
index cae60f63cef2fffd8047c29a282636eb8714038a..fc5a764d8bfe58f18f8d4776a05fb4b06d9be1e6 100755 (executable)
@@ -1,7 +1,83 @@
-#include "TwkUser.h" // get Register definition\r
+/* Project 16 Source Code~\r
+ * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669\r
+ *\r
+ * This file is part of Project 16.\r
+ *\r
+ * Project 16 is free software; you can redistribute it and/or modify\r
+ * it under the terms of the GNU General Public License as published by\r
+ * the Free Software Foundation; either version 3 of the License, or\r
+ * (at your option) any later version.\r
+ *\r
+ * Project 16 is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+ * GNU General Public License for more details.\r
+ *\r
+ * You should have received a copy of the GNU General Public License\r
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>, or\r
+ * write to the Free Software Foundation, Inc., 51 Franklin Street,\r
+ * Fifth Floor, Boston, MA 02110-1301 USA.\r
+ *\r
+ */\r
+\r
+#ifndef _SMALLMODEXRESS_H_\r
+#define _SMALLMODEXRESS_H_\r
+\r
+#include "src/lib/types.h"\r
+\r
+/*static const word ModeX_320x240regs[75] =\r
+{\r
+       0x3c2, 0x00, 0xe3,\r
+       0x3d4, 0x00, 0x5f,\r
+       0x3d4, 0x01, 0x4f,\r
+       0x3d4, 0x02, 0x50,\r
+       0x3d4, 0x03, 0x82,\r
+       0x3d4, 0x04, 0x54,\r
+       0x3d4, 0x05, 0x80,\r
+       0x3d4, 0x06, 0x0d,\r
+       0x3d4, 0x07, 0x3e,\r
+       0x3d4, 0x08, 0x00,\r
+       0x3d4, 0x09, 0x41,\r
+       0x3d4, 0x10, 0xea,\r
+       0x3d4, 0x11, 0xac,\r
+       0x3d4, 0x12, 0xdf,\r
+       0x3d4, 0x13, 0x28,\r
+       0x3d4, 0x14, 0x00,\r
+       0x3d4, 0x15, 0xe7,\r
+       0x3d4, 0x16, 0x06,\r
+       0x3d4, 0x17, 0xe3,\r
+       0x3c4, 0x01, 0x01,\r
+       0x3c4, 0x04, 0x06,\r
+       0x3ce, 0x05, 0x40,\r
+       0x3ce, 0x06, 0x05,\r
+       0x3c0, 0x10, 0x41,\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
+       0x0d06,          /* vertical total */\r
+       0x3e07,          /* overflow (bit 8 of vertical counts) */\r
+       0x4109,          /* 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
+       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
+/*#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, 0x30},\r
@@ -27,4 +103,4 @@ Register 192x144[] =
        { 0x3c0, 0x10, 0x41},\r
        { 0x3c0, 0x11, 0xe},\r
        { 0x3c0, 0x13, 0x0}\r
-       };\r
+       };*/\r
index abf4e0e0c186e5d951353f94cabd43271962e0aa..f92d113e37b8d85edecd864f866c13c7a43cf2fa 100755 (executable)
@@ -58,9 +58,9 @@ static const word ModeX_320x240regs[] = {
        0x5f00,         /* Horizontal total */\r
        0x4f01,         /* horizontal display enable end */\r
        0x5002,         /* Start horizontal blanking */\r
-       0x8203,         /* End horizontal blanking */\r
+       0x7a03,         /* End horizontal blanking */\r
        0x5404,         /* Start horizontal retrace */\r
-       0x8005,         /* End horizontal retrace */\r
+       0x7805,         /* End horizontal retrace */\r
        0x0d06,          /* vertical total */\r
        0x3e07,          /* overflow (bit 8 of vertical counts) */\r
        0x4109,          /* cell height (2 to double-scan */\r
diff --git a/test.exe b/test.exe
new file mode 100755 (executable)
index 0000000..04db732
Binary files /dev/null and b/test.exe differ
diff --git a/test2.exe b/test2.exe
new file mode 100755 (executable)
index 0000000..785f517
Binary files /dev/null and b/test2.exe differ
diff --git a/tesutobakapee.exe b/tesutobakapee.exe
new file mode 100755 (executable)
index 0000000..e667a14
Binary files /dev/null and b/tesutobakapee.exe differ
diff --git a/vgmtest.exe b/vgmtest.exe
new file mode 100755 (executable)
index 0000000..ddce9f0
Binary files /dev/null and b/vgmtest.exe differ