X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Ftest2.c;h=48299a41f2d80655d7df21108242e3367f68ef70;hb=160bb0a359c6aee73b6738f3e5f97766fb367836;hp=ac939e573a2ef62a4506be253cb0f11d6868d335;hpb=81d58fa824889a0562f3bb1cd3f6ac161ec63711;p=16.git diff --git a/src/test2.c b/src/test2.c index ac939e57..48299a41 100644 --- a/src/test2.c +++ b/src/test2.c @@ -1,33 +1,37 @@ -#include +#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 */ -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); }