Another Printer Tip: ZX81/TS 1000

See all articles from Sinc-Link v9 n2
Author(s): Sebastien Boisvert
Publication: Sinc-Link
Pub Details: Sinc-Link v9 n2 (Volume 9, Issue 2)
Date: March/April 1991
Pages: 27

My recent printer tip articles allowed you to COPY a specific line, COPY a number of lines, so I figured that a routine to COPY a block of lines would also be usefull. First, make a 1 REM with 12 bytes in it and enter the rest of the program. Next, RUN 110 and enter the code at the bottom of the page. Then delete lines 110-140 and there you have it!

 10 PRINT "NUMBER OF LINES ?"
20 INPUT A
30 POKE 16515,A
40 PRINT "START LINE ?"
50 INPUT A
60 LET A=(A-1)*33
70 RAND A
80 POKE 16520,PEEK 16434
90 POKE 16521,PEEK 16435
100 RAND USR 16514
110 FOR F=16514 TO 16525
120 INPUT A
130 POKE F,A
140 NEXT F

The code: 22,0,42,12,64,1,0,0,9,195,110,8

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.