home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 1
/
GoldFishApril1994_CD2.img
/
d4xx
/
d411
/
pcstatus
/
pcstatus.doc
< prev
next >
Wrap
Text File
|
1990-12-15
|
15KB
|
356 lines
PCSTATUS
========
»Version 2.0«
Copyright (c) 1990 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 at least the
files listed below.
/-------------------------------------------------------\
| File | Description |
|-------------------------------------------------------|
| PCStatus | PCStatus program for the Amiga |
| PCStatus.info | PCStatus workbench info file |
| PCStatus.Exe | PCStatus program for the PC |
| PCStatus.Doc | Documentation for PCStatus |
| PCStatus.Doc.info | Documentation workbench info file |
\-------------------------------------------------------/
With the word "programs" in the next statements, all these
files are ment.
3) All programs must keep their original names, as listed in
the table above.
4) 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.
5) 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%.
6) The programs may not accompany any commercial product without
obtaining a written agreement from the author of PCStatus
first. This includes all hardware, all commercial
software and all magazines.
7) 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.
8) These programs have been tested extensively. However,
using it 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.
SHAREWARE AND REGISTRATION
--------------------------
PCStatus is made available to you under the concept of
shareware. The only reason for me to do so, is to find out
wether shareware works. If it does, I will release any future
janus applications as shareware as well. If it does not work,
I will either keep the programs to myself or I will distribute
them commercially. Remember, PCStatus is just a try-out. It's
up to you to decide what will happen with my next janus
program.
Everything I know about programming the bridgeboard was
discovered with the help of some files left behind by
Commodore on the original janus disk. PCStatus gives you just
a taste of the possibilities of the janus software. As my
understanding of the bridgeboard grows, the programs will get
more complicated and even more useful. If you want to support
my efforts to control the bridgeboard, you can register this
program. The registration fee is very modest, 10 Dutch
Guilders (approx US$ 5). This is the smallest banknote over
here. There are numerous ways you can send me the money. The
table below gives you a short overview. But, NEVER SEND COINS!!!
You can obtain my address from the section, titled SUPPORT, at
the end of this manual.
/-----------------------------------------------------------\
| Payment method | Value in Dutch Guilders |
|-----------------------------------------------------------|
| Cash (in Dutch Guilders) | 10 |
| Cash (in another currency) | 15 |
| (International) money order | 15 |
| National bank transfer | 10 |
| International bank transfer | 25 |
| Check (drawn on a Dutch bank) | 10 |
| Check (drawn on a foreign bank) | 25 |
\-----------------------------------------------------------/
Any additional charge (above 10 Dutch Guilders) is used to
cover exchange rate fluctuations and provisions only. If you
want to transfer the amount to my bankaccount, here are the
details:
/-------------------------------------------------\
| Account: 5.683.208 of | Bank: Postbank N.V. |
| A.D. Hagen | P.O. Box 41900 |
| | 1009 CD Amsterdam |
| | The Netherlands |
\-------------------------------------------------/
Don't forget to mention which program you are registering. All
registered users will receive a registration confirmation.
All charity organisations can apply for a free registration.
To do so, simply send a request on official organisation paper
together with the statute of your organisation. If the request
is granted, you'll receive your registration confirmation free
of charge.
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!
THE PROGRAM
-----------
PCStatus is one of the first utility programs for the Amiga
bridgeboard; and it's the first one that is released as
shareware. At the moment it will work only with the A2088 XT
and the A2286 AT board. It does not work with any other PC
expansions and it never will, unless they use Commodore's
janus software interface.
PCStatus and all the icons that come with it have been designed for
use with version 2.0 of the workbench. If you don't have this
version yet, don't worry. PCStatus will work with version 1.2 and
1.3 as well. However, the graphic images might look less attractive
to you. Sorry for that.
PCStatus will open a status window on every screen that
contains a PCWindow. Once invoked, PCStatus will monitor all
OpenWindow and CloseWindow function calls and act if these
functions deal with a PC display window.
In each status window the status of the CAPS, SCROLL, NUM and
INS key are displayed. Also, any changes in the CapsLock-key
outside a PCWindow will be transmitted to the bridgeboard. So,
both the PC and the Amiga will work with the same setting of
the CapsLock key.
Everything about starting this program is explained in the
section titled "INSTALLATION". Removing PCStatus 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 and will close all status windows that are
still open. It will not remove PCStatus from the PC-side. To
achieve that simply reboot the PC. However, you might as well
leave it untouched, since PCStatus does not require any
conventional memory. Yes, PCStatus doesn't need any user
memory, nor does it need any expanded or extended memory.
Instead, all routines are kept in the janus dual port memory.
The amount needed is minimal; approximately 170 bytes.
PARAMETERS
----------
PCStatus is ment to be very flexible. Hence, a number of
options for the Amiga program 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.
AUTOLOAD
Most options can be used from both the CLI and Workbench. The
only option that is used from the Workbench only is AUTOLOAD.
The tool type "AUTOLOAD=84545.1020" should always be present,
for upwards compatibility. Please note, I picked this number
myself. As soon as I manage to get an official Application ID
from Commodore (for free of coures), I'll change it immediately.
All remaining options can be used from the CLI as well.
STATUS and CONTROL
Especially for NTSC-users, the location of the status window and
the control window can be modified. In order to change the position
of the status window add the tool type or parameter "STATUS=(x,y)".
X and y are measured in pixels and represent the desired position.
The location of the control window is set alike: "CONTROL=(x,y)".
If the position of the status window is outside the screen's
dimensions, no status indication will be shown. Please note that
a low resolution graphics/text screen has a width of 320. If you
want a status window on this screen, you'll have to change the
default settings.
SHIFT
The current janus software does not tell the PC about changes
in the CapsLock key, while we are working in a non-PC-window.
Hence, it is possible that the CapsLock key does not reflect
it's actual state, while working in a PC window. The SHIFT
option fixes this. The tool type or parameter either contains
"SHIFT=ON" or "SHIFT=OFF". As long as Commodore hasn't fixed this
problem, you should use SHIFT=ON.
QUIET
The last Amiga option is called QUIET. Just like SHIFT it can
list either "QUIET=ON" or "QUIET=OFF". If you have added
PCStatus to the Startup-Sequence, you might want to choose
QUIET=ON. This way the Copyright requester won't show when
PCStatus is invoked.
Just to show you how these parameters are used for real, here
is a CLI example, using all the default settings. The order of
the parameters is not significant.
PCStatus Shift=On Quiet=Off Status=(388,226) Control=(424,0)
The file PCStatus.info contains all the default tool types for
use from the workbench. Use the "Info" option from the workbench
menu to list them.
INSTALLATION
------------
The installation of PCStatus is quite simple. Just follow the
instructions and it should work.
PCStatus exchanges data between the Amiga and the PC. In order
to get things working, you'll need two programs, one for the
Amiga and one for the PC. Unless you received this program on
two disks, one for the PC and one for the Amiga, you must move
one or more files to the other system. Here is how that is done:
1) Make sure the file Config.Sys on the PC contains the line
DEVICE=C:\SYSTEM\JDISK.SYS. If you don't have a PC
(pseudo) harddisk or if JDISK.SYS isn't located in the
SYSTEM directory, you have to customize this line for
your system. In order for these changes to take effect,
you have to reboot the PC.
2) The startup-sequence on the Amiga should contain the line
"Run PC/PCDisk". If your startup-sequence didn't contain
this line already, you should reboot the Amiga now!
3) Now we can transfer the file between the systems. There
are two alternatives:
a) The files are on the Amiga. Type this command on the
PC: "ARead PCStatus.Exe C:\SYSTEM\PCStatus.Exe /b".
Again, you might have to change some drives or path
names.
b) The files are on the PC. Type these commands on the
PC: "AWrite PCStatus Df0:PC/Services/PCStatus /b" and
"AWrite PCStatus.info Df0:PC/Services/PCStatus.info /b".
You might have to change the drives and path names here
as well.
The one thing remaining is installing PCStatus itself. I've
chosen for the solution where PCStatus is loaded automatically
when the system is booted. This installation is a two-step
procedure.
1) The Amiga program, PCStatus, should be located in the
PC/Services directory. Once this is done, you should add
this line to the Startup-Sequence: "PC/Services/PCStatus".
2) The PC program, PCStatus.Exe, should be located in the
SYSTEM directory (or whatever directory the ATIME and
JLINK command are in). Also, the line "SYSTEM\PCSTATUS"
must be added to the Autoexec.Bat file.
If you have a PAL Amiga you can stop here with the
installation. After rebooting, a PCStatus window will pop-up
on every screen that contains a PCWindow. If you own a NTSC
Amiga, you must change some startup parameters first. Read the
section titled PARAMETERS how this is done.
To operate properly, PCStatus needs some libraries and fonts.
Here is a complete lists:
/-------------------------------------\
| Required libraries | Required fonts |
|-------------------------------------|
| Diskfont.library | Topaz.font/8 |
| Dos.library | Ruby.font/15 |
| Graphics.library | |
| Icon.library | |
| Intuition.Library | |
| Janus.library | |
\-------------------------------------/
If any of these items isn't available, PCStatus will show an
error requester, telling you what went wrong. Correct the
problem and try again.
BUGS
----
PCStatus has been tested very carefully. The testing on the XT
was done by myself. All testing on the AT was done by Arno
Griffioen.
There is one known bug in PCStatus. If the PCStatus control
window is closed and the program is started again, the Amiga
will create a new service. Also, PCStatus.Exe on the PC has to
be started again. The previous service will sit and wait until
you reboot the Amiga. Having two services in memory will
slightly affect your PC's performance, although it will not
affect the performance of your Amiga.
The PC/Amiga interface is a complex piece of software and
hardware. The file PC.Boot contains the interface software for
the PC. Unfortunately, old versions of this file contain several
serious bugs and some miner bugs. If PCStatus does not work
properly with your bridgeboard, contact Commodore in your
country or contact CATS for a Janus Software Update.
SUPPORT
-------
All 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/403.2 to Alexander Hagen
UUCP: ...!hp4nl!afa!eddysf!nucleus!alexhagn or
alexhagn@neabbs
At the moment the first UUCP address does not seem to work very
reliable. If your message bounces or if you don't get an answer,
please resend the message to the second address. Reading your
messages costs me money, so keep them short and to-the-point.
The Unregistered Amiga Bridgeboard Developer,
Alexander Hagen