{\r
int plane;\r
int px, py, i;\r
- byte *buff;\r
+ byte near *buff;\r
\r
px=x;\r
py=y;\r
- buff = _fmalloc(p->pwidth+1);\r
+ buff = _nmalloc(p->pwidth+1);\r
// TODO Make this fast. It's SLOOOOOOW\r
// for(plane=0; plane < 4; plane++) {\r
// i=0;\r
x=px;\r
y=py;\r
}\r
- _ffree(buff);\r
+ _nfree(buff);\r
}\r
\r
void\r
// oldDrawBmp(VGA, 20, 20, &bmp, 1);\r
//0000 modexDrawSprite(&gvar.video.page[0], 20, 20, &bmp);\r
// modexDrawSprite(&gvar.video.page[0], 160, 120, &bmp);\r
- DrawPBuf(&gvar.video.page[0], 0, 0, p, 0);\r
+ for(i=0; i<100 ;i++) {\r
+ DrawPBuf(&gvar.video.page[0], 0, 0, p, 0);\r
+ }\r
t1 = (*clockw-start) /18.2;\r
while(!kbhit())\r
{\r