X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Ftest.c;h=99a2f9f1b64f87f8ac78f8f6a95ad28251c11375;hb=e08323c46a92650aca3baae9ea1df977c15efa2e;hp=24520a53b41addd3c26bf02ac35b884abc8e0e82;hpb=1073f7dbfa5b78819af46c64f3ffd0301e9d8cc6;p=16.git
diff --git a/src/test.c b/src/test.c
index 24520a53..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);