int i;\r
word start;//, w;\r
int plane;\r
-float t1, t2, tpee;\r
+float t1, t2, t3, t4, tpee;\r
int x,y;\r
word px,py;\r
sword baka;\r
start = *clockw;\r
// oldDrawBmp(VGA, 20, 20, &bmp, 0);\r
for(i=0; i<100 ;i++) {\r
- modexDrawBmpPBufRegion (&gvar.video.page[0], 32, 32, 0, 0, p.width, p.height, &p);\r
-// modexDrawBmpPBuf (&gvar.video.page[0], 32, 32, p);\r
+ modexDrawBmpPBuf (&gvar.video.page[0], 32, 32, &p);\r
}\r
t1 = (*clockw-start) /18.2;\r
+ for(i=0; i<100 ;i++) {\r
+ modexDrawBmpPBufRegion (&gvar.video.page[0], p.width+32, 32, 0, 0, p.width, p.height, &p);\r
+ }\r
+ t2 = (*clockw-start) /18.2;\r
getch();\r
// start = *clockw;\r
// modexCopyPageRegion(&gvar.video.page[0], &gvar.video.page[0], 0, 0, 0, 0, 320, 240);\r
// t2 = (*clockw-start)/18.2;\r
start = *clockw;\r
for(i=0; i<100 ;i++) {\r
-// modexDrawPBuf(&gvar.video.page[0], 0, 0, &p, 0);\r
- modexDrawBmpPBuf (&gvar.video.page[0], p.width+32, 32, &p);\r
+ modexDrawPBuf (&gvar.video.page[0], 0, 0, &p, 0);\r
}\r
- t2 = (*clockw-start) /18.2;\r
-//++++ modexPalUpdate1(ptmp.palette);\r
+ t3 = (*clockw-start) /18.2;\r
+ for(i=0; i<100 ;i++) {\r
+ modexDrawPBufRegion (&gvar.video.page[0], 0, 0, 0+p.width, 0, p.width, p.height, &p, 0);\r
+ }\r
+ t4 = (*clockw-start) /18.2;\r
+ //++++ modexPalUpdate1(ptmp.palette);\r
//modexDrawBmpPBufRegion(&gvar.video.page[0], 64, 64, 48, 32, 24, 32, ptmp);\r
- modexDrawPBuf(&gvar.video.page[0], 64, 64, &ptmp, 0);\r
+ //modexDrawPBuf(&gvar.video.page[0], 64, 64, &ptmp, 0);\r
+getch();\r
while(!kbhit())\r
{\r
}\r
chw += xp;\r
fprintf(stderr,"Project 16 planrpcx.exe. This is just a test file!\n");\r
fprintf(stderr,"version %s\n", VERSION);\r
- //fprintf(stderr,"%d\n", sizeof(p.plane));\r
- //fprintf(stderr,"pw=%d\n", p.width);\r
- //fprintf(stderr,"ph=%d\n", p.height);\r
- //fprintf(stderr,"ppw=%d\n", p.pwidth);\r
- //fprintf(stderr,"%d\n", sizeof(p));\r
- //fprintf(stderr,"%dx%d\n", gvar.video.page[0].sw-(p.width), gvar.video.page[0].sh-(p.height));\r
+ fprintf(stderr,"%d\n", sizeof(p.plane));\r
+ fprintf(stderr,"pw=%d\n", p.width);\r
+ fprintf(stderr,"ph=%d\n", p.height);\r
+ fprintf(stderr,"ppw=%d\n", p.pwidth);\r
+ fprintf(stderr,"%d\n", sizeof(p));\r
+ fprintf(stderr,"%dx%d\n", gvar.video.page[0].sw-(p.width), gvar.video.page[0].sh-(p.height));\r
free(bakapeee);\r
//fprintf(stderr, "modexDrawBmpPBuf: %f\n", t1);\r
//fprintf(stderr, "modexDrawPBuf: %f\n", t2);\r