Telecomputing, Part 3

See all articles from Sinc-Link v3 n6
Author(s): David Ridge
Publication: Sinc-Link
Pub Details: Sinc-Link v3 n6 (Volume 3, Issue 6)
Date: November/December 1985
Pages: 6-7

10/23/85 – Wed

First I would like to clear up a couple of things. It seems that in last month’s article I told you everything you need to know about CompuServe except how to get to the Timex/Sinclair sig!! Sorry about that. You simply type GO CLUB at any <!> prompt and you will be taken to the land of the orphaned computers. Also I mentioned that a one year subscription to ON LINE TODAY magazine is included with your CompuServe starter kit.The subscription is actually free for as long as you are an active user.

Ok, you’ve all been crying “where’s the beef!” so in this article we will learn a little modem magic. Nothing up my sleeve…here we go!

Certainly the most misunderstood and poorly documented aspect of using the Westridge 2050 modem is the area of sending and receiving programs, especially machine code. Before I get into that area however I think I should first clear up the confusion surrounding the parameter settings for your modem. I will not give an in-depth explanation of what Duplex, word size and Parity mean as that would require much more space than we have here and besides even I’m not totally sure what some of the details! Instead I will simply give you the settings that you will need for the vast majority of your telecommunicating.

iI have found that the almost universal settings for communicating with any BBS are as follows:DUPLEX-full, CR-off, LF-off, CON-none, STOP-1, WORD-7, PARITY-even. Experience has shown that these settings may not be the best for other modems (although I don’t see way not) but will work just fine for the 2050. The only time these settings need to be changed is when you are communicating directly with another micro such as another 2068 user or when you are sending/receiving a program, or when the BBS that you are connected to recommends different settings. Bare in mind however that I have found that even when they do recommend different settings, the ones described above work just fine.

When you are connected to another micro, your parity must be set to odd and the duplex to half. While we are on the subject of micro to micro modeming, I should mention the easiest way of accomplishing the connection. The simplist way that I have found is to first communicate with the other person by voice. Then both of you should enter a MODEM CMD M (caps shift+enter while in the terminal mode) at the same time. Do not hang up the phone at this point. When the screen tells you that you are connected, you may both hang up the phone. At this point, anything that either of you type will appear on both screens!

Now if you are sending a BASIC program, you must go to the data buffer menu and empty the buffer then change to CON:HEX. Next get back to the main menu and exit to BASIC. Load the program just as you normally would. When loaded, call up MTERM with PRINT USR 54016 and connect with your party as described above. Make sure that the person you are sending to has their CON:HEX and the buffer is empty. The receiving party does not have to open the buffer manually. I will show you how the sending party can do this. Once you are both communicating on screen, the receiving party can sit back and leave the driving to the sender.

The sender will now open the buffer of the receiver by sending a control “R”. As decribed in the MTERM manual, a control character is invoked by first pressing caps shift/7 and then the desired letter. After opening the receiving buffer, go to your data buffer menu and press T for transmit. Hit enter three times to get back to terminal mode and lines of hex should start scrolling across the screen. When the scrolling stops, the transmission is complete. You must now close the receiving buffer by sending a control “T”. That”s it!! The person at the receiving end should have the same number of bytes as you in the buffer. They can now simply exit to BASIC and there should be a program there, ready to run or save! Note that directly after the receive buffer is closed you can type to them to indicate that you are finished the upload and to check the results.

Sending and receiving machine code is by no means complex but it is a little trickier than BASIC so listen up. The settings should be the same as sending a BASIC program however, you must expand the sending buffer to the same number of bytes that you are sending. The method for doing this is as follows.

First find the number of bytes you are going to send and plug it into the formula below. This formula will give you the pokes you need to expand the buffer.

LB=A-256*INT(A/256)
HB=INT(A/256)

where A is the number of bytes you wish to send + 26710.

Now that you have the correct pokes you must follow this procedure exactly. Load MTERM II and clear the buffer, then exit to BASIC. Next make the following pokes-23627,LB and 23628,HB. Call up MTERM II and exit to BASIC again. Now do the pokes again. I don’t understand why these pokes have to be done twice but you do not get an accurate buffer expansion unless you do. Now at long last you can load in the machine code but you must load it in at location 26710. You can do this by using the following command:LOAD “filename” CODE 26710.

After the code has loaded you can call up MTERM II and connect with the receiving party. Again, the receiving party must have the buffer empty. The sending procedure is the same as BASIC. Now the person at the receiving end has to fool around a little. First they must write down the number of bytes in the buffer then exit to BASIC. Next they must save the bytes with this command: SAVE “filename” CODE 26710,bytes in buffer. Now, the receiving person has to know the correct location for the code to run at. The code is then loaded back in to the correct location with this command: LOAD “filename” CODE <location>. Then the code can be resaved now from it’s correct location.

Whew! Wasn’t that easy? You can send TASWORD files with the same method as sending Machine code but your CON should be NONE and you may have to hit ENTER after every line goes by on the screen as it is being transmitted because TASWORD does not embed a line feed or carriage return at the end of each line. I will be covering TASWORD file transmisson in a later column.

There is an alternative to all this fooling around to send machine code and TASWORD files. There is now a fantastic utility for MTERM II available called LOADER IV by Kurt Casby. This utility not only makes sending M/C and TASWORD files a snap, it also provides an extra 20 auto-dial numbers and auto redial when busy! I highly recommend it. The best part of all is the price. Just $7.95 U.S.

Send to:Kurt Casby
25 Battle Creek Court,
St. Paul, MN. 55119

Well that’s all for this time!