3 ms·
Loading was automatic. Cross-segment calls were done using a system trap that brought in the code, locked it in memory and called a function at the specified of
by Someone 5y ago
Loading was automatic. Cross-segment calls were done using a system trap that brought in the code, locked it in memory and called a function at the specified offset in it. IIRC, unloading told the OS that the memory block containing the code now could be moved around or freed at will.
Those cross-segment calls were slow, so distributing one’s code over various parts was a black art. You wanted a single segment for performance, multiple segments to leave more memory available for user data.