Here is a little subroutine I use at the beginning of user-friendly programs. Just RUN to start or call it from within your program by GOTO 60 or GOSUB 60. If you use GOSUB 60, change line 270 to RETURN and delete 999. To stop execution in midstream, press BREAK.
This routine uses just about exactly 1K RAM.
60 PRINT AT 10,5;"***HI I AM ZX81***"
65 PAUSE 100
70 PRINT
80 PRINT "I AM A HOME PERSONAL COMPUTER"
85 PAUSE 150
90 PRINT
100 PRINT "I CAN DO MANY THINGS AND","THE BEST IS***"
105 PAUSE 150
110 CLS
120 PRINT
130 PRINT "I NEVE MAKE MISTAKES"
135 PAUSE 100
140 PRINT AT 2,7;"WHOOPS"
145 PAUSE 100
150 FOR Y=25 TO 7 STEP -1
160 PRINT AT 2,Y;"R"
170 PRINT AT 2,Y;" "
180 NEXT Y
190 PRINT AT 1,6;"R"
200 FOR A=18 TO 1 STEP -1
210 PRINT AT A,6;"R"
220 PRINT AT A,6;" "
230 NEXT A
240 PRINT AT 1,6;"R"
250 PRINT AT 10,8;"WELL, ALMOST NEVER"
260 PAUSE 150
270 PRINT AT 11,15;"BYE"
999 STOP
SYNTACTIC SUM: 33973, 8K
Media
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.