Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to start in 386 enhanced mode ?

1,505 views
Skip to first unread message

SAEED FAISEL

unread,
Sep 28, 1992, 4:43:11 AM9/28/92
to
I have a 386/40 compatible & win 3.1.

1. How can I want always start windows in 386 enhanced mode ?

2. How can I make windows to make most use of the 4 MB ram ?
I am currently using the following config.sys

DEVICE=C:\DOS\HIMEM.SYS
DOS=HIGH,UMB
DEVICE=C:\DOS\EMM386.SYS 1024 RAM
. . .

Any help towards better installation will be appreciated.
--

Faisel Saeed

Computer Science Department, Oklahoma State University, Stillwater, OK

Stan Brown

unread,
Sep 28, 1992, 9:36:20 PM9/28/92
to
In article <1992Sep28.0...@a.cs.okstate.edu> sa...@a.cs.okstate.edu (SAEED FAISEL) writes:
>I have a 386/40 compatible & win 3.1.
>
>1. How can I want always start windows in 386 enhanced mode ?
>
>2. How can I make windows to make most use of the 4 MB ram ?
> I am currently using the following config.sys
>
> DEVICE=C:\DOS\HIMEM.SYS
> DOS=HIGH,UMB
> DEVICE=C:\DOS\EMM386.SYS 1024 RAM
> . . .
>
Your two questions have the same answer. Change RAM to NOEMS.

Note to everybody: It's really worth spending some time with the
chapters in the DOS 5 and Win 3.1 user's guides on configuring and
optimizing the system.

--
Stan Brown, Oak Road Systems br...@Ncoast.ORG
Cleveland, Ohio, USA

Mark Cosham

unread,
Sep 29, 1992, 2:55:28 AM9/29/92
to
br...@NCoast.ORG (Stan Brown) writes:

>In article <1992Sep28.0...@a.cs.okstate.edu> sa...@a.cs.okstate.edu (SAEED FAISEL) writes:
>>I have a 386/40 compatible & win 3.1.
>>
>>1. How can I want always start windows in 386 enhanced mode ?
>>
>>2. How can I make windows to make most use of the 4 MB ram ?
>> I am currently using the following config.sys
>>
>> DEVICE=C:\DOS\HIMEM.SYS
>> DOS=HIGH,UMB
>> DEVICE=C:\DOS\EMM386.SYS 1024 RAM
>> . . .
>>
>Your two questions have the same answer. Change RAM to NOEMS.

>Note to everybody: It's really worth spending some time with the
>chapters in the DOS 5 and Win 3.1 user's guides on configuring and
>optimizing the system.

Just be aware that that disables the EMS (Expanded memory) support and if
the expanded memory isn't being used then it will make very little
difference.

Mark
--
Practice random kindness and senseless acts of beauty.
-----------> <-------> <-------> <-------> <-------> <-------> <-----------
Mark Cosham Monash University, Melbourne, Victoria, Australia
int...@aurora.cc.monash.edu.au cos...@yoyo.cc.monash.edu.au

Michael Weiss

unread,
Sep 29, 1992, 12:52:14 PM9/29/92
to
In article <1992Sep28.0...@a.cs.okstate.edu> sa...@a.cs.okstate.edu (SAEED FAISEL) writes:
>I have a 386/40 compatible & win 3.1.
>1. How can I want always start windows in 386 enhanced mode ?

Start Windows with the command "win /3"

>2. How can I make windows to make most use of the 4 MB ram ?

In a nutshell, you can't. Windows does its own thing when it comes to memory
use/allocation. You can, however, mess with DOS and DOS sessions under
Windows. Actually, you can sorta mess with Windows' RAM...you can use lots of
it up in a disk cache, or you can create a permanent swapfile.

> I am currently using the following config.sys
> DEVICE=C:\DOS\HIMEM.SYS
> DOS=HIGH,UMB
> DEVICE=C:\DOS\EMM386.SYS 1024 RAM

Now, here I see a problem. I believe you need EMM386 to come before the DOS=
command if you're gonna use UMB. Also, I found that the UMB command only
works if EMM386 is used with the /NOEMS switch. An EXTREMELY useful program
for tweaking memory usage in DOS sessions is MSD, which ironically comes with
Windows, not DOS.

Furthermore, unless you are running DOS applications under Windows, you likely
wouldn't even need to stick DOS high. I think that Windows can access any
section of RAM, even in that "Twilight Zone" between 640K and 1024K. Nor,
therefore, would you need access to the UMB. You could save yourself a bit
of RAM (a couple of bytes) this way.

Hope this helps.
--
\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /
- Michael we...@seas.ucla.edu | School of Engineering & Applied Science -
- Weiss izz...@oac.ucla.edu | University of California, Los Angeles -
/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | \

Tony Chin

