Glitchoidz Report

See all articles from SYNC v3 n2

A Machine Code Graphics Line-Drawing Subroutine (2:6)

The program should be run in FAST.

Listing 2. The last characters on some of the lines on the right margin did not print in some copies.

 80: (
110: )*
210: *
          second line: D+
360: M

Renumbering Basic Statements (2:6, p. 80)

Program 1. 9991: PEEK III, not II6.

Random Walks (2:6)

Line 230: Insert ; after (X+1).

Block Transfers: Variables Transfer (2:6, p. 103)

Figure 3. Line 130. (P+54) is referred to incorrectly in the text as P3+4.

Figure 4. Line 40. (P+66) is referred to incorrectly in the text as P3+6).

A Cheap and Simple EPROM Programmer (3:1)

The author asks to have added at the end of the section “How the EPROM Programmer Works,” p. 80, the following paragraph:

As designed, the EPROM programmer will not work with 64K memory modules. The reason is that they generate their own ROM C/S signals which would conflict with those generated by the programmer. However, once programmed, the EPROM could be placed into a ROM socket, provided that the pin configuration is compatible or is made compatible. The problem here is that no one EPROM pin assignment scheme exists. To make a “standard” ROM socket compatible with the EPROM, the following modifications to the ROM circuit (not the programmer) are required: traces to pins 18 and 20 should be reversed. The trace to pin 21 should be cut and pin 21 should be tied to Vcc (+5V). (Note: I have reversed the usual assignments of pins 19 and 20 to aid in compatibility.) In all probability, the ROM circuit provided would require such modifications.

Programming the LOAD Command (3:1, p. 50)

The author recommends the substitution of the following for Figure 1. RAMTOP Change:

  10 REM 1234567890123456789012345578901234567890123456789012345
20 LET A$="0100002A0240C600ED42220240ED7382402A8240ED42F9545D2A0440ED42220440ED52444D2A8240EDB0219797228240228540C9S"
30 LET X=16516
40 IF A$="S" THEN STOP
50 POKE X,16*CODE A$+CODE A$(2)-476
60 LET X=X+1
70 LET A$=A$(3 TO )
80 GOTO 40

After entering these lines, type RUN and ENTER, LIST and ENTER, 70 and ENTER, 80 and ENTER. Then add the following lines:

  15 LET RAMTOP=PEEK 16388+256*PEEK 16389
18 REM NEW RAMTOP=32580
20 LET SHIFT=RAMTOP-32580
23 IF SHIFT<=0 THEN GOTO 40
25 POKE 16517,SHIFT-256*INT (SHIFT/256)
30 POKE 16518,INT (SHIFT/256)
35 RAND USR 16516
40 LOAD "LSCROLL"
45 STOP
50 SAVE "TEST LSCROLL"
60 GOTO 10