/* allocate the buffer */
//printf("%zu\n", _memmax());\r
bufSize = (/*(dword)*/result.width * result.height);
-// result.data = malloc(bufSize);
- result.data = (byte far *)_fmalloc(bufSize);
+ result.data = malloc(bufSize);
+// result.data = (byte far *)_fmalloc(bufSize);
// result.data = (byte __huge *)halloc(bufSize, sizeof(byte));
printf("&bufSize=%p\n", &bufSize);
printf("&result.data=%p\n", result.data);
modexEnter();\r
\r
/* fix up the palette and everything */\r
-//++++ modexPalUpdate(&bmp, 0, 0, 0);\r
+ modexPalUpdate1(bmp.palette);\r
\r
/* clear and draw one sprite and one bitmap */\r
modexClearRegion(&page, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, 1);\r