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
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
>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
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 -
/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | \
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
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 |
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.
> 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!
============================================================================