home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
600-699
/
ff687.lha
/
AmigaEMS
/
AmigaEMS.Doc
< prev
next >
Wrap
Text File
|
1992-06-26
|
20KB
|
517 lines
AMIGAEMS
========
»Version 1.00«
Copyright (c) 1992 by drs. A.D. Hagen
COPYRIGHT, DISTRIBUTION AND LICENSE
-----------------------------------
All rights about this program and it's documentation remain
with the author. However, you are granted a limited license.
Here are the terms:
1) This software may be copied freely.
2) Distribution in whatever form must include the files
listed below.
/-------------------------------------------------------\
| File | Description |
|-------------------------------------------------------|
| AmigaEMS | EMS Emulator for the Amiga |
| AmigaEMS.info | AmigaEMS workbench info file |
| AmigsEMS.Sys | EMS Device Driver for the PC |
| AmigsEMS.Doc | Documentation for AmigaEMS |
| AmigaEMS.Doc.info | Documentation workbench info file |
| ResetEMS.Exe | Reset EMS after a PC reset |
| HideEMS.Exe | (Un)hide the EMS memory for the PC|
\-------------------------------------------------------/
With the word "programs" in the next statements, all these
files are ment.
3) The AmigaEMS keyfile must never be distributed. The same
applies to any additional programs accompaning the registered
version.
4) All programs must keep their original names, as listed in
the table above.
5) None of the programs may be altered. A translation into a
foreign language is allowed, provided:
a) The english version is included as well.
b) The name of the program, the name of the author, the
version and revision number and the copyright
message remain unchanged.
c) All rights of the translated program or
documentation will belong to the author of the
english version!
d) You've sent a copy of the translated files to the
author of the english version. No distribution may
take place until he has acknowledged the receipt of
the translated programs.
6) If a fee is charged for a disk containing the programs,
it may not exceed the fee used by Fred Fish. Also, the
disk must be full for at least 75%.
7) The programs may not accompany any commercial product without
obtaining a written agreement from the author of AmigaEMS
first. This includes all hardware, all commercial
software and all magazines.
8) The programs are shareware. If after a certain evaluation
period you find the program useful, you are encouraged to
register. The time you'll need for evaluation is up to you.
9) These programs have been tested extensively. However,
using them is at your own risk. Under no circumstances will
the author of the program (or anyone else) be held
responsible for any damage caused direct or indirect by
this program. If the legal situation in your country is
such that this statement does not apply to you, the use
of this program is forbidden, unless you agree to this
statement.
THE PROGRAMS
------------
AmigaEMS is a utility program for the Amiga bridgeboard. At the
moment it will work only with the A2088 XT and the A2286 AT board.
It should work with the A2386 SX as well. It does not work with any
other PC expansions and it never will, unless they use Commodore's
janus software interface.
AmigaEMS and all the icons that come with it have been designed for
use with kickstart version 2.0. If you don't have this version yet,
don't worry. AmigaEMS will work with version 1.2 and 1.3 as well.
However, the graphic images might look less attractive to you.
Sorry for that. Future versions of AmigaEMS might require Kickstart
2.0 though.
One of the main obstacles in a PC environment is the 640 Kb RAM
limit. The only alternative so far is to buy an extended or
expanded memory card for the bridgeboard. This will use one of
the few slots available. Also, some memory expansions don't seem to
work on the bridgeboard. However, many people have already
installed a memory expansion card in their Amiga. This is where
AmigaEMS comes in. AmigaEMS allows you to use Amiga RAM as expanded
memory for the bridgeboard. AmigaEMS is LIM/EMS 4.0 compatible.
The unregistered version is LIM/EMS 3.2 compatible.
Although AmigaEMS will be installed in the Config.Sys file on
your PC, it will not work with PC programs that use expanded memory
and are started in the Config.Sys file as well. E.g. ramdrives for
the PC won't work. This is a limitation of the janus software.
AmigaEMS supports non-volatile expanded memory. This means the
contents of expanded memory can survive a reset. This feature is
found on very expensive PC expanded memory cards only. AmigaEMS
has difficulty in losing expanded memory. This is why ResetEMS is
included in the package. However, the program will work only on the
registered version! Simply add ResetEMS to the Autoexec.bat file to
reset AmigaEMS. ResetEMS does not require any parameters.
Unregistered users will have to terminate AmigaEMS and start it
again each time the PC resets.
The HideEMS program is included in this package as well. It hides
EMS memory from the system. Calling HideEMS again will make EMS
visible again. HideEMS does not require any parameters.
On the PC AmigaEMS allocates a 64 Kb page swap area. If you have
only 512 Kb of RAM on the PC you might run low on conventional
PC memory. For this reason I recommend you upgrade the A2088XT to
640 Kb anyway.
Everything about starting this program is explained in the
section titled "INSTALLATION". Removing AmigaEMS is even more
simple. Just click on the close-gadget in the control window.
Please note that this will remove the Amiga side of the
program immediately. It will not remove the AmigaEMS expanded
memory manager from the PC-side. Removing AmigaEMS while a PC
program is using expanded memory might lock-up your bridgeboard
after a reset.
If AmigaEMS on the Amiga isn't running, all EMS requests will
return an error code. However, some badly written PC programs
assume the EMS handler is working correctly if it's present.
PERFORMANCE
-----------
Copying memory from the PC to the Amiga (vice versa) thru the janus
interface takes time. For this reason AmigaEMS isn't as fast as a
true EMS card. However, AmigaEMS is faster than an EMS driver with
a disk-based swapping area!
Unfortunately, there aren't any real figures about the speed of
AmigaEMS. No PC utility for measuring expanded memory speed seems
to be able to measure the speed of AmigaEMS. Some tools indicate a
speed of about 10 times as fast as a 80386/25. Unfortunately this
is slightly exaggerated and is caused by the way the janus software
handles interupts.
Expanded memory with AmigaEMS is always slower than conventional PC
memory. Hence, unless you really need expanded memory, use
conventional memory whenever possible.
Nevertheless, AmigaEMS should be useful for all bridgeboard users
that, occasionally need some extra memory on their bridgeboard and
would use an expanded memory manager with a disk-based swapping
area.
SHAREWARE AND REGISTRATION
--------------------------
AmigaEMS is made available to you under the concept of shareware.
If you want to support my efforts to control the bridgeboard, you
can register this program. The registration fee is 50 Dutch Guilders
(approx US$ 30). Don't forget to mention which program you are
registering. All registered users will receive a registration
confirmation together with their registration key. The keyfile will
disable all built-in limitations of the unregistered version. The
registered version is fully LIM/EMS 4.0 compatible. Registered users
are entitled to updates and will be notified when they are released.
There are numerous ways you can send me the registration fee. But,
NEVER SEND COINS!!! My address is given in the section titled
"SUPPORT". If you like, you can transfer the registration fee to
my bank-account. Please note: The address shown is that of the bank!
/-------------------------------------------------\
| Account: 5.683.208 of | Bank: Postbank N.V. |
| A.D. Hagen | P.O. Box 41900 |
| | 1009 CD Amsterdam |
| | The Netherlands |
\-------------------------------------------------/
In some countries, there is no legal obligation to register
for shareware programs. If this applies to you, you should
nevertheless feel morally obliged to pay for the program. It's
more than worth the small amount!
PARAMETERS
----------
AmigaEMS is ment to be very flexible. Hence, a number of
options have been included. Although both the CLI parameters
and the workbench tool types obey the same syntax, the workbench
tool types are case-sensitive, while the CLI parameters are not.
Some options are not available in the unregistered version. If
specified they are simply ignored. All examples show the default
values for the registered version.
PAGES
With the PAGES option you can specify the amount of logical EMS
pages that will be allocated in Amiga memory. Each EMS page is
16 Kb in size. The LIM/EMS 3.2 standard supports 512 pages (8 Mb).
The LIM/EMS 4.0 standard supports 2048 pages (32 Mb). The default
value is 24 EMS pages (384 Kb). The unregistered supports only 24
EMS pages.
Example: PAGES=24
HANDLES
AmigaEMS allows you to specify up to 255 handles. Each handle can
allocate 0 or more logical EMS pages. LIM/EMS 3.2 will allocate
64 handles by default. LIM/EMS 4.0 will start with the maximum of
255 handles.
Example: HANDLES=255
EMS (registerd)
This option is available in the registered version only. It allows
you to switch back to LIM/EMS 3.2 without any of the limitations of
the unregistered version. The default value for the registered
version is 4.0. The unregistered version uses 3.2 and cannot be
changed.
Example: EMS=4.0
MAPS (registered)
LIM/EMS 3.2 does not support real alternate page mapping register
sets. However, LIM/EMS 4.0 does. This option tells AmigaEMS the
number of available alternate maps. The default value is 255.
Example: MAPS=255
BUFFERSIZE
The more janus applications are developped, the less janus dual
port memory remains. By default AmigaEMS uses 16 Kb to transfer
a logical EMS from the PC to the Amiga vice versa. If you need
more dual port memory, you can change the buffer size to 8 Kb or
4 Kb. However, this will increase communication overhead and hence
decrease expanded memory performance.
Example: BUFFERSIZE=16384
SERVICE
To avoid any problems with other janus services, AmigaEMS allows
you to pick any of the 32 janus services. By default AmigaEMS
uses service 31. In the current janus release service 0 thru 17
are already used. Be sure to specify the same service on the PC
and on the Amiga.
Example: SERVICE=31
CONTROL
The location of the status window can be modified. In order to
change the position of the control window add the tool type or
parameter "CONTROL=(x,y)". X and y are measured in pixels and
represent the desired position.
Example: CONTROL=(0,0)
QUIET (registered)
The QUIET option allows you to by-pass the copyright requester at
startup. It can list either "QUIET=ON" or "QUIET=OFF". If you have
added AmigaEMS to the Startup-Sequence, you might want to choose
QUIET=ON. The default value is QUIET=OFF.
Example: QUIET=OFF
LOGLEVEL (registered)
For debugging purposes of AmigaEMS the loglevel feature was created.
In case you want to develop your own EMS programs this option is
provided in the registered version.
AmigaEMS can log all EMS requests from the PC. The default value is
0. Loglevel 1 thru 9 are available. This is a list of registered
data. The actual data logged depends on the EMS function.
0 1 2 3 4 5 6 7 8 9
Function calls x x x x x x x x x
Returncode x x x x x x x x
In/Out-reg x x x x x x x
Data struct (In) x x x x x x
Data struct (In/Out) x x x x x
EMS memory (Before) x x x x
EMS memory (Before/After) x x x
Amiga struct (In) x x
Amiga struct (In/Out) x
Warning: Loglevel 6 thru 9 will give a significant performance
fall-back on EMS requests from the bridgeboard.
Example: LOGLEVEL=0
LOGFILE (registered)
The logging information is written to file "AMIGAEMS.LOG". This
parameter allows you to change that name. The name should not
exceed 255 characters.
Example: LOGFILE=AMIGAEMS.LOG
INSTALLATION
------------
The installation of AmigaEMS is straight forward. Just follow the
instructions and it should work.
Some of the programs included in this package have to be transfered
to the PC (or Amiga). The following list shows the files that
belong on the PC-side. The files should be placed in the \SYSTEM
directory:
AmigaEMS.Sys
ResetEMS.Exe
HideEMS.Exe
All remaing files belong on the Amiga side. To transfer files from
the Amiga to the PC, please consult your Bridgeboard User's Guide.
Don't forget to specify the /b parameter on the ARead/Awrite
command.
If you completed the previous step succesfully you've finished the
hard part. Next, on the PC, the AmigaEMS.sys device driver has to
be added to your CONFIG.SYS file. Your MS-DOS User's Guide explains
how to act. The following line should be added:
DEVICE=\SYSTEM\AMIGAEMS.SYS 31
This will load the Amiga expanded memory manager when booting your
PC. The default janus service (31) can be omitted. However, if
you've used the SERVICE parameter on the Amiga you must specify
the same janus service on this line!
On the Amiga, The AmigaEMS program and it's icon should be located
in the SYS:PC/Services directory. However, you are free to put it
anywhere else.
After rebooting your Amiga AmigaEMS is ready for use. Issue the
command SYS:PC/Services/AmigaEMS or add this line to your
startup-sequence.
ERROR MESSAGES
--------------
If AmigaEMS is unable to do it's job, it informs you about what
went wrong. Here is a list of possible error messages:
AmigaEMS opens several libraries AmigaEMS requires the
At least one of these libraries following libraries:
couldn't be opened. Consult the intuition.library, graphics.
manual for more details. library, diskfont.library,
icon.library, janus.library
and exec.library.
AmigaEMS uses the Topaz/8 and the The font, probably Ruby 15,
Ruby/15 font. At least one of these isn't available on your
fonts couldn't be opened. system.
AmigaEMS opens a control window on Opening a window usually
the Workbench screen. Opening this fails on low-memory
window failed. conditions only.
AmigaEMS was unable to allocate all Most definitely a low-memory
the Logical Pages you requested. problem.
AmigaEMS allocates some memory in Too many programs use the
janus memory. There wasn't enough dual-ported janus memory.
memory available to satisfy the Try to reduce the buffersize
request. of AmigaEMS with the
BUFFERSIZE parameter.
AmigaEMS claims the JSERV_READPC AmigaEMS is already running
service. This janus service is or another program uses this
already in use. janus interrupt. Reconfigure
AmigaEMS for another
interrupt with the SERVICE
parameter.
AmigaEMS creates an Interrupt If you shut-down and start
Handler that deals with all janus AmigaEMS often this message
signals. Creating this Interrupt appears. It's a bug in the
Handler failed. janus software itself.
BUGS
----
Development of AmigaEMS was done with great care. The author
realises the impact any malfunction in AmigaEMS could have on your
data files. For this reason the release data has been postponed
several times just to allow for the necessary testing.
The basis of AmigaEMS was formed by the Lotus/Intel/Microsoft
Expanded Memory Specification (EMS) Version 4.0, updated October
1987. The author used the machine-readable form by Dick Flanagan.
To test the correct implementation according to the "EMS bible"
the EMSTEST.COM program by PC Labs was used. However, measuring
the speed of AmigaEMS with MOVETEST.COM failed. This is not a fault
of AmigaEMS but is caused by the fact that MOVETEST does not allow
enough time for AmigaEMS to complete the EMS request.
Meanwhile tests were performed with several programs that support
EMS, including WordPerfect 5.1 and Lotus 1-2-3. All tests on the
AT-board were done by Arno Griffioen, while tests on the XT-board
were performed by myself.
Just to make sure the functions behave like they should, additional
test programs were written. This was done with Microsoft's Quick C.
If you should experience any problems with AmigaEMS please send me
your bug-report. If you're a registered user, please use the
LOGLEVEL (level 9) parameter to capture the error. Send the logfile
- preferably on disk or by email - to my address. Beware, logfiles
tend to become very large; proceed with care.
The LOGLEVEL parameter is NOT available in the unregistered version.
If you did not register your copy, please describe as detailed as
possible how the error occured and how it can be reproduced. If the
program that causes the error is PD or Shareware, please include it
in your report. Otherwise state the name and version of the program
you're using.
Unfortunately, some errors are not caused by AmigaEMS. The janus
interface is a very complex piece of software. Especially old
versions of that software are loaded with bugs. If you use the
janus.library 33.1 and janus handler 2.63 (or earlier), your
chanches of getting AmigaEMS to work aren't that good. You might
contact CATS for a Janus Software Update or try a dealer near you.
SUPPORT
-------
Your registration, questions and remarks can be send to:
Drs. A.D. Hagen
Newtonstraat 20
4532 KH Terneuzen
The Netherlands
If you prefer electronic mail, you can address your messages to:
FIDO: 2:285/1.2 to Alexander Hagen
UUCP: alexhagn@neabbs.UUCP
Please note, my FIDO address has changed since the release of
version 2.0 of my PCStatus program. Also, I empty my UUCP mailbox
only once a month!
End-user support is available through the FIDO-area AMIGA_BRIDGE.
The Unregistered Amiga Bridgeboard Developer,
Alexander Hagen
REGISTRATION FORM
-----------------
Hello Alexander, I would like to register your AmigaEMS program.
I've read the license agreement and agree to it's terms. This is
my address:
Name: ___________________________________________________________
Address: ________________________________________________________
Place: _________________________________ ZIP-code: ______________
Country: ________________________________________________________
I'm already a registered user of the following programs you've
written:
_________________________________________________________________
_________________________________________________________________
The registration fee of 50 Dutch Guilders (or the equivalent in my
local currency) is:
___ enclosed
___ transferred to your bankaccount
Please send me my personal key file and the latest version of
AmigaEMS as soon as my registration has been processed.
Place: _______________________
Date: __________ Signature: ____________________