[comp.sys.ibm.pc.misc] Help needed to set up RAM

cyang%peruvian.utah.edu@cs.utah.edu (Cheng Yang) (11/16/90)

Hi, my 286 system has 2 MB RAM.  And I am running DOS 4.01 on my machine.

I used EMS 4.0 to configure my RAM.  0-640K is the base memory and
I have 2 blocks of 16K video shadow on C0000H and C40000H and also
a 64K shadow on F0000H for BIOS.  After I set DEVICE=EMM400.SYS in my
config.sys.  The system has 64 page (1024K) expanded memory.  However,
I prefer to have 64K memory to be set as extended memory.(to use the
HIMEM.SYS drive provided in DOS 4.01)  I could not find a way to do that.

In order to run HIMEM.SYS, I have to give up the expanded memory.  If I want
to have EMS, I can't run HIMEM.SYS.  Is there a way to reduce the EMS for
4 pages (64K) so that I set it to extended memory?  On the DOS manual, it
said that is possible.  But I could not figure out how to do that.
Or is the manual wrong?

I would be very appreciated if you can give me to find a way to figure that
out.  Especially how to set up the registers in 82c212.


Thanks a million.


Cheng Yang

jw2b@watt.acc.Virginia.EDU (Sara J. Wagner) (11/16/90)

In article <1990Nov16.041239.27258@hellgate.utah.edu> cyang%peruvian.utah.edu@cs.utah.edu (Cheng Yang) writes:
>Hi, my 286 system has 2 MB RAM.  And I am running DOS 4.01 on my machine.
>[deleted...]
>I prefer to have 64K memory to be set as extended memory.(to use the
>HIMEM.SYS drive provided in DOS 4.01)  I could not find a way to do that.
>
>In order to run HIMEM.SYS, I have to give up the expanded memory.  If I want
>to have EMS, I can't run HIMEM.SYS.  Is there a way to reduce the EMS for
>4 pages (64K) so that I set it to extended memory? [more deleted]
>Cheng Yang

I can't help with the technical question, but my experience has been
precisely the opposite -- I have 2 MB RAM on my 286 that is configured
as extended memory, and is just about worthless as such.  I have been
trying for months to find some way to convert this extended memory to
expanded memory, so that programs such as Lotus and WordPerfect can use
the expanded memory.  All of the simulators I have downloaded and tried
take up too much of the base 640K -- some of my programs require a
minimum of 512K free to run.

Unless you have some programs that require EXTENDED memory rather than
EXPANDED, I wouldn't try to convert -- expanded memory is much more
useful, IMO.


Jane Wagner, Information Specialist	   BITNET:  jw2b@virginia.bitnet
The Claude Moore Health Sciences Library   INTERNET:  jw2b@virginia.edu
Box 234, UVA Health Sciences Center	   PHONE:  804-924-0188
Charlottesville, VA  22908 		   Opinions expressed are my own

ESR@SLACVM.SLAC.STANFORD.EDU (Ed Russell) (11/17/90)

In response to:

>From: jw2b@watt.acc.Virginia.EDU (Sara J. Wagner)
>Subject: Re: Help needed to set up RAM
>Date: 16 Nov 90 13:13:20 GMT
>
>In article <1990Nov16.041239.27258@hellgate.utah.edu>
>cyang%peruvian.utah.edu@cs.utah.edu (Cheng Yang) writes:
>>Hi, my 286 system has 2 MB RAM.  And I am running DOS 4.01 on my machine.
>>[deleted...]
>>I prefer to have 64K memory to be set as extended memory.(to use the
>>HIMEM.SYS drive provided in DOS 4.01)  I could not find a way to do that.
>>
>>In order to run HIMEM.SYS, I have to give up the expanded memory.  If I want
>>to have EMS, I can't run HIMEM.SYS.  Is there a way to reduce the EMS for
>>4 pages (64K) so that I set it to extended memory? [more deleted]
>>Cheng Yang
>
>I can't help with the technical question, but my experience has been
>precisely the opposite -- I have 2 MB RAM on my 286 that is configured
>as extended memory, and is just about worthless as such.  I have been
>trying for months to find some way to convert this extended memory to
>expanded memory, so that programs such as Lotus and WordPerfect can use
>the expanded memory.  All of the simulators I have downloaded and tried
>take up too much of the base 640K -- some of my programs require a
>minimum of 512K free to run.
>
>Unless you have some programs that require EXTENDED memory rather than
>EXPANDED, I wouldn't try to convert -- expanded memory is much more
>useful, IMO.

For 386 machines QEMM-386 (Quarterdeck) and another package whose name I
forget (QMAX?) may be useful.  For 286 machines, I think QRAM by Quarterdeck
may be worth looking at.

krab@iesd.auc.dk (Kresten Krab Thorup) (11/28/90)

I suppose your mashine has built in expanded-memory-support. This
means, that that the motherboard is HARDWARE prepared for using RAM
above 640K for expanded memory.

Your motherboard, I guess, is made so - that you by dip-swiches
are able to choose if the RAM above 640K is to be used for
expanded or extended memory. By using an EMS-driver - like EMM.SYS - 
you can use the expanded memory for EMS!

The conclusion must be - I suppose - that you cant have both..

BUT - I know that drivers like `extended' -> `EMS' are available in
public domain... But dont use a such - I only trust programs that have
beed used by others before!

Anyway: EMS is used much more often than extended memory - And Windows can
use it too - But only for storing it's graphics like the wall paper.


I hope you couldt use this

Kresten, University of Aalborg, Denmark

mir@opera.chorus.fr (Adam Mirowski) (12/04/90)

In article <KRAB.90Nov28151103@weyl.iesd.auc.dk>, krab@iesd.auc.dk (Kresten Krab Thorup) writes:
%% 
%% I suppose your mashine has built in expanded-memory-support. This
%% means, that that the motherboard is HARDWARE prepared for using RAM
%% above 640K for expanded memory.
%% 
%% Your motherboard, I guess, is made so - that you by dip-swiches
%% are able to choose if the RAM above 640K is to be used for
%% expanded or extended memory. By using an EMS-driver - like EMM.SYS - 
%% you can use the expanded memory for EMS!
%% 
%% The conclusion must be - I suppose - that you cant have both..
%% 
%% BUT - I know that drivers like `extended' -> `EMS' are available in
%% public domain... But dont use a such - I only trust programs that have
%% beed used by others before!
%% 
%% Anyway: EMS is used much more often than extended memory - And Windows can
%% use it too - But only for storing it's graphics like the wall paper.
%% 
%% 
%% I hope you couldt use this
%% 
%% Kresten, University of Aalborg, Denmark

On 286 machines I have seen (Suntac chipset), you CAN partition the extra
memory between EMS and Extended, but the chunks are usually quite coarse,
512 Ko or so. You cannot have 64 extended + 320 expanded with only
384 Ko. To partition, you need to change dip switches on the motherboard.
It cannot be done be software, at least with the Suntac 286 chipset.
Usually there is a section in the machine manual which indicates the
right switches. The right positions were also repeated on the main
board drawing, at the manual end.

-- 
Adam Mirowski,  mir@chorus.fr (FRANCE),  tel. +33 (1) 30-64-82-00 or 74
Chorus systemes, 6, av.Gustave Eiffel, 78182 Saint-Quentin-en-Yvelines CEDEX