Actual Screen Photograph

had never actually used the Model II version, which was prepared for him by a contract programmer, and he did not know much about the details of its operation. He urged that I buy the CP/M version, in CBASIC, in preference to the TRSDOS version. He added that many improvements and enhancements had been made in producing the CP/M package.

I wanted to stay with TRSDOS and have modified the BASIC to print at the key points where I need hardcopy. I also found the menu options curiously restrictive and awkward in use. Nothing that couldn't be handled, but still tiresome. I have to admit that I'd rather work with Number Cruncher than try to write and debug all that BASIC for all those different statistics.

Putnam Barber Seattle, WA

After my husband had used and enjoyed our TRS-80 Model I for five years, I have joined the ranks of the home hobbyist. Only recently did we subscribe to Basic Computing. Reading about computing is almost as much fun as computing. But if you wish to keep some of us women happy, please do not give us programs to file our recipes, do our bookkeeping, and save us money. If we wanted that, we'd hire a housewife.

No! Give us cute programs with robots and Android Nims! Make it fun. We all know you don't save money with this hobby, you spend it. Might as well have a good time doing it ... I want to have the Battle of Life with Snake Eggs, but I promise to Bee Wary if you'll only tell me where to beg , borrow, plagiarize, or otherwise obtain a disk of such goodies. Thanks loads and keep on keyboarding in those great programs. My gradebook is updated, my Robot Math fractions are being reduced. You may tell Leo Christopherson that another junior high science and math teacher has bit the dust!

Mrs. Bonnie Breig Charleston, IL

Most of the programs you refer to were written by Leo years ago. We no longer sell software and there are no retailers that we know of who still market those programs. Sorry for that. But wait until next month. Our February theme is games and there will be a number of chuckles and challenges in it for you. -Ed.

I typed in your "Universal Printer Driver," August, 1983, assembled it, and wrote it to my Scripsit 3.2 disk.

All of the user sequences worked except those for proportional and 16.7 cpi mono-spaced characters and their "fat brothers." I have a Model III with 48K, two disk drives and a LP IV printer. I have both the tape version (26-2111) and disk version (26-1563) of Scripsit and neither manual has the patch you mentioned. I wonder if my printer has some idiosyncrasies that were corrected in the 739.

Louis B. Kelley Crescent City, FL Please help me with the source code, line numbers, and the names for the modules "SCRIPDRV/ ASM" and "TABLE/ASM" in Gary Shade's "Universal Printer Driver" article. The source code you printed was assembled using Radio Shack's Series I Editor Assembler, on a Model III, using TRSDOS. I am aware of the instructions in the article to put in the names of the modules, but I am a novice with assembly language and do not know where, nor in what format, to enter those names. (The letter was accompanied by assembled code in which all the label locations were 33 bytes off from the printed listing. -Ed.)

Maj. Glenn R. Willauer

Ft. Washington, MI) Mr. Shade's reply: First, in response to Maj. Willauer's letter, it is a most interesting problem. Let's examine what could cause the locations to change as he indicated. The first oddity I noticed is that every label listed by him as being in error is offset by exactly 33 (decimal) bytes. My suspicion is perhaps when the Major entered the code, a DEFS was entered and not a DEFB, in one or more of the table entries. The difference between a DEFS and DEFB pseudo-op instruction is that DEFS reserves "X" number of memory locations for later storage. DEFB defines the byte as a value following the instruction.

The Major should check exactly where the offset begins to appear. Are the table entries and their memory assignments in accord with the listing? If not, be precise about where the abnormality appears, in either the line or immediately following the line containing the problem. 33 bytes of code have mysteriously appeared in his program.

The 16.7 cpi mono-spaced characters and their "fat brothers" do not program properly when using the driver. Mr. Kelley is correct. The 16.7 cpi mode does not work in the mariner depicted in the programming example. The code is correct, it's the example that is incorrect. The rules for changing pitch to 16.7 cpi when using Scripsit are: First turn off the left margin capability (set it to zero), just prior to using the 16.7 cpi command. Using the codes in the article, do the following to your document: >LM=0 #B

The first line sets the left margin to zero. If this is not done, Scripsit will send a number of spaces (code 20H) to the printer. In effect, this sets your margin. It moves the print head away from the left margin to the point you have specified. The manual for the LP IV states that you cannot mix 10 cpi and 16.7 cpi characters on the same line. The spaces are printed characters and they are sent in 10 cpi format. Therefore, 16.7 cpi can never be entered unless the left margin is zeroed prior to using the sequence (suppressing any characters in 10 CPI), and restored to the desired margin after the condensed mode is entered. No changes are necessary in the driver. It works, just not in the manner I prescribed.

My congratulations to the readers who attempted the driver. Many who wrote me had no problems, other than the 16.7 cpi mode, and for many it was their first attempt at assembly language programming. If anyone else would like to write to me, do so by sending a self-addressed, stamped envelope and your questions to the address below.

Gary A. Shade c/o Argonaut Systems P.O. Box 2492 Northbrook, IL 60062 January, 1984 11

Cameron C. Brown

Article Headings

A few readers have been confused with our heading of an article. We assumed that programs headed I/III/4 would imply Model 4 in Model III mode as well as Models I and III. The same problem exists with Models 11/12/16 notation. To clarify that, we now have the following scheme. The notation "4iii" means Model 4 in Model III mode. The notation "16n" means Model 16 running in Model II mode. Now when a program is labeled Model 4, you can be assured we mean Model 4, TRSDOS 6.0 mode. Also, Model 16 with no subscript will mean Model 16 running in true TRSDOS-16 mode.

