Signed-off-by: sparky4 <sparky4@cock.li>
// get all available near conventional memory segments\r
//\r
//---- length=coreleft();\r
+ _nheapgrow();\r
length=_memavl();\r
start = (void far *)(nearheap = malloc(length));\r
\r
// get all available far conventional memory segments\r
//\r
//---- length=farcoreleft();\r
- length=_memmax();\r
+ _fheapgrow();\r
+ length=_memavl();\r
start = farheap = _fmalloc(length);\r
length -= 16-(FP_OFF(start)&15);\r
length -= SAVEFARHEAP;\r
#define XMS_FREEUMB 0x11
//==========================================================================
-__segment seg;
-typedef void __based(seg) * memptr;
+//__segment seg;
+typedef void __based(__self) * memptr; //__based(seg) * memptr;
typedef struct
{