Saving and Loading Programs – Trial and Error?

Author(s): Cliff Danielson
Pub Details: Sinclair Timex User Group Newsletter v2 n2 (Volume 2, Issue 2)
Date: February 1983
Pages: 4-5

You may find as a beginner with the Sinclair-Timex computers that you have problems loading programs from cassette tapes. Even as an old hand, you may frequently have problems. This article provides some suggestions and hints.

Most problems occur when the tape recorder used to load a program is different from the tape recorder used to save it. Once you master load and save procedures with your tape recorder, you should have little trouble with the tapes you record. It should not matter what tape recorder you use. However, there may be problems with older or cheaper ones.

A very old recorder may work fine for saving and loading programs you write, but may not be able to load commercial tapes. This turned out to be the case for your editor’s old recorder, which, due to the years of wear, was running approximately 30 percent too slow.

Cheaper recorders can also cause problems. One member had three different tape recorders each of which could load programs written by a good recorder. But, they could not save programs properly. If you suspect tape recorder problems, borrow one and experiment. A new recorder could solve your problem. The portable ones are generally easier to use and normally have the proper earphone and microphone jacks. Your editor currently has an inexpensive ($32.00) Radio Shack Model CTR-37, and it works fine. Several members are using the mini- and micro-cassette recorders without problems.

The choice of brand and quality of cassette tape doesn’t seem to be too critical. We have heard reports of short dropouts on high-fidelity tapes, so perhaps its best to stick to the cheaper tapes or data-grade tapes. You can buy C-20 tapes for under one dollar by mail order. C-20 tapes are long enough to save two copies of most programs on a side, while still short enough to conveniently use both sides.

Equipment layout and interconnect are perhaps more critical during tape save and load than at any other time. You should have your computer on a wood (nonmetal) table. All cables and peripherals should be securely connected. The RAM pack should be taped or secured so that it doesn’t “wobble” when you press keys. Until you have reliably mastered tape save and load, you could leave the RAM pack off. However, don’t make a practice of removing it too often or the connector will loosen, leading to other problems.

The cassette recorder should be connected to the same electrical outlet as the computer and television, to reduce induced 60 cycle hum. Turning one plug over in the socket can also affect 60 cycle hum. If your tape recorder will operate from batteries, try running it on the batteries. The recorder and computer should be positioned such that the cable connecting them does not run under the computer or memory pack. Keep the computer, recorder, and television separated by some distance to miminize interference. Make sure that the connectors are clean by wiping with a clean dry cloth.

When loading a tape, the cable provided with the computer should be connected from the ear jack on the computer to the ear jack on your recorder. No cable should be connected to the mike socket. Connecting both the ear and mike at the same time can cause ground loops which could interfere with loading. For saving a tape, connect the cable from the mike socket on the computer to the mike socket on your recorder. Unplug the ear jack cable. Later you may find that you can leave both ear and mike jacks plugged in, but initially use only one at a time. Use an ohmmeter to check that the cables are not defective. Your problem may be just a broken wire.

Here’s a short program to start with:

1 DIM A$(500)
2 SAVE "A$"

If you do not have an automatic record level feature on your recorder, set the recording level at 3/4 full volume. If you’ve got a record level indicator, do a test recording and set the level such that the needle is near its top but still vibrates or the light is near it’s full brightness but still flashes. This should put the recorder near the top of its linear region. Again make sure that the cables are firmly connected. Rewind the tape and begin the recorder. Remember to press the record button! Wait about 4 or 5 seconds to ensure that the tape has advanced past the leader. Now RUN the program. Note the pattern on the television. There are distinct light and dark bands and passing spots. The pattern is not washed-out grey, nor is it heavily black. When 0/2 appears on the screen, stop the recorder and rewind the tape.

Before you connect the cable to the ear jack of your recorder, play some of the tape you just recorded. First, you should hear a buzzing or popping noise, followed by a 5-second silent period. There may be a small 60 cycle hum during the silent period, but it shouldn’t be too loud. If it is, turn the volume down. Next comes the loud high pitched buzzing of the actual data you recorded. Adjust the volume to a level where this sound is loud, but not distorted. This level will probably be between 1/2 and 3/4 full volume. Rewind the tape.

If you have tone controls, set the bass to minimum and treble to maximum. If you have a single tone control, this is usually the maximum setting. Check that the ear jack plugs are securely in place. Now do a trial load to adjust the volume. Type LOAD “TEST” and Newline (Enter). This won’t load the tape since the program was given the name A$. Play the recorder. After the initial noise and silent periods, you should see a pattern on the television which is similiar to that when you created the tape. The television sync lock may not permit the identical pattern, but it will have the same quality of not washed-out grey, not heavily black, but distinct light and dark bands. If you don’t see these patterns, adjust the volume control to just above the level where the pattern first appears. Rewind the tape.

Now, if everything works right, you should be able to load the tape. Enter LOAD “A$” and start the recorder. You should get a return of 0/0 indicating proper load. Press Newline to see the original program. Enter PRINT A$. You should get a screen full of blanks. If you don’t get the 0/0 indication or if A$ contains nonblank data, you have a problem. Rewind the tape and begin adjusting the load volume (probably up, a little at a time) until you load. In loading a commercial tapes, follow the same procedure as for your own tapes.

Very important hint — once you get a commercial tape to load, save a copy of it with your own recorder. Unfortunately, this is not always possible because some manufacturer’s programs are designed so that they cannot be saved.