home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD2.bin
/
bbs
/
util
/
mayflower.lha
/
MayFlower
/
ASR
/
ASR.doc
< prev
next >
Wrap
Text File
|
1994-05-12
|
27KB
|
596 lines
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Announce System Requests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Alias: ASR
Copyright © 1991 Stephen D. Childers
Version Number: 19940301 (1 Mar 1994)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Announce System Requests Page i-01
Table of Contents
-----------------------
Chapters:
Program Author ................................ Page A-01
Program Description ........................... Page A-02
CLI Usage ..................................... Page A-03
CLI Examples .................................. Page A-04
Workbench Usage ............................... Page A-05
Program Messages and Errors ................... Page A-06
How To Make Extra PROJECT Icons................ Page A-07
Operational Notes ............................. Page A-08
Programmer's Notes ............................ Page A-09
Version History................................ Page A-10
<XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX>
Program Author: Page A-01
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Address:
--- ---
Stephen D. Childers (o) (o)
2302 West Vesper Street ^
Blue Springs, Missouri 64015 \_____/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/ \
/ \
/ 12 Therefore all things whatsoever ye would that men \
/ should do to you, do ye even so to them: for this is the law \
\ and the prophets. /
\ /
\ The King James Holy Bible - Matthew 7:12 /
\ /
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
/X__XX__XX__XX__XX__XX__XX__XX__XX__XX__XX__XX__XX__XX__XX__X\
// \\
// \\
X 23 For the wages of sin is death; but the gift of God X
X is eternal life through Jesus Christ our Lord. X
X X
\\ The King James Holy Bible - Romans 6:23 //
\\ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ //
\X XX XX XX XX XX XX XX XX XX XX XX XX XX XX X/
\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/ \
/ \
/ 16 For I am not ashamed of the gospel of Christ: for \
/ it is the power of God unto salvation to every one that \
\ believeth; to the Jew first, and also to the Greek. /
\ /
\ The King James Holy Bible - Romans 1:16 /
\ /
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
<XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX>
Program Description: Page A-02
1) The main purpose of this program is to cause an audible noise
to be made when a System Request (henceforth referenced as SR)
pops up on the screen. This is useful if you plan to be away,
but not very far, from your computer system.
This will then allow you to do other things like read and
study your software books (or snooze) while your Amiga works.
And should a certain type of SR happen you will then be alerted
by an audible noise generated by your Amiga.
A good example of a possible SR event could be:
Your Amiga gets a transient Read/Write error with your Hard Drive
while compiling hundreds of 'C' source code files... <HORRORS> !!
(Lattice C by the way)
This is better than having your Amiga idle QUIETLY while it waits
for you to notice an SR event that needed a decision an HOUR AGO !
2) Can be used from CLI or Workbench. Can be made resident, but the
only benefit of making it resident is to bypass loading time when
program is invoked.
3) Process will increase its own priority by 7.
4) The program title "Announce System Requests" will be shortened
to an acronym and henceforth referenced as "ASR".
5) After ASR is installed it will WAIT in an idle state until
activated by any program that causes a SR to pop up on the
screen. After ASR activates it will then cause some type of
audible noise to be made which will then bring your attention
back to the computer.
The noise that ASR generates will depend upon the options you
set. The noise may be generated by the SPEAK DEVICE mode, or by
the COMMAND LINE mode. These modes are explained in detail
elsewhere in this document.
6) ASR needs the SPEAK: device mounted for announcing its startup
and its ending. The SPEAK: device will look for the
"translator.library" and the "narrator.device".
7) It is alright for you to respond to any SR before the announcement
ends without disrupting the system, but this will also depend upon
the type of noise program that you give ASR to launch. ASR may not
announce all of the SR text if you respond rather quickly to an SR.
It may be possible for the ASR program to miss an announcement
if more than one SR pops up within moments of each other. The
text that you hear from SPEAK: may also sound strange.
8) ASR can be used with the "Cancel System Requests" (CSR) program.
This will allow you to hear any SR as it is automatically canceled.
9) ASR will install itself only once.
10) Invoking ASR with option -i from CLI will cause ASR to completely
detach from the CLI and run as a background process.
If the background process should fail then it will attempt to
notify you of that fact with a SR.
<XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX>
CLI Usage: Page A-03
> ASR !|?|-options ["COMMAND LINE string or SPEAK DEVICE options"]
Description of -options:
Option 'G' (Gadgets text announced)
1) This will cause the text within the SR gadgets to be
announced. This only works in SPEAK DEVICE mode.
2) The announcement of gadgets will sound something like this:
"Positive choice is " + <text of left gadget>
"Negative choice is " + <text of right gadget>
All System Requests will have at least one gadget.
Option 'I' (Install)
1) This installs the ASR code. If used alone (ie "ASR -i")
it will cause internal SPEAK DEVICE mode and string to be
used. This option causes ASR to detach from CLI.
ASR will announce the following when installing:
"Installing Announce System Requests"
Option 'C' (COMMAND LINE mode)
1) This may be used in conjunction with the 'I' option and
this puts ASR into the COMMAND LINE mode.
2)