X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Ftest2.c;h=e10597f8f09d49cb38c182ed13ce1af92bbd4f75;hb=516c01e6ea6ac9bf49faba2485e8a99ba6d48340;hp=8a844d4ac4da9ff892f6d4db3b343a70f6d6881c;hpb=6a9fa99fc6a9a0a1d9041a87cac1eb99ab18e3e1;p=16.git diff --git a/src/test2.c b/src/test2.c old mode 100644 new mode 100755 index 8a844d4a..e10597f8 --- a/src/test2.c +++ b/src/test2.c @@ -1,12 +1,32 @@ -#include -#include -#include "src\lib\modex16.h" -#include "src\lib\planar.h" -#include "src\lib\bitmap.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. + * + */ -word far* clock= (word far*) 0x046C; /* 18.2hz clock */ +#include +#include +#include "src/lib/modex16.h" +#include "src/lib/planar.h" +//#include "src/lib/bitmap.h" -void main() { +void main() { FILE *file; bitmap_t bmp; planar_buf_t *p; @@ -30,8 +50,8 @@ void main() { for(i=0; iwidth*p->height, file);