unread,
Oct 3, 1992, 1:50:13 AM10/3/92
to
In article <1992Sep28.0...@a.cs.okstate.edu> sa...@a.cs.okstate.edu (SAEED FAISEL) writes:
>I have a 386/40 compatible & win 3.1.
>
>1. How can I want always start windows in 386 enhanced mode ?
>
>2. How can I make windows to make most use of the 4 MB ram ?
> I am currently using the following config.sys
>
> DEVICE=C:\DOS\HIMEM.SYS
> DOS=HIGH,UMB
> DEVICE=C:\DOS\EMM386.SYS 1024 RAM
> . . .
>
>Any help towards better installation will be appreciated.
>--
First you got start windows by c:win/3 then you are in enhanced
now, go to control panel and double click the 386 enhanced mode
icon. Choose virtual memmory and then following by change settings
enable the 32bit access by clicking the box beside the statement
, at the bottom of the window. That's it, now every time you start
win it will be in enhanced mode !! Happy Windowing !!


Russ Poffenberger

unread,
Oct 5, 1992, 3:42:24 PM10/5/92
to
ent...@monu6.cc.monash.edu.au (Tony Chin) writes:
:
:

Whether or not the 32 bit access is enabled has NOTHING to do with whether
or not Windows will start in enhanced mode. If it won't start in enhanced
mode just by typing "win", then it is because it has sensed something which
will make enhanced mode impossible, or not very useful. There could be several
reasons. One is if Windows was originally installed on a 286 processor, then
various files needed to run enhanced mode were not loaded. The solution is
to reload Windows. You can verify this by typing "win /3". If there are files
missing, it will tell you, and refuse to load.

Another possibility is that your total available memory is too low. You may
be able to force enhanced mode with "win /3", but there may not be enough
memory available for reliable operation. The correct solution in this case
is to add more memory.

Note, I have a 486/33 with an Adaptec SCSI, so 32 bit disk access is not
available, yet enhanced mode comes up fine.

Russ Poffenberger DOMAIN: pof...@sj.ate.slb.com
Schlumberger Technologies ATE UUCP: {uunet,decwrl,amdahl}!sjsca4!poffen
1601 Technology Drive CIS: 72401,276
San Jose, Ca. 95110 Voice: (408)437-5254 FAX: (408)437-5246

Charles Evans

unread,
Oct 6, 1992, 9:07:38 PM10/6/92
to
In article <BvBGG...@NCoast.ORG> br...@NCoast.ORG (Stan Brown) writes:
>In article <1992Sep28.0...@a.cs.okstate.edu> sa...@a.cs.okstate.edu (SAEED FAISEL) writes:
>>I have a 386/40 compatible & win 3.1.
>>
>>1. How can I want always start windows in 386 enhanced mode ?
>>
>>2. How can I make windows to make most use of the 4 MB ram ?
>> I am currently using the following config.sys
>>
>> DEVICE=C:\DOS\HIMEM.SYS
>> DOS=HIGH,UMB
>> DEVICE=C:\DOS\EMM386.SYS 1024 RAM
>> . . .
>>
>Your two questions have the same answer. Change RAM to NOEMS.
>
>Note to everybody: It's really worth spending some time with the
>chapters in the DOS 5 and Win 3.1 user's guides on configuring and
>optimizing the system.
>

but the thing is, Borland C++ 3.1 will not load in DOS (at least on
my 386/40) with QEMM386 with the NOEMS switch

my usuall setyup is device=qemm.sys ram noems .. is there someting
wrong with using both switches, well hen i took NOEMS off, BC++ (DOS)
workds fine.. and that was also in the little install booklet in the
BC++ pacakgae... ? any ideas?

>--
>Stan Brown, Oak Road Systems br...@Ncoast.ORG
>Cleveland, Ohio, USA


--
+--------------------+-----------------------+------------------------+
| Charles E. Evans | ce...@ra.msstate.edu | Fear God |
| iDLE CHATTEr | ce...@MSSTATE.BITNET | Love the brotherhood |
| Idle chatteR |cev...@abe.msstate.edu | Pray without ceasing |

DAVID HSU

unread,
Oct 7, 1992, 1:50:59 AM10/7/92
to
>>1. How can I want always start windows in 386 enhanced mode ?

win /3

However, the story is not that simple, a lot has to do with your system
config.
a 80x86 family CPU where x >= 3
4+ Mb of RAM with approx. 2.5 - 3 available.
and maybe other minor things, but can't think of any off hand..

>>2. How can I make windows to make most use of the 4 MB ram ?
>> I am currently using the following config.sys
>>
>> DEVICE=C:\DOS\HIMEM.SYS
>> DOS=HIGH,UMB
>> DEVICE=C:\DOS\EMM386.SYS 1024 RAM
>> . . .

Recommend the first few lines of config.sys (with DOS 5.0):

DEVICE=HIMEM.SYS
DEVICE=EMM386.EXE RAM <-- subject to other applications
DOS=HIGH,UMB
DEVICEHIGH= <-- whatever device
:
:
BUFFERS=2 <-- reduce buffers size for SMARTDRV.EXE

