//file name //\r
\r
gvar.mm.mmstarted=0;\r
- debugpm=1; //debug pm\r
+ dbg_debugpm=1; //debug pm\r
\r
//PRINTBB\r
if(argv[1]){ bakapee1 = argv[1];\r
MM_Startup(&gvar);\r
//printf("ok\n");\r
#ifdef __WATCOMC__\r
- if(debugpm>0)\r
+ if(dbg_debugpm>0)\r
{\r
PM_Startup(&gvar);\r
//printf("pmstarted ok\n");\r
//printf("bakapee2=%s\n", bakapee2);\r
MM_FreePtr(&bigbuffer, &gvar);\r
#ifdef __WATCOMC__\r
- if(debugpm>0)\r
+ if(dbg_debugpm>0)\r
PM_Shutdown(&gvar);\r
#endif\r
CA_Shutdown(&gvar);\r
gvar->mmi.mainmem = gvar->mmi.nearheap + gvar->mmi.farheap;
#ifndef __16_PM__
- if(!debugpm) {
+ if(!dbg_debugpm) {
//
// detect EMS and allocate up to 64K at page frame
//
free(gvar->mm.nearheap);// printf(" near freed\n");
#endif
#ifdef __DEBUG__
- if(!debugpm) {
+ if(!dbg_debugpm) {
#endif
if(MML_CheckForEMS()){ MML_ShutdownEMS(gvar); }//printf(" EMS freed\n"); }
if(MML_CheckForXMS(gvar)){ MML_ShutdownXMS(gvar); }//printf(" XMS freed\n"); }
\r
#ifdef __DEBUG__ // 1 == Debug/Dev ; 0 == Production/final\r
#define OUT_OF_MEM_MSG "MM_GetPtr: Out of memory!\nYou were short :%lu bytes\n"\r
-extern boolean debugpm;\r
+extern boolean dbg_debugpm;\r
#else\r
#define OUT_OF_MEM_MSG "\npee\n"\r
#endif\r
#pragma hdrstop\r
\r
#ifdef __DEBUG__\r
-boolean debugpm=0;\r
+boolean dbg_debugpm=0;\r
#endif\r
\r
// Main Mem specific variables\r
#include <dos.h>\r
\r
#ifdef __DEBUG__\r
-extern boolean debugpm;\r
+extern boolean dbg_debugpm;\r
#endif\r
\r
/*// NOTE! PMPageSize must be an even divisor of EMSPageSize, and >= 1024\r