Campbell Scientific CSM1 Card Storage Module User Manual

Page 65

Advertising
background image

Appendix A. PCMCIA Driver Software Notes

A-3

The line in your CONFIG.SYS which sets up EMM.386 will look something
like:

DEVICE=C:\DOS\HIMEM.SYS

DEVICE=C:\DOS\EMM386.EXE NOEMS

If, after studying other memory requirements and memory use (such as the
address space used by your video card) you decide that the memory area
D0000 to DFFFF may be used by CardServices, then change your lines as
shown below.

DEVICE=C:\DOS\HIMEM.SYS

DEVICE=C:\DOS\EMM386.EXE NOEMS /X=D000-DFFF

There is one 0 and one F missing out from the memory address
you enter in CONFIG.SYS. This is because EMM386 expects a
segment address. Each segment contains 16 bytes, 0-15 (0-F),
and so the beginning address in the segment D000 is D0000 and
the ending address of the segment DFFF is DFFFF.

Some high performance graphics cards require memory to be excluded in the
same way. More than one region of memory may be excluded by repeated use
of the /X= option.

Windows Users:

In your SYSTEM.INI file there should be a line which looks something like

EMM386Exclude=D000-DFFF

representing your ‘exclude’ range.

A.3.1 How to Choose Which Area of Memory to Allocate to

CardServices

The address range used by CardServices can be from A0000 to FFFFF.
However not all machines are able to let CardServices use these addresses.
Many machines cannot use addresses below

C8000

or above

E8000

for Card

Services. If you are just extending the region of memory allocated to card
services, it may be best to leave the start of the region where it is, as you know
your machine is capable of using memory from that address.

Excluding a region of memory for use by other programs does not mean that
card services will be aware of it and be able to use it. The various
implementations of CardServices come with their own .INI files, which specify
the regions of memory which Card Services will use. Many implementations
of card services also have utility programs which automatically detect the free
memory and automatically create the .INI file accordingly. This may not be
the case with your implementation, or it may be that Card Services will try and
use a region which was excluded for use by some other device such as a high

NOTE

Advertising