Good Company Award

Some magazines have an annual award for a specific product. We receive letters about some mail-order companies and their poor support, service, or delivery. Rarely do readers discuss a problem, or praise, for a specific product. Sometimes, but not always, the writer is asking for our help because the company happens to be an advertiser in our magazine. Sometimes the problem is the fault of the customer, sometimes not. No computer magazine has the resources to give "Good Housekeep-ingg Seals of Approval" to so many new and small companies.

We cannot screen companies, but your input can be put to good use. We want to hear from you about those companies that provide excellent support, service, and delivery. Problems arise all the time, but some companies bend over backwards to serve their customers. Use the Editorial Feedback card in this issue to let us know the company, or 12 Basic Computing companies, you recommend. We want to hear about the good companies, not the bad ones. Get your vote to us by April 6, 1984. We will publish the results in our July issue. We may never be able to eliminate all the bad apples, but we can give some polish to the good ones.

Reader Service

One way to insure that companies continue to deliver their message to you through our magazine is to let them know you are interested. Each issue has two, user-friendly reader service cards. If you are curious about a product, fill out a card and send it in. If you call, be sure to tell them you saw it in Basic Computing.

Puzzler

We have been flooded with responses to our November Puzzler. The winner will be announced next month after we wade through all the paper. This month we are using a problem that came from the May, 1981 International Computer Problem Solving Contest sponsored by the University of Wisconsin-Parkside. The digital product of a positive integer, N, is defined to be the product of its nonzero decimal digits. For example, the digital product of 99 is 81. The digital product root of a positive integer, N, is obtained by repeatedly taking digital products until a single digit is obtained. Write a program which will accept input of a positive integer up to 10 decimal digits in length, and which will print the intermediate steps in computing its digital product root. For an input of 9999999999, the output will be: 9999999999, 3486784401, 516096, 1620, 12, and 2. So, the digital product root is 2. Run your program on the numbers 100, and 123456789. Send your output on a postcard to January Puzzler, 3838 So. Warner, Tacoma, WA 98409. The winner will be selected at random from the correct solutions.

hardware

SHOPPÉ

y<0olZ

We have CP/M for Radio Shack comnuters.

Corrections

"DOS Fix," November, 1983 had a reference in the text to aDOSFIX21. That patch was for TRSDOS 4.1 and does not apply to TRSDOS 4.2. We deleted it from the listing but missed it in the text.

"Eat and Run," November, 1983 needs a correction to program line 5130. It should read 5130 LINE (I,63)-(I+12,63-A),1,B:LINE (1,63)-(I+12,63-10*R(X,Y2)),1,BF:IF 10*R (X,Y2)>A THEN LINE(I,63-A)-(I+12,63-A),0,B.

The ,B was missing from the end of the code. If you wish to make a cosmetic change to the program, delete the code A$=INPUT$(1) from line 200 and insert the lines 250 A$=INPUT$(1) and 385 GOTO 250. This will prevent errors occurring when the wrong keys are pressed.

"The Computerized Shrink," November, 1983 was labeled as running on the Model 11/12/16. We omitted including the needed changes in the article. For Model 11/12/16 users, delete all POKE commands in lines 180,270,300,410, 440, and 610. Add the following screen display loops, line 185 FOR 1=1 TO 9000:NEXT I and line 445 FOR 1=1 TO 9000:NEXT I.

"A Potpourri of Puzzlers," November, 1983 had a typo in Listing 1, the GOTO N routine. Change the 255 in line 110 of the BASIC listing to a 225. The assembler listing (Listing 2) is fine.

Mr. Jack Baldwin of Tucson wrote to let us know that there is a conflict with TRSDOS BUILD files and the location of "Keytoken," October, 1983, by David Lewis. Move the location of Keytoken to FC00 or FD00 and you will stay away from the BUILD files which load into memory at FE00.

In This Issue

Our theme is reviews. We have loaded this issue with reviews, evaluations, and discussions on a number of items. We look at operating systems, utilities, games, books, application programs, even a brand new machine from Tandy. If your Christmas money hasn't all been spent, there are some good buys in here. Why not start out the new year with new software?

2,000 new programs for your TRS-80® 12.

CP/M is the runaway leader in disk operating systems, but until now owners of Radio Shack computers have been locked out of the thousands of useful programs that operate on CP/M.

Now you can put the power of CP/M into your Radio Shack TRS-80 II, 12, or 16, and be able to use all the popular and useful software — and hardware—that has been previously out of your reach.

Use any printer.

Instead of being chained to Radio Shack hardware, you'll be able to add a video terminal, any printer (serial or parallel) and several Winchester hard disk drives with storage up to 80 megabytes.

Yes! Send me free information

Yes! Send me free information

Uses only 8.5K of memory.

Since our first version went on the market in 1980, we've condensed and refined it into a compact, easy-to-use system enjoyed by thousands of users.

Besides the standard Digital Research CP/M manual, you'll get the 250-page manual we've developed through our long experience in adapting CP/M to Radio Shack computers. Our manual has lots of examples and an index and glossary.

You'll have your first working disk in ten minutes.

Only $200.

The floppy disk version of Pickles & Trout CP/M is $200. The hard disk versions (for Tandy, Corvus, and Cameo) are $250, except for the multi-user Cameo, which is $400.

0 0

Post a comment