--- title: "Comlink I" type: "article" slug: "comlink-i-2" url: "http://localhost/article/comlink-i-2/" markdown_url: "http://localhost/article/comlink-i-2.md" published_at: "2026-12-01T10:02:10+00:00" modified_at: "2026-12-01T10:02:10+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "This article is a review of Comlink I, an almost indispensable piece of equipment for getting a Sinclair ZX81 on packet radio. Oh, you can build your own RS 232 interface and write the required program as shown in previous issues of QZX; but, unless money is really short, this is a better way to…" post_tag: - name: "Full Text" slug: "fulltext" taxonomy: "post_tag" url: "http://localhost/tag/fulltext/" indiv: - name: "Alex Burr (K5XY)" slug: "alex-burr" taxonomy: "indiv" url: "http://localhost/indiv/alex-burr/" publication: "QZX" publication_r: id: 21219 title: "QZX" type: "periodical" url: "http://localhost/periodical/qzx/" authors: "Alex Burr (K5XY)" volume: "4" issue: "7" issues_articles: - id: 70125 title: "QZX v4 n7" type: "issue" url: "http://localhost/issue/qzx-v4-n7/" pages: "2-4" pubdate: "June 1986" related_articles: - id: 83029 title: "COMLINK Update" type: "article" url: "http://localhost/article/comlink-update/" archive_link: false volumeissue: "v4n7" --- # Comlink I This article is a review of Comlink I, an almost indispensable piece of equipment for getting a Sinclair ZX81 on packet radio. Oh, you can build your own RS 232 interface and write the required program as shown in previous issues of QZX; but, unless money is really short, this is a better way to go. Comlink I is a small box which plugs into the ZX81, T/S 1000, and T/S 1500 and permits a TNC to plug into it to complete a packet station. A short description of Comlink I appeared on page 8 of the April issue of QZX. It does two things, both essential for packet operation. First, it provides a standard RS 232 port for Sinclair computers. Second, it provides a firmware interface between the characters used by the computer and the ASCII characters required by a TNC and the rest of the world. Physically the link is built into a standard box about the size and shape of a 16 K RAM addition. It even fits onto the back with a PC board connector just like the RAM box. On the other side is a standard D-shaped 25 pin RS 232 male connector. Inside is a high quality printed circuit board stuffed with a few IC’s and discrete components. The components are well mounted except for a couple of resistors tacked to the RS 232 connector. In all there are eight IC’s including an EPROM in a socket, eight capacitors, three diodes, one transistor, and 9 resistors. If all one needed were the appropriate RS 232 signals, life would be easy. But Sinclair had to make certain compromises to come up with the super efficient BASIC his cost effective machine used. He did not use the standard ASCII coding for his characters. Thus to connect to the non-Sinclair world you need a translator from the patterns of 1’s and 0’s used by Sinclair to the patterns used by the ASCII world. The Comlink I provides this translation too. Not only that, but Comlink I provides control characters and extra punctuation which Sinclair did not use. All this is done automatically without much effort on the part of the user. The equipment even provides for canned messages and for a printed record if you wish and have a T/S 2040 printer. Basically you get an RS 232 port, and ASCII translator, and an elementary terminal program, all for less than $55, a very reasonable price. Use is simplicity itself. Plug the Comlink I into your ZX81, plug your TNC into the Comlink I, transfer control to the Comlink and you are ready to go. I just connected the Comlink I to my TNC with a 25 wire straight through length of ribbon cable. But you really need only six wires in you cable as shown in the following table. ``` PIN SIGNAL -------------- 1 Ground 2 TX Data 3 RX data 4 RTS Request to send 7 Ground 20 DTR Data terminal ready ``` The Comlink I formats its serial bytes in eight different ways. Most TNC’s can accept any one of these formats. The following table lists all the formats available. ``` Format Number of Number of Parity Number Data Bits Stop Bits ----------------------------------- 1 7 2 Even 2 7 2 Odd 3 7 1 Even 4 7 1 Odd 5 8 2 None 6 8 1 None* 7 8 1 Even 8 8 1 Odd * Default Format All at 300 Baud ``` After connecting your apparatus, turn the computer on. The usual inverse K should appear on the TV screen. Enter the following BASIC program. ``` 10 RAND USR 8200 ``` Then type the keyword RUN. This program transfers control to memory location 8200 which is not in your computer. It is in Comlink I however. Note that you may be in trouble if you have added a Hunter board or some EPROM programs to your unit which do use that address. If you have an unmodified Sinclair, you will have no trouble. At this time you will see a logo scroll across you screen and the Comlink prompt, >, will appear on your screen. You now set the character format by typing the desired format number and an ENTER. Comlink I is now operating the Sinclair machine as a telecommunications terminal. Any characters typed on the Sinclair keyboard are sent to the TNC as well as to the TV screen. Any characters sent by the TNC appear on the TV screen too. That’s it. Besides translating ASCII characters, Comlink I extends the normal Sinclair character set. Incoming TAB characters are converted to single spaces. Any incoming lower case characters are converted and displayed as UPPER CASE characters. Control characters are created by using a CTRL (^) key which is a shifted 7. Pressing that key causes Comlink I to send the next key as a control character. For example, to send a ^C to the TNC, (to go from converse mode to command mode) press shifted 7 followed by C. The new punctuation is given in the following table. ``` PUNCTUATION KEY ----------------- ! shift 3 \ shift 2 & shift 4 % shift E [ shift F ] shift G ¬ shift H ' shift R _ shift W @ shift Y # shift SPACE ``` Of course these new punctuations do not appear on the TV screen in the same form as they appear on the screens of other computers. They are mostly inverse or graphic characters on the Sinclair screen. Comlink I will automatically repeat most characters typed on the keyboard. This feature is activated whenever a key is held down for more than 1/2 second. The key that was pressed will be repeated at a rate of 8 per second until it is released. Any character may be repeated in this fashion except Control characters. Comlink I allows you to redefine keys 1 – 9 as Macro’s. This feature may be used to transmit pre-stored messages or command strings that are used frequently. The Macro’s must be first stored in REM statements before you activate Comlink I. Each key from 1 – 9 has associated with it a block of BASIC statement numbers. These are assigned in multiples of 100. For example Key 1 uses REM statements numbered from 100 to 199, Key 2 uses 200 to 299, and so on. Once the desired strings have been programmed into REM statements, they may be sent using the sequence shift 8 n where n is any of the number keys 1 – 9. The big difficulty with Macro’s is that they use up memory and the ZX81 does not have much. I found that if I had more than three Macro’s I got an error message, 4/10, out of memory. However, the three I could use allowed me to put in the commands to connect to myself through the local digipeater for testing purposes, the commands to connect to the local bulletin board station, and a short description of my equipment. Of course, the T/S 1000 and T/S 1500 have more built in memory than the ZX81. There are a few minor difficulties most of which are associated with the ZX81, not the Comlink I. It is slow typing on the ZX81 keyboard. An add on keyboard is really useful. The Comlink attaches in the same way as the extra RAM and is affected in the same way with wobble. This difficulty can be cured in the same way too. I have used it for days without my usual flexible cable and I got a blank screen only twice so wobble is not a big problem. The instructions did say that a delete key had been created, but the indicated key did not work for me. However, a shift 7 followed by an H will act as a delete key. As soon as I changed the delete parameter in my TNC from off to on, the delete key worked too. One of the most used key combinations is a CTRL C which the TNC requires to go from the converse mode to the command mode. The instructions correctly say that this combination can be obtained by a shift 7 followed by a C. I discovered an undocumented shortcut when I found that a shift 9 will work just as well and is one keystroke shorter. When using multiple connects, you need to be able to switch from one stream to another with a switching character. The switching character usually used is |, a vertical straight line, which has not been provided by either Sinclair or Comlink I. However it is easy to change the switching character required from the default value of 7C hex to something else. I recommend @ (40 hex) which is obtained from a shift Y. The Comlink I will also act as a general purpose RS 232 port and can be connected to any standard modem for use on the telephone lines. The Macro keys could then be reprogrammed to contain logon and logoff sequences. In short, if you want to put your Sinclair on packet with a minimum of fuss, this is the way to go.