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, 65535UL, &mm, &mmi);
+ MM_GetPtr(&bigbuffer, mmi.farheap, &mm, &mmi);
printf("size of big buffer~=%ul\n", _msize(bigbuffer));
MM_ShowMemory(&mm);
MM_Report(&mm, &mmi);
printf("EMM %x available\n", mm->EMSVer);
printf("totalEMSpages=%u\n", mm->totalEMSpages);
printf("freeEMSpages=%u\n", mm->freeEMSpages);
- printf("EMSpageframe=%Fp\n", mm->EMSpageframe);
+ printf("EMSpageframe=%x\n", mm->EMSpageframe);
}
if(MML_CheckForXMS(mm)) printf("XMSaddr=%x\n", *XMSaddr);
printf("near=%lu\n", mmi->nearheap);