X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Ftest2.c;h=2f76a02e48a57f46b8193bc1e5cb1434594c6731;hb=8b92f32b6e6a8ab7be52ced02208cc789364a014;hp=ac939e573a2ef62a4506be253cb0f11d6868d335;hpb=fdda3e0aec6ed31959bf39263116dc5f6a481a4b;p=16.git diff --git a/src/test2.c b/src/test2.c index ac939e57..2f76a02e 100644 --- a/src/test2.c +++ b/src/test2.c @@ -1,33 +1,37 @@ -#include -#include "src\lib\modex16.h" -#include "src\lib\planar.h" -#include "src\lib\bitmap.h" +#include +#include +#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() { +void main() { + FILE *file; bitmap_t bmp; planar_buf_t *p; word size; int i; int plane; int x,y; - byte color; + //byte color; /* get the size we want */ - printf("Width: "); + /*printf("Width: "); scanf("%d", &bmp.width); printf("Height: "); scanf("%d", &bmp.height); printf("Color: "); - scanf("%x", &color); + scanf("%x", &color);*/ /* allocate the bmp and fill it with 42 */ - size = bmp.width * bmp.height; + /*size = bmp.width * bmp.height; bmp.data = malloc(size); for(i=0; iwidth*p->height, file); + //fclose(file); }