This program converts a TS2068 BASIC program in memory to an MSCRIPT text file.
When you have to generate a newsletter and need to get your BASIC program into a word processor to work on it’s appearance or upload it to another kind of computer for publication ‘BASIC to TEXT‘ does the job.
If you work only with TASWORD TWO, you will next convert the MSCRIPT file to a TASWORD TWO file using Kurt CASBY‘s program UNLOADER (CNVRT.BV) which was part of his ensemble LOADER V. That program unloads (converts) the MTERM II buffer or an MSCRIPT file into a TASWORD TWO file.
With the use of these two programs our editor is able to move all the ‘ones and zeros’ he obtains from all types of computers on the other end of his phone line, work them into a 31 wide, right justified with real spaces, column for the BBS and newsletter, pick them up at work in his MACINTOSH SE and print out the newsletter on an APPLE LASER WRITER! [MAC is his employers choice, not his own, for two reasons. Not only because when it comes to computers are they functionally illiterate, but also because they are the makers of the 68000 series microprocessors!]
BASIC TO TEXT is a machine code program. What I have attempted to do here is give you a driver and BASIC machine code generator so that you could have this program yourselves. I do not know the source of this fine program, but if any of you know, let us know and we will give that person credit. Though other small computers have the ability to put their BASIC code into a text file and back again to BASIC, TS2068 has long been needing this feature and this program is only half of it.
These programs are downloadable to MTERM II from our BBS as BS2TXT.B1 and BS2TXT.B2 or write us and ask for a LarKen SSDD disk.
PROGRAM #1
10 REM ***********************
11 REM * TS-2068 Basic>Text *
12 REM * INSTRUCTION PROGRAM *
13 REM ***********************
15 BORDER 1: INK 9: PAPER 1
20 CLEAR 64899: POKE 23658,0
30 RANDOMIZE USR VAL "100": LOAD "bs2txt.C1"CODE 64900,592
40 PRINT "This program converts a BASIC","program listing into an ASCII","text file that can be saved and","loaded into a word processor. "
50 PRINT ''"** BASIC TO TEXT PROCEDURES **"
60 PRINT ''"1. CLEAR 64899"
70 PRINT "2. Load your BASIC program."
80 PRINT "3. Load bs2txt.C1 code"
90 PRINT "4. Enter: RANDOMIZE USR 64909"
100 PRINT "5. Enter: RANDOMIZE USR 65042: PAUSE 0"
110 PRINT "6. SAVE per the instruction."
120 PRINT "7. Use CONVRT.BV to convert file to Tasword Two."
130 STOP : GO TO 9998
9992 RANDOMIZE USR VAL "100": SAVE "BS2TXT.B1" LINE 1
9993 REM RANDOMIZE USR VAL "100": SAVE "bs2txt.C1"CODE 64900,592
9998 RANDOMIZE USR VAL "100": LOAD "L.B1"
PROGRAM #2
10 REM ***********************
20 REM * BASIC-TO-TEXT *
30 REM * MACHINE CODE LOADER *
40 REM * BY BOB SWOGER V1.0 *
50 REM ***********************
110 CLEAR 64899: RESTORE 4900
120 FOR I=1 TO 592
130 READ A
140 POKE (I+64899),A
150 NEXT I
160 GO TO 9993
200 LIST : STOP
4900 DATA
000,000,000,000,000,000,000,000,
000,237,075,083,092,042,075,092,
237,066,035,035,229,193,237,067,
137,253,237,091,178,092,237,083,
135,253,042,075,092,237,184,019,
237,083,133,253,017,216,253,001,
058,000,205,219,033,205,176,002,
123,254,255,032,248,122,254,255,
032,243,205,176,002,123,254,255,
040,248,017,000,111,237,083,178
4980 DATA
092,205,029,013,022,000,000,066,
065,083,073,067,032,104,097,115,
032,098,101,101,110,032,109,111,
118,101,100,046,032,022,002,000,
080,082,069,083,083,032,065,078,
089,032,075,069,089,032,084,079,
032,067,076,069,065,082,032,077,
069,077,079,082,089,046,042,178,
092,034,139,253,033,132,253,054,
000,042,133,253,086,035,094,035
5060 DATA
035,035,229,229,193,042,135,253,
175,237,066,210,174,254,225,017,
118,254,001,055,000,205,219,033,
042,139,253,017,000,111,237,082,
043,017,016,039,205,105,254,017,
232,003,205,105,254,017,100,000,
205,105,254,017,010,000,205,105,
254,017,001,000,205,105,254,062,
253,205,048,018,201,175,060,237,
082,056,002,024,249,025,198,047
5140 DATA
215,201,022,000,000,084,111,032,
115,097,118,101,032,066,065,083,
073,067,032,097,115,032,116,101,
120,116,032,102,105,108,101,058,
013,013,083,065,086,069,032,034,
110,097,109,101,034,032,067,079,
068,069,032,050,056,052,049,054,
044,000,235,030,032,001,232,003,
205,182,255,001,100,000,205,182,
255,001,010,000,205,182,255,125
5220 DATA
254,032,040,002,198,048,205,201,
255,225,126,035,229,254,034,032,
010,245,058,132,253,238,001,050,
132,253,241,254,013,040,023,254,
014,032,009,225,001,005,000,237,
074,229,024,221,254,032,048,002,
024,215,254,123,048,042,245,058,
132,253,203,143,050,132,253,241,
254,013,204,025,255,254,058,204,
025,255,205,201,255,254,013,032
5300 DATA
184,225,195,032,254,245,058,132,
253,203,151,050,132,253,241,201,
254,128,048,029,254,124,040,015,
254,126,040,011,033,132,253,203,
070,032,195,203,086,032,191,214,
031,205,119,255,205,110,255,024,
136,254,144,048,004,062,032,024,
173,254,165,048,004,214,079,024,
165,254,234,032,010,245,058,132,
253,203,215,050,132,253,241,214
5380 DATA
165,205,119,255,205,110,255,195,
205,254,058,132,253,203,207,050,
132,253,201,017,152,000,245,205,
124,007,056,012,058,132,253,203,
079,032,005,062,032,205,165,255,
026,230,127,205,165,255,026,019,
135,048,245,209,254,072,040,003,
254,130,216,122,254,003,216,062,
032,213,217,205,201,255,217,209,
201,123,254,255,032,014,062,000
5460 DATA
024,010,175,237,066,060,048,251,
009,061,040,237,254,032,040,005,
198,048,017,255,000,229,042,139,
253,119,035,034,139,253,225,201
9992 RANDOMIZE USR VAL "100": SAVE "BS2TXT.B2" LINE 1
9993 RANDOMIZE USR VAL "100": SAVE "bs2txt.C1"CODE 64900,592
9998 RANDOMIZE USR VAL "100": LOAD "L.B1"
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.