modified: exmmtest.exe
modified: src/exmmtest.c
modified: src/lib/16_mm.c
MM_Startup(&mm, &mmi);
printf("done!\n");
printf("&main()=%Fp\n", *argv[0]);
- MM_GetPtr(&bigbuffer, mmi.farheap, &mm, &mmi);
+ MM_GetPtr(&bigbuffer, mmi.nearheap, &mm, &mmi);
+ //hmm functions in cache system use the buffered stuff
printf("size of big buffer~=%ul\n", _msize(bigbuffer));
MM_ShowMemory(&mm);
MM_Report(&mm, &mmi);
printf("Location:");
printf("%x\t", scan->start);
strcpy (scratch,"Size:");
-ltoa ((long)scan->length*16,str,10);
+ltoa ((dword)scan->length*16,str,10);
strcat (scratch,str);
strcat (scratch,"\tOwner:0x");
owner = (unsigned)scan->useptr;