TIP: Click on subject to list as thread! ANSI
echo: os2dos
to: JOCELYN DOIRE
from: DAVID NOON
date: 1996-06-03 20:39:00
subject: 640k, need more for dos

On Saturday, 96/06/01, Jocelyn Doire wrote to David Noon about "640k,
need more for dos" as follows:
JD> DN> These should have ;SIZE=0 appended to each so that DEVICEHIGH
JD> DN> is emulated, instead of just DEVICE.
JD> 
JD> 
JD> Tried it, but no luck, I still get less than 640k of memory! :(
JD> 
JD> Where did you found that info? I searched everwhere and
JD> found no trace of it.
Hi Jocelyn,
Well, I mistyped it. The SIZE=0 should be prepended not appended.
Sorry about that.
It is documented in the OS/2 Command Reference in your Information
folder, under the topic DEVICEHIGH.
JD> DN> If you don't use TCP/IP apps in your VDM's, the VDOSTCP.SYS
JD> DN> can be ditched completely.
JD> 
JD> It's now gone. I also replaced all the DEVICE with DEVICEHIGH in
JD> the CONFIG.SYS, but still, I can not get more that 640k.
JD> 
JD> If only OS/2 would tell me why!...
The memory allocation is in the lap of the DOS session rather than
OS/2. That said, here is a quick and dirty checklist you can go
through to try to maximise conventional memory in a VDM.
 1. DOS_HIGH is set to ON
 2. DOS_UMB is set to ON
 3. EMS_MEMORY_LIMIT is set to zero
 4. All drivers in DOS_DEVICE have SIZE=0 prepended
 5. All TSR's in the AUTOEXEC.BAT are loaded using LOADHIGH or LH
 6. VIDEO_MODE_RESTRICTION is set to CGA
 7. DOS_RMSIZE is set to 640, unless you have the XBDA problem
Ignoring any one of these can cause DOS to put things lower than
wished for.
Regards
Dave

 * KWQ/2 1.2i * "Dyslexic Christian sells soul to Santa."  ... News at 11
--- Maximus/2 3.01
---------------
* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.