From: sparky4 Date: Tue, 10 Nov 2015 19:52:30 +0000 (-0600) Subject: ww X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=84aee10629e5f04d34de5e4997e305cd2fd746cf;p=16.git ww --- diff --git a/16.exe b/16.exe index 762a61ae..fc35d3fc 100755 Binary files a/16.exe and b/16.exe differ diff --git a/exmmtest.exe b/exmmtest.exe index 47a8e95a..d818a69c 100755 Binary files a/exmmtest.exe and b/exmmtest.exe differ diff --git a/planrpcx.exe b/planrpcx.exe index dd339fd6..e730a414 100755 Binary files a/planrpcx.exe and b/planrpcx.exe differ diff --git a/scroll.exe b/scroll.exe index 81c4b87f..1428edc4 100755 Binary files a/scroll.exe and b/scroll.exe differ diff --git a/src/lib/modex16/16render.c b/src/lib/modex16/16render.c index 6ae57a80..b70c7f19 100755 --- a/src/lib/modex16/16render.c +++ b/src/lib/modex16/16render.c @@ -97,12 +97,13 @@ modexDrawPBuf(page_t *page, int x, int y, planar_buf_t *p, boolean sprite) for(; y < py+p->height; y++) { //for(px=0; px < p->width; px++) { //printf("%02X ", (int) p->plane[plane][i++]); -// _fmemcpy(buff, &(p->plane[plane][i+=p->pwidth]), p->pwidth); -// printf("buff %u==%s\n", y, *buff); -// _fmemcpy(page->data + (((page->width/4) * (y+page->dy)) + ((x+page->dx) / 4)), buff, p->pwidth); +// _fmemcpy(buff, &(p->plane[plane][i+=p->pwidth]), p->pwidth); +// printf("buff %u==%s\n", y, *buff); +// _fmemcpy(page->data + (((page->width/4) * (y+page->dy)) + ((x+page->dx) / 4)), buff, p->pwidth); _fmemcpy(page->data + (((page->width/4) * y) + (x / 4)), &(p->plane[plane][i+=p->pwidth]), p->pwidth); //} } +//getch(); x=px; y=py; } diff --git a/src/planrpcx.c b/src/planrpcx.c index ce349639..9dc97ce4 100755 --- a/src/planrpcx.c +++ b/src/planrpcx.c @@ -78,7 +78,7 @@ baka = 1; start = *clockw; // oldDrawBmp(VGA, 20, 20, &bmp, 0); for(i=0; i<100 ;i++) { - modexDrawBmpPBuf (&gvar.video.page[0], 32, 32, &p); + //modexDrawBmpPBuf (&gvar.video.page[0], 32, 32, &p); } t1 = (*clockw-start) /18.2; for(i=0; i<100 ;i++) { @@ -95,7 +95,7 @@ baka = 1; } t3 = (*clockw-start) /18.2; for(i=0; i<100 ;i++) { - modexDrawPBufRegion (&gvar.video.page[0], 0, 0, 0+p.width, 0, p.width, p.height, &p, 0); + //modexDrawPBufRegion (&gvar.video.page[0], 0, 0, 0+p.width, 0, p.width, p.height, &p, 0); } t4 = (*clockw-start) /18.2; //++++ modexPalUpdate1(ptmp.palette); diff --git a/test.exe b/test.exe index c0da78a3..6fbfb6f8 100755 Binary files a/test.exe and b/test.exe differ