home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource Library: Graphics
/
graphics-16000.iso
/
msdos
/
editors
/
okf220
/
okems.doc
< prev
next >
Wrap
Text File
|
1988-08-05
|
4KB
|
91 lines
PROGRAM:
OKEMS.COM, Copyright 1988 by Keith P. Graham
FUNCTION:
Emulate EMS 3.2 memory manager by paging to disk.
Allows OPTIKS the ability to view huge files.
DISTRIBUTION:
OKEMS is not free and is included with the OPTIKS Private
package. It is intended to be used with OPTIKS. It is
not to be included with Freeware or Shareware distribution
software. It is not to be uploaded to BBS's.
USAGE:
Command format is:
OKEMS /nnn /x: OK
where OKEMS is the name of the program.
/nnn is the number of 16k pages to write to disk
/x: is the disk where the disk page file will
be created.
OK is the name of OPTIKS program. (Other programs
which use EMS memory may work. I tried LOTUS 2.0
and did not crash, but I have not really tested
the program with anything other than OPTIKS).
/nnn should be in the range of 4 (64k) to 256 (4 megs).
The program will create a file for paging EMS memory blocks
equal to the size of the EMS memory to allocate.
/16 = 256k, /32 = 512k, /64 = 1024k, /128 = 2048k
You must have free disk space for the page file. The file
will be erased when you are done. If you want 1 meg of
EMS memory you must have 1 meg of free disk space.
/x: is a disk where you want the page file to be created.
If you have no EMS memory but have an AT with a large RAM
disk, OKEMS will give you reasonable speed if you designate
the RAM disk as the disk to hold the EMS memory.
OKEMS uninstalls itself after executing the command following
the /x:. You do not have to execute OK directly. You may name
a COM file, an EXE file or a BAT file and OKEMS will
remain installed until the command is completed.
All command line paramters are required.
When installed, OKEMS.COM occupies 72K of real memory.
WARNINGS:
OKEMS is a 3.2 level emulator which is designed to be used
with programs which have relatively unsophisticated EMS
needs. OKEMS was written for OPTIKS and tested with OPTIKS.
It is not tested with any other program. DO NOT
ATTEMPT TO USE OKEMS WITH DISK CACHES OR OTHER RESIDENT
PROGRAMS.
OKEMS uses DOS calls to read disks. If it were used as
system memory for something like CACHE-EM by Golden Bough
or some Quarterdeck product, I am sure that you will be lucky
if the machine only locks and no damage is done.
OKEMS is designed to work with an existing EMS handler so
that it replace the existing handler while it is working.
The purpose of this is to have conventional EMS memory for
RAM disks and disk cacheing and then use OKEMS for a
transient job. EMS prior to 4.0 had a 4 meg limit. Now this
can be doubled and is limited only by the disk space that
you have.
One last warning. OKEMS is very slow compared to other EMS
memory. It has to write 16k to disk and read 16k from disk
every time a page is swapped. This is a little slow and
OKEMS should only be used on very fast disks.
Although I have tested OKEMS for the last hour and it
seems to work, I am delivering it as-is. If it works, use
it. It is very, very slow, but will provide you with
the ablity to view a very large graphics file.
Keith P. Graham, August 5, 1988