A software egg timer. Enter the minutes and seconds, then press any key except BREAK to start. The program waits in FAST mode with a blank screen, then sounds its alarm: lines 13 and 14 repeat a very short PAUSE, which makes the display flicker and the TV buzz. Turn the TV volume up, and change the last number in line 13 for a different tone. BREAK stops the alarm.
The article suggests removing add-ons such as the RAM pack to cut background noise. The program was printed for 2K, but it also runs in 1K.
Published in Syntax June 1983 (Egg Timer).
Source Code
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 13Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.
