home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 1B
/
DATAFILE_PDCD1B.iso
/
_pocketbk
/
pocketbook
/
003
/
timer_zip
/
README.DOC
next >
Wrap
Text File
|
1992-06-27
|
3KB
|
83 lines
Mike Newman's Countdown Timer
Version 1.0
27.06.92
This is a very simple OPL program which allows you to time a boiled
egg or other similar action taking a few minutes. It allows you to
set a number of minutes which will be counted and then an audible
alarm will be sounded which starts at the lowest volume setting of
the speaker and rises to the highest volume if not cancelled. I have
set the default to 5 minutes for brewing a pot of tea! Source is free
for you to personalise.
Hit any key to cancel the alarm. If not cancelled, it will continue
for 30 'beeps' and then cancel itself.
I have set a limit of 10 minutes to the longest countdown time
because the Series 3 remains on for the duration and I did not want
to run down my batteries by accidentally setting a very long
countdown time.
If you want to change this time, change the last integer in the line
'dlong min&,"Minutes",0,10' to the number of minutes you want as
maximum which the user can set.
If you want to change the default number of minutes, change the line
'min&=5'.
The timer works correctly in the background while you are using
another program at the same time. However, it will not continue to
count if you switch off the machine.
The following files are supplied:-
The first 3 are necessary to run the program.
1. TIMER.OPA
This is the Timer application. Copy it to M:\APP\ and then install it
using the Install application command in the Apps menu from the
System screen.
2. TIMER.PIC
This is the icon. Copy it to M:\OPD\
3. SNDFRC.LDD
This is a file provided by Psion as an extension to the Operating
System which is needed to access the speaker. Copy it to M:\.
When you first run the timer, it will install the the LDD if it
is not already installed. It will not remove it after finishing in
case the same LDD is used by another program (such as the auto
dialer). This LDD uses 1.5K of memory while installed. If you are
short of memory and wish to remove it, run the REMLDD program
provided in the package.
Use of SNDFRC.LDD is documented in the file SNDFRC.ZIP which can be
downloaded from CIS.
The following files are provided for information and if you wish to
adapt the program to your own requirements. You do not need to copy
them to your Series 3 unless you wish to personalise the program.
4. README.DOCThis file.
5. TIMER.OPL
This is the OPL source of the Timer program. Feel free to change it
as you wish.
6. REMLDD.OPO
This program can be run after finishing with the Timer program if
you wish to remove the speaker LDD from memory. You should only
do this if you are sure that no other programs will need it (e.g.
auto-dialers). The LDD only uses 1.5K of memory. You can re-install
the LDD by running Timer again.
------------------------------------------------------------------
This simple program is donated to the Public Domain and placed on CIS
in gratitude for all of the many files I have already downloaded.
I hope you find it useful.
best regards
Mike Newman, 100031,3232