Egg Timer

Author(s): Dan Tandberg
Publication: Syntax
Pub Details: Syntax/Syntax ZX80 v4 n6 (Volume 4, Issue 6)
Date: June 1983
Pages: 14

This simple, practical software timer sets off an alarm to let you know when your egg boils, your game finishes or time’s up.

Type in the program, including the four commas ending lines 1, 5, 8 and 9. Turn your TV volume up and press RUN then ENTER.

Type in the boiling time and hit any key except BREAK to start.

EGG TIMER works best with just your computer and TV. Removing any add-ons minimizes background noise, making the alarm easier to hear.

Change the last number in line 13 to create different alarm tones.

   1 PRINT "EGG TIMER",,,,
2 FAST
3 PRINT "MINUTES? ";
4 INPUT M
5 PRINT M,,,,
6 PRINT "SECONDS? ";
7 INPUT S
8 PRINT S,,,,
9 PRINT "PUSH TO START",,,,
10 PAUSE 10000
11 CLS
12 PAUSE 3600*M+60*S
13 PAUSE 1E-20
14 GOTO 13
SYNTACTIC SUM: 10591, 8K ROM

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.