Once you have a
reliable list of UMBs. The next step is to decide which drivers to move into
which blocks. The problem is that you will have a list of UMBs of various sizes
and drivers which occupy various amounts of memory to fit into them with
minimum waste. This problem isn’t as difficult as it sounds, but if you feel it
too technical or too boring you can always use a UMB provider that includes as
automatic allocation procedure.
The final
question is how much memory a UMB provider can make available? The answer
varies according to the type of machine and the efficiency of the UMB provider
in locating holes and making use of them. In practice you can expect to add
between 100 and 160KBytes of memory and so potentially increase the conventional
memory available to 610KBytes, even with network drivers etc. loaded. The only
cost of this technique is the 100KBytes of extended memory that is paged down
to form the UMBs and the time and trouble it takes to organize the system
faults caused by moving drivers into UMBs that are in some way incapable of
being run from a higher memory location. This risk is very low if you confine
your attention to drivers that explicitly mention that they can be moved into
UMBs and leave any that are vague or suspect in conventional memory. another
strange problem can be caused by being too successful at freeing conventional
memory. Some applications programs, quite unreasonable, refuse to work if they
are loaded into memory below the first 64KByte block. The solution to this
problem is to use a special program loader that moves them above the first
64KByte block, even if it is partially free, so wasting some of the memory that
you tried so hard to free! See Chapter 11 for practical details of using real
UMB providers.

0 comments:
Post a Comment