On Monday, 96/06/10, Andrea Fleishman wrote to David Noon about "640k,
need more for dos" as follows:
AF> DN> 1. DOS_HIGH is set to ON
AF> DN> 2. DOS_UMB is set to ON
AF> DN> 3. EMS_MEMORY_LIMIT is set to zero
AF> DN> 4. All drivers in DOS_DEVICE have SIZE=0 prepended
AF> DN> 5. All TSR's in the AUTOEXEC.BAT are loaded using LOADHIGH or LH
AF> DN> 6. VIDEO_MODE_RESTRICTION is set to CGA
AF> DN> 7. DOS_RMSIZE is set to 640, unless you have the XBDA problem
AF>
AF> Question: #4...how do I do this and can you explain it a bit. I
AF> don't understand.
Hi Andrea,
All of the above, with the exception of #5, are in the settings
notebook for the VDM, under the 'Session' tab.
The first 2 are the same as DOS=HIGH,UMB in your CONFIG.SYS. These can
be set there for a global default. This is the way I do it.
When you have EMS enabled, a 64K "page frame" is allocated in the
UMB's and puts a "hole" in you free memory. If none of your apps need
EMS setting the limit tro zero frees up the page frame and makes for
contiguous free UMB's.
The real trick, as you noted, is getting device drivers to load high.
Under real DOS you use the DEVICEHIGH statement in CONFIG.SYS. This
statement, in its extended form, has a size parameter. By setting the
SIZE= parameter with a bogus number you a telling the VDM that you want
the driver loaded high. For example, in the DOS_DEVICE list from the
settings notebook you might want to enable ANSI screen controls, so
using an entry F:\OS2\MDOS\ANSI.SYS is the same as
DEVICE=F:\OS2\MDOS\ANSI.SYS, whereas an entry
SIZE=0;F:\OS2\MDOS\ANSI.SYS is the same as
DEVICEHIGH=F:\OS2\MDOS\ANSI.SYS. This places the driver outside of
conventional memory, in a UMB.
For #5, make sure you have DOSKEY or whatever TSR's you use started by
LH DOSKEY, etc.
In #6, the video mode restriction allows some adapter memory to be
used as more UMB's.
AF> In another note someone said to set the RM size to 639...can't do
AF> that. It's either 636 or 640. I set it back to 640.
This is addressed in #7, above. If your BIOS places its XBDA (eXtended
BIOS Data Area) close to either limit of conventional memory, place a
SET DOS_RMSIZE=639 in your CONFIG.SYS and reboot. However, this affects
only a few nasty BIOS's so most people prosper with the default of 640.
Regards
Dave
* KWQ/2 1.2i * Ayer ago i kuldnt spel progrmr, now i are won!!
--- Maximus/2 3.01
---------------
* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4)
|