Modem Notes

Author(s): John Connell
Date: Winter 1985
Pages: 4-5

The software supplied with the Westridge 2050 Modem only lets a TS Computer act as a “dumb” terminal, a receiver with no memory. Anything to be saved must be copied from the screen on a 2040 printer.

The so-called “Smart II” software for the 2068, by contrast, allows the computer to store up to 27K bytes of information received. Text can then be reviewed on screen later, printed out on any compatible printer, or saved onto tape.

This software also allows the user to transm,it previously prepared text material either from software memory (editable only by backspace deletion) or from textfiles prepared on a word-processor (e.g. Tasword ) and loaded into memory for transmission.

The following hints suppose that you have worked with your 2050 after carefully reading the manual, and that you are proficient in 2068 “BASINC”.

1) The memory (called ‘the buffer’ in the manual) starts at decimal location 26710, the same location where BASIC programs start. Programs will therefore be contained in the ‘buffer’.

2) Then, to print out a buffer of say 5000 bytes, one would enter

FOR n=26710 TO 31709: LPRINT CHR$ PEEK n;: NEXT n

To save this data to tape, enter

SAVE "buffer" CODE 26710, 5000

3) The text you receive (from other computers) will contain CR (carriage returns, ASCII 13) and sometimes LF (linefeeds, ASCII 10) as well. “Smarterm II” lets you suppress either or both of these. If you plan to printout the ‘buffer’ later on a full-width printer, the results look best with linefeeds suppressed (LF suppression: ON) but carriage returns left on (CR suppression :OFF)

4) CON, whatever that is, should be set to NONE.

5) Sometimes prepared text will not have a CR at the end of each line. Tasword, for example, does not.It also has unwanted space between paragraphs. Possible solutions include using a symbol (such as #) to denote CR and copying the text byte-by-byte using BASIC, ie first POKE 13 anywhere there’s a #, then suppress all spaces (ASCII 32) after a #. In other words, reprocess your prepared file before dumping it to memory for transmission.

6) When transmitting such text to a mainframe, the first few bytes after a CR can be garbled. Inserting a dozen ASCII 0’s (no operation). after each ASCII 13 (CR) gives the big one time to catch up (or something like that).

The Westridge 2050 Modem makes it quite feasible to use your TS 2068 for both recreational computing and communicating with that mainframe at work an hour’s drive away. Try out the BCS BBS at (617) 646-3610 (when it’s up) or more reliably, Yellowdata at (617) 489-4930.

John Connell [phone number omitted]

7) If you try to transmit 5000 bytes of text previously prepared and loaded via CODE 26710, 5000, you will discover unfortunately that your Westridge Modem will not cooperate.

It seems that Smarterm II doesn’t believe that the buffer contains your text i.e. BUFUSD must equal 5000 or more. I have not yet discovered where to POKE this value.

Instead I fill the buffer with enough bytes, say 5000, before loading the actual text. No, you don’t have to type “x” 5000 times. There’s a trick.

Turn off your modem. Switch duplex to half. Write a few bytes, say “abcdefghij”; BUFUSD now equals 10. Transmit this “buffer”. Since the modem is off,”tranmission” is very fast; and the 10 bytes are copied into the buffer because the setting is half duplex. BUFUSD has been doubled.Repeat this process, BUFSD is doubled again and now equals 40. Ten such “transmissions” will quickly fill the buffer with 5120 bytes.

You may now load and transmit your text. Good luck.

J.C.