Publication: Timex Sinclair User
Pub Details: Timex Sinclair User n6 (Volume 1, Issue 6)
Date: November 1983
Pages: 35

COUNTING is a program that demonstrates how fast machine language can count. This program counts by 1s until a key on the keyboard is pressed, then the program stops counting. Submitted by Lyn Neir of Overland Park, Kansas. (T/S1000,1500,ZX81 1K).
1 REM AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
20 FOR X=16514 TO 16548
30 INPUT A
40 PRINT A;" ";
50 POKE X,A
60 IF A=201 THEN STOP
70 NEXT X
DATA - 42 12 64 17 124 1 25 126
254 0 32 2 62 28 60 254 38 32 5
54 28 43 24 239 119 205 187 2
62 255 189 202 130 64 201
NOW TYPE: LET X=USR 16514
AND THE PROGRAM WILL RUN.
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.