X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Ftest2.c;h=5fae4d5071887823233dfc7771855a2887a850ec;hb=c13dbd65b6c7f673537cfa5ef6456b09444c1406;hp=7759156e0b01178c8a8197b281cc4176a3556c16;hpb=f7a1230c87968e99ce6776e5ca0afe787670e289;p=16.git
diff --git a/src/test2.c b/src/test2.c
old mode 100644
new mode 100755
index 7759156e..5fae4d50
--- a/src/test2.c
+++ b/src/test2.c
@@ -1,10 +1,32 @@
+/* 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
-#include "src\lib\modex16.h"
-#include "src\lib\planar.h"
-#include "src\lib\bitmap.h"
+#include "src/lib/modex16.h"
+#include "src/lib/planar.h"
+//#include "src/lib/bitmap.h"
-word far* clock= (word far*) 0x046C; /* 18.2hz clock */
+word far* clockw= (word far*) 0x046C; /* 18.2hz clock */
void main() {
FILE *file;
@@ -31,7 +53,7 @@ void main() {
bmp.data[i] = color;
}*/
- bmp = bitmapLoadPcx("data/46113319.pcx");
+ bmp = bitmapLoadPcx("data/koishi^^.pcx");
/* create the planar buffer */
p = planar_buf_from_bitmap(&bmp);
@@ -47,6 +69,11 @@ void main() {
printf("\n");
}
}
+ /*__asm
+ {
+ mov ah,31h
+ int 21h
+ }*/
// file = fopen("ptmp0.pcx", "wb");