A title screen for the Clackamas County Area Timex Sinclair Users Group. Four FOR-NEXT loops print CLACKAMAS across the top, down the right side, back along the bottom and up the left side of a square, so that it reads round the frame; inside go the words County, Area, Users and Group, with the initials C, C, A, T, S in inverse video on a diagonal, and the program draws a double border and four block-graphic corners. The REMs explain that the screen positions are tied to the loop counters: an example of controlled loops.
The listing prints AT k-13 in the loop that goes down the right side; the TS2068 ignores the sign of a PRINT AT position, so it works and gives the printed screen. In our transcription the inverse letters were marked illegible and the corners shown as grey squares: they are built from the scan and the printed screen picture (the T and S are blurred and read from the club’s name).
Published in The Plotter January 1985 (Screen Format Routine), and again in May 1990 (Some Golden Oldies).
Source Code
5 REM SCREEN FORMAT ROUTINE From Jack Armstrong
6 REM Note the positioning tied to the loop #'s
10 LET x$="CLACKAMAS"
20 PRINT : PRINT : PRINT : PRINT
25 REM This loop prints across
30 FOR k=1 TO LEN x$: PRINT AT 4,11+k;x$(k);: NEXT k
35 REM This loop prints down
40 FOR k=LEN x$ TO 1 STEP -1
50 PRINT AT k-13,20;x$(k)
60 NEXT k
65 REM This loop prints back to the left
70 FOR k=1 TO LEN x$
80 PRINT AT 12,21-k;x$(k)
90 NEXT k
95 REM This loop prints up
100 FOR k=LEN x$ TO 1 STEP -1
110 PRINT AT k+3,12;x$(k)
120 NEXT k
130 PRINT AT 4,12;"C";AT 5,13;"County";AT 6,14;"Area";AT 7,15;"T";AT 8,16;"S";AT 9,14;"Users";AT 10,14;"Group"
150 PLOT 87,151: DRAW 88,0: DRAW 0,-88: DRAW -88,0: DRAW 0,88
160 PLOT 84,153: DRAW 0,-92: DRAW 94,0: DRAW 0,92: DRAW -94,0
170 PRINT AT 3,11;"▛";AT 3,21;"▜";AT 13,21;"▟";AT 13,11;"▙"
180 PLOT 123,107: DRAW 9,9Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.
