A Machine Code Loader Program for the T/S 1000

See all articles from The Plotter v3 n3
Author(s): Dick Wagner
Publication: The Plotter
Pub Details: The Plotter v3 n3 (Volume 3, Issue 3)
Pages: 4

This month we have several programs and routines for you to make use of. We hope that you find something that suits you.

These come from several people; Dennis Jurries, Jack Armstrong and Dick Wagner.


This machine language loading program for loading REM lines is used in Gordon Young‘s article “Build Your Own Spreadsheet” in SYNC Jan/Feb 84. The method provides for entering the MC, one at a time, into a table 6 column across, left to right. The Mc number can be edited when first displayed, and then again in the table (last line only and not the 6th column). The MC listing scrolls so you have unlimited display space.

It is possible to SAVE the REM listing while in process! The LOADed MC listing (incomplete) can be continued until finished. If STOP is used before finishing any further input starts back at the beginning. Accordingly you cannot see characters going into REM until finished.

If you have a different column count than 6 then change 9935, 9940 & 9975. The M<26 assures the loops continue and when M>26 the loop stops on the 6th input. The M+5 and M-5 allows for 5 inputs of 3 characters and 2 spaces each plus the last 3 characters. See Gordon Young’s article for complete details. 16514 is the address for the first byte after REM. This program is for 60 rows of data in 6 columns.

9900 LET N=16514
9905 LET M=0
9910 INPUT A
9915 IF A>300 THEN GOTO 9960
9920 POKE N,A
9925 PRINT AT 20,M;A
9930 LET N=N+1
9935 LET M=M+5
9940 IF M<26 THEN GOTO 9910
9945 LET M=0
9950 SCROLL
9955 GOTO 9910
9960 IF A>555 THEN GOTO 9999
9965 IF A=555 THEN GOTO 9990
9970 LET N=N+1
9975 IF M<26 THEN LET M=M-5
9980 PRINT AT 20,M;" "
9985 GOTO 9910
9990 SAVE "ASSEMBLER"
9995 GOTO 9910
9999 STOP

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