PDP-8 chase the lights

Evan Koblentz cctalk at snarc.net
Tue Feb 2 20:38:22 CST 2016


> Nicely done! I don't think I've seen that one before; can you supply a
> quick toggle in?
>
> Mike


I can't take any credit. Here is what DG sent me. Look to him for any 
elaboration. :)

---------------------------

   *0                                                          Page 1


set switches to 0 (down)
hit load address
     1        0000          *0
set switches to 5100
hit deposit
     2 00000  5100          JMP START
set switches to 100
hit load address
     3        0100          *100
set switches to 7326
hit deposit
     4 00100  7326  START,  CLA CLL CML RTL
set switches to 7001
hit deposit
repeat for rest of instructions
     4 00100  7326  START,  CLA CLL CML RTL
     5 00101  7001          IAC
     6 00102  7004  LEFT,   RAL
     7 00103  4113          JMS DELAY
     8 00104  7420          SNL
     9 00105  5102          JMP LEFT
    10 00106  7010  RIGHT,  RAR
    11 00107  7430          SZL
    12 00110  5102          JMP LEFT
    13 00111  4113          JMS DELAY
    14 00112  5106          JMP RIGHT
    15
    16 00113  0000  DELAY,  0
    17 00114  3127          DCA TEMP
    18 00115  1177          TAD (-10
    19 00116  3125          DCA DELAY1
    20 00117  1127          TAD TEMP
    21 00120  2126  LOOP,   ISZ DELAY2
    22 00121  5120          JMP LOOP
    23 00122  2125          ISZ DELAY1
    24 00123  5120          JMP LOOP
    25 00124  5513          JMP I DELAY
you can stop here

Set switches to 0
hit load address
hit start

If you set the auto restart switch (leftmost on the right backplane) it
will start running when you power on the machine. Manually halt with single
instruction switch before powering off to prevent memory corruption. Turn
switch back off for auto start to work.

to check you entered correctly or find it where it gets corrupted
enter address
hit load address
hit examine to step through each location
must reload address of bad location (MA register) to write to location shown
    26 00125  0000  DELAY1, 0
    27 00126  0000  DELAY2, 0
    28 00127  0000  TEMP,   0
       00177  7770
    29                      $

       No detected errors
       No links generated


More information about the cctech mailing list