Classic Computer Magazine Archive COMPUTE! ISSUE 56 / JANUARY 1985 / PAGE 113

CAPUTE!

Modifications Or Corrections To Previous Articles

Tl Disassembler

This machine language deciphering aid from the October 1984 issue (p. 159) has a number of shortcomings. First, the article incorrectly stated that the program could easily be translated to standard BASIC. Unfortunately, TI's built-in BASIC lacks the AND operator used throughout the program. The program also fails to properly decode backward jumps and some Format III opcodes, and has several other minor bugs. To correct these problems, the following lines need to be changed as indicated:

440 N = (H AND 11) * 256 :: J = 1792 :: C 0 = (L AND 240)/16 :: WR = (L AND 15) :: RESTORE 1040 :: Z = 4 :: K = 256 :: GOSUB 900
485 IF L > 127 THEN L = L - 256
680 GOTO 630
700 RESTORE 1080 :: J = 12288 :: N = (H AND 240) * 256 :: Z = 12 :: K = 4096 :: GOSUB 900
740 IF TD = 12 THEN C$ = ", * R" &STR$ (D) & " + " :: GOTO 770
750 IF (TD = 8) AND (D = 0) THEN C$ = "," & "@" &STR$ (01 * 256 + 02) :: A = A + 2 :: IF TS = 32 THEN C$ = "," & "@" &STR$ (03 * 256 + 04)

Thanks to Glenn Davis, Henry Satinskas, and others who ferreted out these errors.

Spiders For IBM PC And PCjr

Some punctuation characters were garbled in printing the listing for Program 7 (p. 98) of this game from the November 1984 issue. In line 170, there should be a colon—not a period—between LOCATE 25,1 and PRINT. In line 330, the character between AX$(Y) and CHR$(BX) should be a comma.

Tl Reflection

Line 1600 in Program 5 (p. 76) of this game from the November issue is too long to be entered in standard Tl BASIC, although it can be entered if you're using Extended BASIC. To use the program with the built-in BASIC, split the line into two parts, as shown below (be sure to include the semicolon at the end of line 1600):

1600 PRINT A$, B$, B$, A$&" 'S", B$, B$, &" UP", A$, B$, B$, A$, B$, B$ A$&"SUM", B$, B$&" X : ", A$, B$, B$, A$, B$" "&CHR$ (128);
1605 PRINT ":", B$, A$, B$, C$;

64 Horse Racing

The correction listed in last month's CAPUTE! for the VIC version of "Horse Racing" actually applies to the Commodore 64 version. There are no corrections for the VIC version.