2068 Library Errata

See all articles from CATS v4 n11
Author(s): John Riley
Publication: CATS Newsletter
Pub Details: CATS v4 n11 (Volume 4, Issue 11)
Date: February 1987
Pages: 6

Well, I guess it was bound to happen. Four programs have been discovered in the current version of the CATS 2068 software library that have bugs which prevent them from loading. Fortunately, they are all the same sort of bug and easily dealt with!

In creating the master tapes for the library, I first put all the programs on an AERCO disk system. Therin lies the problem in all four programs, for the disk system uses the commands “CAT” and “MOVE” rather than “SAVE” and “LOAD”. All four of the buggy programs are in Volume 3. I guess I was having a bad day that day! They are “Bold“, “Extended Basic“, “Keyword“, and “Toolkit“. What is extra mortifying to me is that the last three programs are some of the best programs in the entire library!

Anyway, to fix them, you must do the following: 1) Load the BASIC portion of the program only into your computer, using the command MERGE “”. LIST the program and go to the bad line. In “Bold” this will be line 30, in “Extended Basic” line 3, in “Keyword” line 9950, and in “Toolkit” line 9998. Edit the line, replacing the CAT statement with LOAD “” CODE. SAVE the altered program on a fresh tape.

Now, you have two options from this point. You can reset your computer, move your library tape back to the beginning of the buggy program, reload your corrected listing, and overwrite the old with the new. I have done this on the library master tapes so that future copies will be bug-free. But USE CAUTION! Be careful not to overwrite either the preceeding program or the code portion of the program you are trying to fix! If you do you will have a bigger mess than you started with!

A second alternative, which I highly recommend, is to load the program “Header” (also from volume 3). Use this utility to read the starting address and length of the block of code that forms the second part of the program you are fixing. Now, reset the computer, rewind the tape, and load the code portion only of your program into the computer with the command LOAD “” CODE. When the computer returns an OK report, save the code onto your fresh tape that already contains the corrected BASIC program, with the command SAVE “c” (starting address),(data length). What you will now end up with is a copy of the program on its own tape, so that you will no longer have to hunt through the library every time that you want to use it! In fact, I would suggest to all owners of the CATS library that if you find themselves using a particular program frequently, you should copy it over to a fresh tape where it will be more easily accessible. Think of your library tape as archival, rather than for daily use.

If some of the last paragraph was confusing to you, then take comfort in the fact that I am going to submit a tutorial for next month’s newsletter on transfering programs from tape to tape or from tape to disk. Meanwhile, I am still collecting programs for Volume 6 of the 2068 library, and hope to be releasing it within the next couple of months.

If you have a program to submit to the library, or a question or comment about programs in it, contact me by letter (1316 Farrara Dr., Odenton, Md. 21113), phone (301-674-8560), or CompuServe ([CompuServe ID omitted]).

John Riley