-\e[0mSeg:0 Size:8574 Owner:0x40fe\r
+\e[0mSeg:0 Size:8575 Owner:0x0\r
\e[41;31m++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:217e Size:256 Owner:0x5438\r
+\e[0m\e[0mSeg:217f Size:256 Owner:0x5438\r
\e[44;34m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:227e Size:273 Owner:0x9490\r
+\e[0m\e[0mSeg:227f Size:273 Owner:0x9490\r
\e[44;34m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:27f1 Size:44 Owner:0x0\r
+\e[0m\e[0mSeg:27f2 Size:44 Owner:0x0\r
\e[41;31m++\e[0m\e[42;32m0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\r
-\e[0m\e[0mSeg:b81d Size:10211 Owner:0x0\r
+\e[0m\e[0mSeg:b81e Size:10210 Owner:0x0\r
\e[41;31m++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[42;32m\r
\e[0m\e[0mSeg:e000 Size:8191 Owner:0x0\r
\e[41;31m++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m
\ No newline at end of file
\r
== default ==\r
\r
- USED block at 28130016 of size 66\r
- USED block at 28130058 of size 66\r
- FREE block at 2813009a of size 18\r
- USED block at 281300ac of size 136\r
- USED block at 28130134 of size 20\r
- FREE block at 28130148 of size 7860\r
+ USED block at 28140016 of size 66\r
+ USED block at 28140058 of size 66\r
+ FREE block at 2814009a of size 18\r
+ USED block at 281400ac of size 136\r
+ USED block at 28140134 of size 20\r
+ FREE block at 28140148 of size 7860\r
OK - end of heap\r
\r
== near ==\r
\r
- USED block at 181294c6 of size 12\r
- USED block at 181294d2 of size 332\r
- USED block at 1812961e of size 52\r
- USED block at 18129652 of size 20\r
- USED block at 18129666 of size 20\r
- USED block at 1812967a of size 20\r
- USED block at 1812968e of size 20\r
- USED block at 181296a2 of size 20\r
- USED block at 181296b6 of size 26950\r
+ USED block at 181394c6 of size 12\r
+ USED block at 181394d2 of size 332\r
+ USED block at 1813961e of size 52\r
+ USED block at 18139652 of size 20\r
+ USED block at 18139666 of size 20\r
+ USED block at 1813967a of size 20\r
+ USED block at 1813968e of size 20\r
+ USED block at 181396a2 of size 20\r
+ USED block at 181396b6 of size 26950\r
OK - end of heap\r
\r
== far ==\r
\r
- USED block at 28130016 of size 66\r
- USED block at 28130058 of size 66\r
- USED block at 2813009a of size 18\r
- USED block at 281300ac of size 136\r
- USED block at 28130134 of size 20\r
- USED block at 28130148 of size 7860\r
+ USED block at 28140016 of size 66\r
+ USED block at 28140058 of size 66\r
+ USED block at 2814009a of size 18\r
+ USED block at 281400ac of size 136\r
+ USED block at 28140134 of size 20\r
+ USED block at 28140148 of size 7860\r
OK - end of heap\r
\r
Memory Type Total Used Free\r
*/
#include "src/lib/16_mm.h"
-#include "src/lib/16_pm.h"
#include "src/lib/16_ca.h"
#pragma hdrstop
gvar->mmi.mainmem = gvar->mmi.nearheap + gvar->mmi.farheap;
- if(pmdebug>0)
- {
+ if(!pmdebug) {
//
// detect EMS and allocate up to 64K at page frame
//
#ifdef __BORLANDC__
free(gvar->mm.nearheap);// printf(" near freed\n");
#endif
+ if(!pmdebug) {
if(MML_CheckForEMS()){ MML_ShutdownEMS(gvar); }//printf(" EMS freed\n"); }
if(MML_CheckForXMS(gvar)){ MML_ShutdownXMS(gvar); }//printf(" XMS freed\n"); }
+ }
}
//==========================================================================