Seg:0 Size:140384 Owner:0x84a\r
-Seg:2246 Size:4096 Owner:0xfb30\r
+Seg:2246 Size:4096 Owner:0xfb32\r
Seg:2346 Size:31344 Owner:0x1c68\r
Seg:3054 Size:1026592 Owner:0x468b\r
Seg:3924 Size:683456 Owner:0x5657\r
}
return 0;
*/
- return 0;
}
//==========================================================================
void MML_UseSpace(/*d*/word segstart, dword seglength, mminfo_t *mm)
{
mmblocktype huge *scan,huge *last;
- //word segm;
+ word segm;
dword oldend;
dword extra;
//find out how many blocks it spans!
if(seglength>0xffffu)
{
-// scan->segm=seglength/0x4000u;
- scan->segm=seglength/0xffffu;
+// segm=seglength/0x4000u;
+ segm=seglength/0xffffu;
}
- else scan->segm=1;
+ else segm=1;
//++++emsver stuff!
- if(scan->segm>1/*extra>0xfffflu*/)
+ if(segm>1/*extra>0xfffflu*/)
{
/*__asm
{
oldend = scan->start + scan->length;
extra = oldend - (segstart+seglength);
-printf("segm=%u ", scan->segm);
+printf("segm=%u ", segm);
printf("ex=%lu ", extra);
printf("start+seglen=%lu ", segstart+seglength);
printf("len=%u ", scan->length);
//dword start,length;
//word start;
//dword length;
- word segm; //how many 64kb segment blocks it takes up if there is many data!
+ //byte segm; //how many 64kb segment blocks it takes up if there is many data!
unsigned attributes;
memptr *useptr; // pointer to the segment start
struct mmblockstruct huge *next;