X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Ftest.c;h=99a2f9f1b64f87f8ac78f8f6a95ad28251c11375;hb=1ea28365b71698cb15fc04cb74efc532073fdf46;hp=fd2ec3f9f1dc4b7481f86ddba0925032beb148b7;hpb=f66b2c6a16e6f6c2c9c07a39d1855b5ea178fead;p=16.git
diff --git a/src/test.c b/src/test.c
index fd2ec3f9..99a2f9f1 100644
--- a/src/test.c
+++ b/src/test.c
@@ -1,7 +1,29 @@
-#include "src\lib\modex16.h"
+/* Project 16 Source Code~
+ * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669
+ *
+ * This file is part of Project 16.
+ *
+ * Project 16 is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Project 16 is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see , or
+ * write to the Free Software Foundation, Inc., 51 Franklin Street,
+ * Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ */
+
#include
+#include "src/lib/modex16.h"
-word far* clock= (word far*) 0x046C; /* 18.2hz clock */
+word far* clockw= (word far*) 0x046C; /* 18.2hz clock */
void main() {
int i, j;
@@ -39,7 +61,7 @@ void main() {
modexFadeOn(1, pal2);
- start = *clock;
+ start = *clockw;
for(i=0; i<5; i++) {
/* go right */
for(j=0; j<32; j++) {
@@ -64,7 +86,7 @@ void main() {
}
}
- end = *clock;
+ end = *clockw;
/* fade back to text mode */
modexFadeOff(1, pal2);