X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2F16_mm.h;h=abcf48aa05720451433f95e3354484c88b18da82;hb=1159fe5a6cd0f8eaeee6e8584f5972d42e004073;hp=2a344aee724eb2e6f078d79e9d3865d3a32ebcc8;hpb=bd35bd7d97646cc726bd40cc54c9a158af008b4d;p=16.git diff --git a/src/lib/16_mm.h b/src/lib/16_mm.h index 2a344aee..abcf48aa 100755 --- a/src/lib/16_mm.h +++ b/src/lib/16_mm.h @@ -30,7 +30,6 @@ #ifdef __DEBUG__ // 1 == Debug/Dev ; 0 == Production/final #define OUT_OF_MEM_MSG "MM_GetPtr: Out of memory!\nYou were short :%lu bytes\n" -extern boolean dbg_debugpm; #else #define OUT_OF_MEM_MSG "\npee\n" #endif @@ -53,6 +52,7 @@ extern boolean dbg_debugpm; //-------- #define EMS_INT 0x67 +#define EMM_INT 0x21 #define EMS_STATUS 0x40 #define EMS_GETFRAME 0x41 @@ -136,7 +136,6 @@ extern word XMSVer; word blob; //for data larger than 64k unsigned attributes; memptr *useptr; // pointer to the segment start - //huge struct mmblockstruct huge *next; struct mmblockstruct far *next; } mmblocktype; @@ -145,7 +144,6 @@ typedef struct { memptr bufferseg; boolean mmstarted, bombonerror, mmerror; - //huge void huge *farheap; void far *farheap; #ifdef __BORLANDC__ void *nearheap; @@ -158,7 +156,6 @@ typedef struct unsigned int EMSVer; word numUMBs,UMBbase[MAXUMBS]; //dword numUMBs,UMBbase[MAXUMBS]; - //huge mmblocktype huge mmblocks[MAXBLOCKS],huge *mmhead,huge *mmfree,huge *mmrover,huge *mmnew; mmblocktype far mmblocks[MAXBLOCKS],far *mmhead,far *mmfree,far *mmrover,far *mmnew; } mminfo_t;*/