As editor of the Portland Area Timex/Sinclair Users Group (P.A.T.S.) newsletter, I wanted to upload the newsletter to members who own a modem, MTERM II, and Tasword. (NOTE: Uploading means sending data from one computer to another. Downloading is receiving data from another computer.) But I did not want to man the phone lines, waiting for incoming calls. The solution? Modify MTERM II to accept a remote command, from the caller, to dump the newsletter (which is stored as a Tasword textfile in the buffer). But how? Overwrite portions of MTERM II handling the remote Buffer, Start and Stop commands. (I intentionally overwrote the Buffer Open and Close routines, to avoid accidental corruption of the Buffer.) With the modifications installed, I was able to boot-up MTERM II, plug my modem into the phone line and let the computer do all the work. The following will allow one to post messages, letters, bulletins, ect. for remote downloading without the need for an operator being present.
Key in Listing 1, then load the MTERM II code. When MTERM has loaded, RUN the BASIC program. The new code will be installed in its proper location within MTERM II and you will receive prompts to SAVE this modified MTERM (Please note that this modified version will ignore any Buffer commands from the caller).
Now that the MTERM modifications are complete, we need to make a few changes in Tasword II. These changes will embed special MTERM commands before and after the text, saving them to tape along with the text. To make downloading easy on the caller, I wanted my computer to send an Open Buffer command before transmitting the text and a Close Buffer command after complete transmission. Load Tasword II, go to the Menu to get into BASIC. Edit lines 1030, 1040 and 1100 to match Listing 2. These changes will provide a Control R at the start of the MTERM Buffer, which will automatically open the caller’s Buffer. These modifications will allow the use of Tasword for typing and editing a message base for the MTERM Buffer. After you have edited Tasword with Listing 2, ENTER as a direct command [CLS GO TO 20]. This will bring you back to the menu. Make a copy of this new version by choosing option [T].
We are now ready to test out our new modifications. Prepare a test text using the modified Tasword. (Note: Texts which have been created in an unmodified Tasword can be loaded into the modified version. When the text is saved from the modified version, all changes will be made to affect remote downloading.) Save the text to tape, load MTERM II, then load your text file into the Buffer (I use Loader IV). I like to use the following parameters in MTERM to upload/download text files:
WORD = 8 STOP = 1 PARITY = None DUPLEX = Half CONVERSION = None
Have a friend call you with their MTERM Buffer empty and closed. Upon a connect, they should send a CTRL Q ([CAPS SHIFT/7] [Q]). This command will automatically trigger your computer to open the caller’s Buffer and upload your text file. Sit back and watch the text fly by. After completion, the program will close the caller’s Buffer. When the caller hangs-up, your computer automatically resets itself and waits for the next caller. All of this was done whithout your having to lift a finger or press a key.
TIP: I like to set up the macro-keys (starting with “0” and chaining them together) with an introductory message, telling the caller to send a Control Q to receive the text. When the caller makes their connect, they simply send a Control E ([CAPS SHIFT/7] [E]) which automatically sends the macro-key “0” message and any others chained to it. A closing message can also be entered while in MTERM. By opening your Buffer and returning to Terminal Mode, any message can be appended to the Buffer. (Note: Be sure to close Buffer before going on-line.) As this text will follow the embedded CTRL T, it will only be sent to the caller’s screen and not their Buffer.
LISTING 1
1000 FOR X=54211 TO 54251: READ Y: POKE X,Y: NEXT X
1010 FOR X=54252 TO 54262: POKE X,0: NEXT X
1020 PRINT "Saving MTERM IIa": SAVE "MTERM IIa"CODE 54016,9216: CLS : PRINT "Rewind Tape and Play to Verify": VERIFY "MTERM IIa"CODE 54016,9216
1030 DATA 32,31,33,0,241,203,182,42,83,92,34,232,238,34,234,238
1040 DATA 42,75,92,34,236,238,254,19,40,5,33,0,241,203,246,175
1050 DATA 201,254,19,32,17,24,219,175,201
LISTING 2
1030 LET I=VAL "12": GO SUB VAL "800": POKE (b-VAL "11"),VAL "18": POKE (b+a),VAL "20": SAVE a$CODE b-VAL "11",a+VAL "12": CLS
1040 PRINT AT VAL "8",VAL "0";"text file ";a$;" saved:";AT VAL "10",VAL "0";a+VAL "12";" bytes,",a/PEEK VAL "62237";" lines"
1100 CLS : GO SUB VAL "900": VERIFY a$CODE b-VAL "11",a+VAL "12"
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.