Reader Exchange

Prompt Attention

Jose E. Anaya's Basic input routine. Prompter. ("Restricted Entry." May 1985. p. 70) is neat, but it lacks one feature that I feel is important for an IN-KEYS subroutine: an input delimiter. I changed the lines shown in Program Listing la to print a series of graphics blocks, so you can tell exactly how many characters you can enter during a program run. These changes work on the Models I. III. and 4. Changing lines 150 and 190 as shown in Listing lb gives an automatic carriage return when you've typed in the number of characters that LM specifies.

Rod Mallery Rt. Ml2. Box 71-D Goldsboro, NC 27530

Just for Openers

I begin all my programs with the lines:

1 GOTO 10

2 SAVE "Program Name-'. n:STOP

3 LPRINT LEFT$(TIME$.8):LPRINT:LLIST: STOP

This gives me some flexibility in how I run my programs (the program actually begins on line 10). If I want to run the program conventionally. I type in RUN. If I want to save it to disk after a modification. or save every few lines as I type in the program. I use RUN2. RUN3 prints the date and lists the program to the printer.

Dr. Jacques Weill 43. rue Principale 37250 Veigne' France

Sensor Deprivation

An incompatibility between the Epson RX-80/FT printer and the Model 4 causes problems with the Epson's papcr-out sensor. Pressing escape-8 disables two lines going to the computer, but the third line, pin 12 on the RX-80 side, pin 23 on the Model 4 side, remains active. This 1-byte patch to the printer driver corrects the problem:

For TRSDOS 6.1 PATCH SYSO/SYS.LSIDOS (X0E47' = BO)

For TRSDOS 6.2 PATCH SYSO/SYS.LSIDOS (X0E39' = BO)

The byte BO replaces the byte FO in the AND OFOH statement. This masks bit 6 and the paper-out feature now works correctly.

Hubert C. Borrmann Star Route Box 3450 Lillian. AL 36549

0 0

Post a comment