Alarm Sounder

By Robert Sprowson

Originally published in EUG #48

This file describes the program ALARM which watches the clock until a defined alarm time is reached; at which point the alarm will beep for a few seconds. For use on the 8 bit BBC series microcomputer. This program requires the machine to support OSWord 14 fully (Read the clock).

Instructions

At any command line prompt (e.g. the BASIC command prompt '>'), type:

      *ALARM (RETURN)

Now simply enter the time at which you wish the alarm to sound at when prompted. This will be stored and the machine will continue to operate as before, until the time is reached when an alarm sounds.

The program will install itself into page &C00 (The CHR$ defn buffer on the BBC or Electron, or Econet workspace on the Master 128) where it looks at the clock once per second. The alarm point will not be held if the machine is turned off and on again.

Note that this doesn't need the clock IRQ link (LK4) inside the Master as it is a software alarm.

Known Problems/Future Enhancements

No known problems.

History

v1.00  Written to replace the functionality of an entire ROM for a user.

Manual (C) 1999 Robert Sprowson
Software (C) 1998 SPROW