Hallo Herr Bernd Böckmann via Freedos-devel,

am Donnerstag, 20. Februar 2025 um 00:11 schrieben Sie:

> Hello Jeremy,

> On 20.02.2025 00:03, perditi...@gmail.com wrote:

>> Thanks for looking into it.  I will have a look at Watcom build and > see 
>> why it's  not patching header.

> Have a look at

> https://github.com/FDOS/freecom/blob/fa674ea7b5aa4fcb0e4b4263d9ba31d79ccfc961/tools/ptchsize.c#L276

> ;)

> While the source comment "Watcom already has extraMin minimal and dynamically 
> adjusts its MCB" seems to be valid, 
> it partially misses the point in that adjusting extraMin may prevent DOS from 
> loading FreeCOM into a 
> memory area which is too small to guarantee it gets enough heap.

it also misses the point where a load-low command load TSR's like mKEYB, 
DISPLAY, etc. to low memory (because 
not enough UMB is available). in that case the automatically expanded MCB is 
stopped at the first loaded TSR.
FreeCOM command that rely on malloc() for what they do may fail because 
"extraMin minimal and dynamically adjusts its MCB"
is no longer available. FreeCOM really needs extraMin for reliable operation if 
not XMS_SWAPing.

Tom



_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to