Expensive computers have a built-in procedure to check the system when starting, whereas we have only a “K”. To remedy this situation I am supplying the following program. Don’t panic, I did not write a program. The 16 K test is from the directions that come with the Sinclair RAM and the joke used to fill out the program is suitably referenced.
Notes on the program:
Line 1: SLOW is needed at the beginning of all programs loaded with ZXLR8.
Line 25: CLS removes the ZXLR8 message.
Line 110:If the 16K isn’t all there, I suspect the program will crash anyway.
Line 130 and140: These call up the ZXLR8 program to load the next part of the tape.
1 SLOW
10 REM <><><>OFFICE<><><>
20 REM <><><>INTRO<><><>
21 REM A. KOHLENBERG-SYNTAX 5/82
25 CLS
30 GOSUB 160
90 REM <><><>MEMORY TEST<><><>
100 REM <><><>16K TEST<><><>
101 POKE 19000,33
102 POKE 19001,11
103 POKE 19002,0
104 POKE 19003,57
105 POKE 19004,68
106 POKE 19005,77
107 POKE 19006,201
108 LET L=(USR (19000)-16373)/1024
109 PRINT L;"K"
110 IF L<15.9 THEN STOP
120 PAUSE 150
125 CLS
130 PRINT AT 4,1;"ENTER ""OFFICE"" AT THE PROMPT"
140 PRINT USR 14336
150 GOTO 0
160 PRINT AT 10,5;"*** HI, I AM ZX81 ***"
165 PAUSE 100
170 PRINT AT 12,3;"I AM A PERSONAL COMPUTER"
180 PAUSE 150
190 PRINT AT 14,3;"I CAN DO MANY THINGS AND"
195 PRINT AT 15,7;"THE BEST IS ***"
200 PAUSE 150
210 CLS
220 PRINT ,,"I NEVE MAKE MISTAKES"
230 PAUSE 100
240 PRINT AT 2,7;"WHOOPS"
245 PAUSE 100
250 FOR Y=25 TO 7 STEP -1
260 PRINT AT 2,Y;"r"
270 PRINT AT 2,Y;" "
280 NEXT Y
290 PRINT AT 1,6;"r"
300 FOR A=18 TO 1 STEP -1
310 PRINT AT A,6;"R"
320 PRINT AT A,6;" "
330 NEXT A
340 PRINT AT 1,6;"R"
345 PAUSE 100
350 PRINT AT 10,8;"WELL, ALMOST NEVER"
360 PAUSE 150
370 CLS
380 RETURN
Some alterations would have to be made for a 64K RAM but I have never been able to get one to work on my system.
Something of more use is a zapper. This is a device to remove electrical spikes from your telephone line. I didn’t think they were necessary either until we were struck by lightning and it took me a year to get my system back together. Zappers are available from Spaceport Products, Box 927, Sharpes, FL 32959 and were about $11 each a year or so ago. Unless I were renting my telephone I would have one there too.