Reply 20 of 25, by wierd_w
mockingbird wrote on 2025-06-04, 16:35:Very simple:
Add RLOEW's limitmem to config.sys as the first line.
This only stops himem.sys from claiming and servicing the address space.
The system would still have ram connected to addresses above this limit, which is the suspected culprit.
386+ cpus have a feature called an MMU, or Memory Management Unit. On intel processors, it's a feature of protected mode.
https://en.m.wikipedia.org/wiki/Memory_management_unit
The utility I posit would use this functionality to literally tell the CPU to disconnect (ignore) physical address above the detected threshold, using this method.
This means nothing would be in the way of the OS using the MMU later to do virtual addressing.
--
Addendum:
Isolinux+memdisk assume control over physical addresses outside what the bios int15h reports, so that the memory used by the ramdisk is not in contest with the XMM or running OS. Accesses to those physical addresses still talk to physical RAM, which is HOW the ramdisk functions.
It is this 'Ram still connected, even though the OS is ignorant of this fact' that I would address.
That we might not want to clobber certain hardware address connections (device crossbar area, ramdisks of this type, et al) is why an exclusion argument is desirable.
See also
https://stackoverflow.com/questions/30190050/ … ter-bar-in-pcie