itoa(err,str2,16);
strcpy(str,str2);
printf("%s\n",str);
+ printf("FACK! %u\n", err);
return err;
}
}
}
else segm=1;
-//
-// take the given range out of the block
-//
- oldend = scan->start + scan->length;
- extra = oldend - (segstart+seglength);
//++++emsver stuff!
if(segm>1/*extra>0xfffflu*/)
{
inc ax
mov ds,ax
}*/
-printf("segm=%u ", segm);
-printf("ex=%lu ", extra);
-printf("start+seglen=%lu ", segstart+seglength);
-printf("len=%u ", scan->length);
-printf("segsta=%x ", segstart);
-printf("seglen=%lu\n", seglength);
+
//MML_UseSpace(?segstart?, ?length?, mm);
//printf("MML_UseSpace: Segment spans two blocks!\n");
}
+//
+// take the given range out of the block
+//
+ oldend = scan->start + scan->length;
+ extra = oldend - (segstart+seglength);
+
+printf("segm=%u ", segm);
+printf("ex=%lu ", extra);
+printf("start+seglen=%lu ", segstart+seglength);
+printf("len=%u ", scan->length);
+printf("segsta=%x ", segstart);
+printf("seglen=%lu\n", seglength);
+
//segu:
//++++todo: linked list of segment!
//printf("segm=%lu\n", segm);