And in autoexec.bat put

SMARTDRV

do not LOADHI it, since it loads it self high.

The above are few of the most basic things you can do with 4Mb of RAM
and DOS 5.0.

swest...@tnclus.tele.nokia.fi

unread,
Oct 9, 1992, 8:07:00 AM10/9/92
to
In article <1992Oct7.0...@ra.msstate.edu>, ce...@ra.msstate.edu (Charles Evans) writes:
> In article <BvBGG...@NCoast.ORG> br...@NCoast.ORG (Stan Brown) writes:
>>In article <1992Sep28.0...@a.cs.okstate.edu> sa...@a.cs.okstate.edu (SAEED FAISEL) writes:
>>>I have a 386/40 compatible & win 3.1.
>>>
>>>2. How can I make windows to make most use of the 4 MB ram ?
>>> I am currently using the following config.sys
>>>
>>> DEVICE=C:\DOS\HIMEM.SYS
>>> DOS=HIGH,UMB
>>> DEVICE=C:\DOS\EMM386.SYS 1024 RAM
>>> . . .
Myself i have nothing but DOS itself loaded high. I think Windows can
make use of all memory itself. So i porbably don't need the EMM386.

> but the thing is, Borland C++ 3.1 will not load in DOS (at least on
> my 386/40) with QEMM386 with the NOEMS switch

It should load fine. Just be sure to include the \BORLANDC\BIN directory
in the PATH! Possibly you will also have to add the /X switch to the
BC commandline.
Anyway i am almost sure that BC will work if you run it from Windows.
BC makes use of DPMI memory provided by Windows or its own driver DPMILOAD.
There is no point to use EMM386 or QEMM to simulate EMS-memory if it's not
really required. BTW, programs that uses EMS are in my opinion old programs.
New programs uses eighter XMS, DPMI or VCPI memory management.

> my usuall setyup is device=qemm.sys ram noems .. is there someting
> wrong with using both switches, well hen i took NOEMS off, BC++ (DOS)
> workds fine.. and that was also in the little install booklet in the
> BC++ pacakgae... ? any ideas?

Did you try to remove RAM instead of NOEMS?

Sten
============================================================================
B.Sc. Sten Westerback Telephone: +358+0 +5115871(work) +740049(home)
Address: Mets{purontie 9 B19, SF-00630 Helsinki, FINLAND Time zone: EET
Test the utility at WSMR-SIMTEL20.Army.mil::pd1:<msdos.dirutl>swxd303d.zip
NB! I am working, but not speaking for Nokia Telecommunications!
============================================================================

stephen_gibson

unread,
Oct 14, 1992, 8:48:17 PM10/14/92
to
You might check to see if you need to add the x=x000-xfff next to the emm386
line. This is done if you have a network card on your PC


Bruce H. McIntosh

unread,
Oct 14, 1992, 2:50:50 PM10/14/92
to
In article <1992Oct5.1...@sj.ate.slb.com>

poffen@rushmore (Russ Poffenberger) writes:
>ent...@monu6.cc.monash.edu.au (Tony Chin) writes:
>: In article <1992Sep28.0...@a.cs.okstate.edu> sa...@a.cs.okstate.edu (SAEED FAISEL) writes:
>: >I have a 386/40 compatible & win 3.1.
>: >
>: >1. How can I want always start windows in 386 enhanced mode ?
>: >
>: >2. How can I make windows to make most use of the 4 MB ram ?
>: > I am currently using the following config.sys
>: >
>: > DEVICE=C:\DOS\HIMEM.SYS
>: > DOS=HIGH,UMB
>: > DEVICE=C:\DOS\EMM386.SYS 1024 RAM
>: > . . .

One difficulty you might be running into here is your somewhat
Windows-hostile memory arrangement. Unless you have a compelling reason
to run a DOS app that *requires* EMS *outside* of Windows, you've likely
got too much memory given away to EMS. The setup I have (which works
well on a 4mb 386) is:

device=c:\dos\himem.sys
device=c:\dos\emm386.exe noems <---- allows high loading w/o providing ems
dos=high,umb
devicehigh=.....

Windows wants first crack at any and all extended memory it can get ahold of,
and won't use EMS at all. Your "1024 RAM" on the EMM386 line converts 1mb of
extended memory into 1mb of (useless to Windows) EMS.

There are other situations that can keep you out of 386 Enhanced mode under
Windows. If the above isn't it, check for TSRs that hijack extended memory
for their own nefarious purposes, faulty RAM, etc. Hope this helps!
Bruce H. McIntosh bru...@neufhou.mail.ufl.edu Jesus has risen!
b...@cis.ufl.edu
dh...@nervm.nerdc.ufl.edu
UF Housing user support on IBM Aggravation System/400 :-)
------------------------------------------------------------------------------
OBSOLETE (n.) - dependable, reliable, inexpensive and readily available
Support trailing-edge technology!
0 new messages