DATA-READ-RESTORE on a TS1000

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

In our last issue of Sinc Link (Jan/Feb 1991 Page 8) we ran an article with the above title. Regrettably, we did not include several program listings that went with it. Here they are:

LISTING 1

1 FOR F=16514 TO 16620
2 INPUT A
3 POKE F,A
4 NEXT F

LISTING 2

LISTING 2: machine code bytes for addresses 16514-16620
LISTING 2: machine code bytes for addresses 16514-16620

LISTING 3

1 CLEAR
2 DIM Z$(32)
3 LET REST=16520
4 LET READ=16530
5 RAND USR REST

LISTING 4

  1 CLEAR
2 DIM Z$(32)
3 LET REST=16520
4 LET READ=16530
5 RAND USR REST
10 FOR F=1 TO 3
20 LET A$=Z$( TO USR READ)
30 PRINT A$
40 NEXT F
50 LET A=VAL Z$( TO USR READ[clipped]
60 PRINT "RESTORE ADDRESS:";[clipped]
70 LET A=VAL Z$( TO USR READ[clipped]
80 PRINT "READ ADDRESS:";A
90 PRINT Z$( TO USR READ)
100 PRINT Z$( TO USR READ)
110 REM ▒TS 1000,COMPUTER,DATA[clipped]
READ/RESTORE PROGRAM,REST,16530[clipped]
OUT OF DATA ERROR

[The right edge of Listing 4 is cut off in the scan; characters lost there are marked [clipped].]

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