Navigation

Recyclling

Home‎ > ‎Large Systems Collection‎ > ‎PDP-8/L‎ > ‎

PDP-8/L_Restoration

2/26/11

We pulled the G785 module out of the backplane. This disconnects the power supply from the backplane. We connected a Variac between the AC power source and the 8/L and slowly, over the course of hours, increased the AC voltage to the 8/L power supply. The voltages looked OK, so we put the G785 back in the backplane and powered it on at full AC voltage. After a few minutes smoke poured from the rear transformer in the power supply. Another 8/L owner reported the same smoke and found a shorted power diode in his power supply.

We have another 8/L system that is in poor condition because rodents were living in it. The power supply looks OK, so we can try the power supply in the complete system next week.

7/30/11
Warren and Mike finally had a chance to work on this machine again. We pulled the smoked power supply from the incomplete PDP-8/L and installed in this system. Replacing the power supply is quite a project and involves removing the front panel and a lot of boards.
 
We noticed that the power supply from the donor system only had one transformer and the failed power supply had two transformers and a toggle swith instead of the keyswitch for poer on. The power supply schematic only shows one transformer, so we are speculating that the failed power supply was substantially modified during its 40 year life.
 
When we powered on the reassembled system we were rewarded with lights and no smoke. There are some signs of life! After a little experimenting we found that there were some serious problems with the registers. You can see the light pattern after we turned all of the switches off and pushed the Load Address switch. All of the lights should have been off, but many were on. Each of the M220 modules contains 2 bits of the registers. We swapped pairs of the M220 modules around and observed the changes in the light patterns. It looks like only two of the six M220 modules are fully functional. From some quick Googling it looks like the SN7474N chips are a common failure mode for these modules. At least those chips are common and inexpensive.
 
 
 
8/12/11
Ulrich N Fierz of Zurich Switzerland donated two yellow and two orange replacement keys for the front panel.
 
Mike bought an HP 10526T Logic Pulser, HP 10525T Logic Probe, HP 10528A Logic Clip, and an HP 10529A Logic Comparator. These are the 35 year old tools that are recommended to debug the PDP-8.
Dan found the double-sided Flip-Chip extenders so we can debug the M220 modules in the system.
 
8/20/11
Mike replaced the missing EXAM switch handle with one donated by Ulrich N Fierz. It works great now. We also found that one of the pivots on the INST FIELD switch is broken so we need to replace that one too with another spare from Mr. Fierz.
 
Warren and Mike continue debugging the M220 Major Register modules in this system. We started two weeks ago by moving the six M220 modules around in the system and observing the changes in the light patterns. We marked which modules had odd or even or both bit issues. The goal was to get the Memory Address register working because there is no way to Deposit or Examine memory without it.
 
Some of the Memory Address bits were always on. By observing the lights we could see that some of the Accumulator bits were always on and the corresponding bits in the Memory Address register were always on. The HP 10528A Logic Clip and the HP 10525T Logic Probe were really helpful determining that the AC Enable signal was always on. That was mixing the contents of the Accumulator with the contents of the Switch Register. After chasing the stuck AC Enable signal through the M617 in slot A9 to the M160 module in slot D9 we determined that either the DEC7450 E3 or the DEC7460 chip E4 was defective. There is no way determine which one was defective and we didn't have spare ICs so we swapped the M160 module with one from the parts PDP-8/L. After swapping the M160 the AC Enable signal was working OK. We tested the other two spare M160 modules and those worked OK too. Nice to have some spares! With the AC Enable signal behaving we determined that only one M220 had a problem with the Memory Address register. After a little debugging we found that half of the DEC7474N E4 was defective. We replaced the chip with a "new" TI SN7474N that had a date code only two years newer then the PDP-8/L. The pen in the picture at the left is pointing to the replaced SN7474. After the M220 was repaired we determined that all of the bits in the Memory Address register will load from the Switch register correctly.
 
After some more experimenting we found that repeated pushes of the newly installed Examine switch do not increment the Memory Address register. If you turn bit 1 of the Switch register on the part of the Memory Buffer is increment. It looks like there is  something else wrong with the control logic for the Major Register boards. That will be the project for next week.
 
We need to get the registers working correctly before we can address any of the other probems with this system.
 
8/27/11
Old problems:
1.  MA does not increment when SR=0, LA, EXAM.
2.  MB lower bits seem to increment when SR=1; LA, EXAM,EXAM,EXAM...
  2b.    Two MB bits (bits 4,5?) seem to toggle together
           i.e. not increment like the lower bits (0 to 3?)

Debugging problem 2:

Looking at MB11 (AB02 M220)
(Schematic D-BS-8L-0-9 Major Register Gating, Sheet 3, Zone 1 & 2)
REG BUS 11 is showing incremented value (wrong).
ADD output is also wrong.
Looking at AND-OR terms, SR ENABLE is ON (wrong) when EXAM,EXAM...

Looking at SR ENABLE
(Schematic D-BS-8L-0-4 Reg. Output Gate Control, Zone B4)
A08 M617 pin E1 is SR ENABLE.
A08 M617 pins A1,B1 (inputs) are wrong.
Driven by C12 M115 pin U1.
C12 M115 inputs P1,R1,S1 are okay.
So, C12 M115 E2 7410 is bad.  Swapped in a spare. Works (does not increment).
Note: At some point, we determined SR=2 causes MB10 and up to increment.
Now, it makes sense.  Since SR ENABLE was incorrectly being enabled, it was ADDing the SR to MEM read value, which was being written back to CORE (remember: CORE read is destructive, so it writes back the MB value).

So, CORE seems to read and write but always at 0000 (Problem 1: MA does not increment)

Problem 2B has changed.  The affected bits seem to be stuck on.

We tried swapping:
Major register bits (AB02 thru AB07 M220s),
Sense Amps (A18,A19,A20,B18,B19,B20 G020s).
Inhibit Drivers (A23,B23,B24 G228s)
Much head scratching...(what's really in memory????)
Eventually, we decided all M220s seem okay, but 6 bits are stuck either high or low.

Current problems:
1.  MA does not increment when SR=0, LA, EXAM, EXAM...
2.  6 memory bits are stuck high or low.

New problems noticed:
3.  RUN -> RUN light.  STOP does not stop, but SINGLE STEP does stop.
4.  ION is on (related to problem 1?).

9/10/11

If you do a Load Address and then RUN, the STOP key doesn't work. Pushing SINGLE STEP will stop the processor.
Starting in section C2 on page D-BS-8L-0-2 of the DEC-8L-HR2A-D schematics, the run flip-flop is on the M216 module in slot C06 so we started looking there.
We first looked at the POWER CLEAR-N signal on pin R1. We saw a 230 ms pulse with a 30-40 ms up slope. That is OK.
Next we looked on pin N1 for the TP3 pulses. They were there with a 1.66 usec period, about 600 KHz. That is OK.

Next we looked at the M160 module in slot D09. The E1 pin went high when the STOP key was pressed. high for stop (OK). That is OK.
We looked at the F SET signal on pin F1 and found that it was always low.

We then moved to the M111 module in slot C07. It is in section D5 on page D-BS-8L-0-3 of the schematics. We found that the F SET-N signal on pin M2 was always high.

We moved to the M117 module in slot C11. It is in section C5 on page D-BS-8L-0-3 of the schematics.
The D SET-N signal on pin D1 was always high. That is OK.
The E SET-N signal on pin C1 was always high. That seems OK.
The BREAK OK-N signal in pin B1 was always high. That is OK.
The SPECIAL CYCLE-N signal on pin A1 was always low. That is wrong.
SPECIAL CYCLE is WORD COUNT or CURRENT ADDRESS. Sounds like it is part of the Data-Break facility that is not installed.

We looked at the M113 module in slot D12. It is in section B2 on page D-BS-8L-0-3 of the schematics.
The SPECIAL CYCLE signal on pin N1 was always high which is wrong. We actually found that the signal was at 1.7 V, neither high or low.
That means that the DEC7400N E2 is bad. We tagged the module for future repair.
We replaced the defective M113 with a NOS one from a recent donation. Now the  SPECIAL CYCLE signal on pin N1 is always a solid low.

We traced the SPECIAL CYCLE signal back through pin D2 on the M111 module in slot D13 at section B2 on page D-BS-8L-0-3 of the schematics
The SPECIAL CYCLE-N signal on pin D2 was always high. Much better!

We looked at the M117 module in slot C11 at section C5 on page D-BS-8L-0-3 of the schematics.
The SPECIAL CYCLE-N on pin A1 was always high. Looks good!
The E SET-N signal on pin C1 looked strange.

We moved to the M115 module in slot C09 at section D4 on page D-BS-8L-0-3 of the schematics.
The E SET START signal on pin V1 pulses high once per power-up.
The INT OK-n signal on T2 is high.
The signals on U2, and V2 are high.

The current behavior is:
LINK is not cleared by START.
If you set the switches to 0000, then LOAD ADDRESS, set SINGLE STEP on, and push START; FETCH is on. That looks OK.

We probably got confused by the E SET signal behavior because the 5000 JMP and 7000 NOP instructions do not have an Execute cycle.

We set the switches to 0000, then LOAD ADDRESS, then DEPOSIT, and continued with the E SET signal.

We looked at the M117 module in slot C11 at section C5 on page D-BS-8L-0-3 of the schematics.
The F SET-N signal on pin E1 is HIGH because the BREAK OK-N signal on pin  B1 is LOW. This is not correct.

We continued with the M117 module in slot C11 at section C2 on page D-BS-8L-0-3 of the schematics.
The BREAK OK-N signal on pin J2 is LOW. This is not correct.
The BRK SYNC signal on E2 is always HIGH. This is wrong.

We moved to the M216 module in slot B11 at section B2 on page D-BS-8L-0-3 of the schematics.
The BRK SYNC signal on pin V1 was always high (never pulsed low).
The MANUAL PRESET-N signal on pin U2 (clear?) pulsed low at start.
The BRK RQST-N signal on pin T2 was always high (ok).
Pin V1 is actually Q-N output and pin U2 is PRSET-N.
This means that the DEC7474N E2 is bad.We tagged the module for future repair.
We replaced the M216 module at B11 with a NOS (not sealed bag) module.
Now STOP works and the FETCH and EXECUTE lights cycle. This is some real progress.

At this point it looks like we fixed a major problem with the BRK SYNC-N signal so that the FETCH and EXECUTE cycles work, but we broke some other behavior with LOAD ADDRESS. Sometimes when we press the LA key the SW register contents are not loaded into the MA register. We will need to back out these module swaps to see if we can determine what we fixed and what we broke. I will fix the broken modules so we can put them back in the machine to see if it behaves better. We assumed, but really don't know if the NOS modules was OK.
 
10/08/11

During the last debug session we replaced the broken M113 in slot D12. This fixed the floating SPECIAL CYCLE signal and allowed the FETCH/EXECUTE cycles to work, but broke the Load Address switch.

We replaced the NOS M216 in slot D12 with another one, but is made no difference in the behavior.

We put the NOS M113 back in slot D12 and now LA switch works. Well, at least it worked once. Subsequent operation of the LA switch did not work correctly.

We set the swtches to 0000, operated the LA, DEP, DEP 0000 LA SS

START fetches, CONT executes CONT no lights

Our guess is that fixing the SPECIAL CYCLE signal unmasked yet another problem in the 8/L.

We put the broken M113 slot D12 so we could debug LINK not cleard by START.

Looking at LINK not cleared by START.

We tried tried storing CMA CML instructions in core and executing them.

0000 LA 7020 (CMA CML) DEP MB is 7020

0000 LA EXAM doesn't read

trying to DEP at non 00, it appears that

EXAM clears MA and DEP clears MA

We put the NOS M113 back in slot D12 and verified that LA is not working.

Random MA, START does FETCH/EXECUTE.

On the M617 in slot B08 pin M1 is high, pulse low on LA (ok). all switches pulse it except CONT (ok).

Set the switches to 0000, did a LA, MB = 4010.

On the M220 in slot AB02 looking at enable signals.

We saw a pulse on NO SHIFT AE1 (ok), always high PC ENABLE BS2 (bad), pulse on MEM ENABLE BU2 (ok? transfer from mem).

On the M617 in slot A08 pin V2 signal PC ENABLE low after power, stays high after EXAM. With V2 high, T2 is always low.

On the M113 in slot B13 pin E1 signal F SET is always high after first EXAM, no pulse lo. Pin D1 Signal TS4 is always high after first EXAM, no pulse lo.

On the M216 in slot C04 pin V1 low, pulse high on LA, EXAM, DEP.

We operated the START switch (running, FETCH and EXECUTE flickering)

The signals on pins V1 & V2 are in the wrong state. Pin U2 always low (bad). Pin N1 TP3 pulses (ok).

On the M113 in slot C05...

START (running, FETCH and execute flickering)

Signal TP3 on pin A1 pulses (ok), signal IOT-N on pin B1 always high, pin C1 pulses (ok), pin D1 pulses (ok), pin E1 always low (bad?), pin K1 always low, pin J1 always hi, pin H1 soft high !!!

In the M310 in slot D08...

Pin F1 soft high, the 7440 (E1) pin 8 is output F1 soft high, pins 9,10,12,13 are low.

The M310 in slot D08 is defective. We tagged it for repair and replaced it with NOS part.

LA works now! Setting different addresses + LA gives different MB (constant for same address) so it looks like we can read core again.

Current issues.

EXAM doesn't inc MA, LINK is always on (START should clear LINK), and DEP changes MA.

We tried the switch sequence:

0000 LA 6000
0001 LA 0000
0002 LA 0000
0003 LA 0000
0004 LA 0204
0005 LA 0000
0006 LA 0000
0007 LA 0000
0004 LA 0004 DEP MA is 6214 MB is 0004
0000 LA 6000
0004 LA 0204
6214 LA 0000
6213 LA 0000

We cannot tell if DEP changes memory.

At this point we decided to look a the simpler problem of LINK not being cleared on START. It appears that the AC is cleared by START.

We looked at the M216 in slot B11 which contains the LINK Flip-Flop.

Pin L2 signal clock - START pulses, Pin M2 signal data always high.

We looked at the M160 in slot B10 which contains the LINK data logic.

Pin R1 output is always low!!! We found that LINK is not always set at POWER on. Signal POWER on with LINK high

Pin R1 output high, pin D1 RIGHT SHIFT low, pin F1 DOUBLE RIGHT SHIFT low, pin J1 NO SHIFT high (no pulse on LA,START), pin L1 LEFT SHIFT low,
pin N1 DOUBLE LEFT SHFIT LOW, pin V2 ADDER L-n always low (no pulse on LA,START)

We looked at the M160 in slot A10.

Pin V2 is always low (no pulse on LA,START), pin V1 low, (ok), pin S1 high (ok), pin U1 high (no pulse on LA, START)

We looked at the M160 in slot B10

Pin U2 is always high CARRY OUT 0-n.

We looked at the M160 in slot A12, pin V2 signal L ENABLE is always low (bad?), Pin U1 OP1 low (ok), pin V1 KEY ST tracked the START key (ok),
pin U2 MFTS2 pulsed on START.

We replaced M160 in slot A12 with NOS part and now LINK clears at START!!!!!!

We tagged the defective M160 for repair.

11/19/11

Current issues.

EXAM doesn't inc MA

DEP changes MA.

Debugging.

We decided to look at the issue where EXAM and DEP doesn't increment MA, and MA has the wrong value after operating either switch.

To save cycles the PC is written into the MA during T1 and the MA+1 is written into the PC during T2.
The PC is not displayed on the front panel so we needed to insure that LA actually sets the PC correctly.

Bits 4 and 5 of the MA contained a 1 & 0 after EXAM or DEP so we put the M220 from slot AB05 on extender.
IC E9 pin 3 = no strobe when LA was activated so, PC_LOAD is always low.

We put the M617 from slot B8 on an extender and looked at E1 pin 6. It is low.
E1-1,2,4,5 are all floating.
E1-2,4,5 is driven by A13

We put the M160 from slot A13 on an extender. E1 pin 8 is floating.
We replaced the M160 with one from the parts machine.
Now, LA + EXAM + EXAM yields incrementing MA, but MB is always 6034.
so we made some progress with the MA, but the memory is not working.

We swaped The M160 in slot A13 with the M160 in slot D9.
The behavior was the same so we put the M160s back where they were.

We decided to investigate why the MB was always 60xx.
We put the M216 in slot D16 on an extender and started looking at the chain of flip-flops that control the memory cycles.
The MEM START signal is present at on pin B1.
We looked at the CYCLE & READ flip-flops. There were no clock pulses and the outputs were static.

We put M113 in slot C15 on an extender and looked at pins A1: strobed; C1: strobed.

We put the M310 in slot D15 on an extender and looked at pin H2: strobes.

We put the M617 in slot D17 on an extender and looked at pin S1: strobes once per power up, M1 strobes every time EXAM & DEP are activated.
We need to look at the INHIBIT(0) signal.

We put the M216 in slot D16 on an extender and looked at pins R2 & P2. They strobe every time EXAM & DEP are activated.

We put the M617 in slot D17 on an extender and looked at pins R1 & P1. They strobe every time EXAM & DEP are activated. Pin S1 did not change.
(note: card is REV C, schematic is E)
We replaced the M167 with a NOS REV A, part but the behavior was the same. We put the original M167 back.
We pulled the M216 in slot D16 and saw continuous strobes on pin S1.
That means that the output of the READ flip-flop is connected to the MEM BEGIN* signal.

We swaped the M216 in slot  D16 with card from parts machine....no strobes on pin S1 of the M617 in slot D17.
We tried 4 different M216 boards from the parts machine. All have different broken behavior.
The bad behavior includes: bad low output (logic probe shows 'floating'), stuck flops, 'one time' flop, etc.
The "best" broken M216 toggles CYCLE, READ, INHIBIT, but not WRITE.
To continue debugging we will need to repair an M216. Fortunately Warren donated a pile of SN7474 chips.

It is amazing how many broken SN7474 chips are in this system

12/03/11

Current issues.

Memory is not read or written on EXAM or DEP operation. 

Debugging.

We looked at the M216 module in slot D16 because that Flipchip contains all of the SN7474 flip-flops that control the memory states.
See page D-BS-8L-0-13, sections D2 through D7 in the schematics.
The MEM_START signal on pin B1 pulses if you operate the LA, EXAM, or DEP keys. This is OK.
We looked at the READ flip-flop. The READ(1) signal on Pin L1 always high. The READ(0) signal on pin M1 pulses high.
The READ(1) signal is connected to a lot of other Flip-chips so we pulled the G228 modules in slot C25 & D25, and the M360 module in slot C17 (no strobes, no XY power select).

We looked at the M310 module in slot D15.  See page D-BS-8L-0-13, section C4 in the schematics.
The CYC_DONE signal pulses positve if you operate the LA, EXAM, or DEP keys. This is OK.

We looked at the M617 module in slot D17. See page D-BS-8L-0-13, section D4 in the schematics.
The MEM_BEGIN pulses signal on pin S1 shows a single pulse.
On pins R1 &P1 the INHIBIT(0) signal pulses.
The signal on pins M 1& N1 pulses.

We looked at the M113 module in slot C15. See page D-BS-8L-0-13, section D2 in the schematics.
The signal on pin F2 (sets inhibit FF) pulses low.
The signal on pin K1 (sets write FF) pulses low.

We looked at the M216 modlue in slot D16. See page D-BS-8L-0-13, section D5 in the schematics.
The signal on pin L1 READ(1) shows a single pulse after power up.
The signal on pin K1, MEM_BEGIN/ (sets read FF) shows a single pulse.

We looked at the M617 module in slot D17. See page D-BS-8L-0-13, section D4 in the schematics.
The signal on pin S1, MEM_BEGIN/, shows a single pulse low and then stays high.
The signal on pins R1 & P1, INHIBIT(0), pulses low.
The signal on pins N1 & M1 pulses high.
We swapped the M617 module in slot D17 with another spare. It made no difference so we restored the original.

We pulled the G020 modules in slots A18, A19, A20, B18, B19, and B20 to isolate the problem.

We looked at the M617 module in slot D17. See page D-BS-8L-0-13, section D4 in the schematics.
The MEM_BEGIN signal on pin S1 shows a single pulse and then stays high.
The signal on pins R1 & P1, INHIBIT(0), pulses low.
The signal on pins N1 & M1 pulses high.

We swapped the M310 modules in slots D14 & D15. See page D-BS-8L-0-13, section C4 & C5 in the schematics. 
The signal MEM_BEGIN/ signal on pin S1 of the M617 module in slot D17 was stuck high.
This behavior was worse so we restored them to their original positions.
We swapped the M310 modules in slot D14 with one from the parts machine and observed the same single pulse on pin S1.
We swapped the M310 modules in slot D14 with with another one from parts machine and observed the same single pulse on pin S1.
We swapped the M310 modules in slot D15 with with another one from parts machine and observed multiple pulses on pin S1. Much better!
We reinstalled the G020s, G228, and M360 modules. The signal MEM_BEGIN/ signal on pin S1 of the M617 module in slot D17 still pulses, but the system will still not read/write memory.

We decided to do a Sanity Test to make sure that the M310 module in slot D15 was causing this problem.
The signal on pin S1, MEM_BEGIN/, in the M617 shows multiple pulses.
We restore original M310 module into slot D15 and observed just a single pulse on pin S1.
We reinstalled the M310 module from parts machine into slot D15 and observed multiple pulses on pin S1.
So the M310 really is bad, so we tagged it for repair.

We got tired of replacing the memory control flip-flops 
on the M216 board in slot D16 one at a time and just replace all three . That helped, but didn't fix the memory problems.

12/09/11

Current issues.

Memory is not read or written on EXAM or DEP operation. 

Debugging.

Since the memory control logic seems to be working correctly now I looked at the eight G221 X and Y memory selectors to see if the MA was getting decoded into core memory selects correctly.
See page D-BS-8L-0-15 and D-BS-8L-0-16 in the schematics.

I started with the G221 module in slot C23 which decodes the MA00(0), MA01(1), and MA02(1) signals.
The SN7440 at E1 was defective so the X select signals were either missing or there were simultaneous selects.

The G221 module in slot D24 had a defective SN7400 at E3.

I replaced all three modules with a good ones from the parts machine. Most of the G221s in the parts machine were also defective, but I found three good boards.
All of the G221 modules are working correctly now. The broken G221 modules were tagged for repair.

12/22/11

Current issues.

Memory is not read or written on EXAM or DEP operation. 

Debugging.

Looked at pin D1 of the G020 in slot B20 to see if the STROBE FIELD 0 signal was present when the EXAM or DEP key was pressed. It was not.
See page D-BS-8L-0-14, section B2 in the schematics.

Looked at pin S2 of the M360 in slot C17 to see if the STROBE FIELD 0 signal was generated. It was not.
See page D-BS-8L-0-13, section C2 in the schematics. 
The signals on pins P2 and R2 looked OK. The signal went into the delay line, but did not come out.
I replaced the M360 with one from the parts system. The STROBE FIELD 0 signal was present on pin S2 and the STROBE/ signal was present on pin T2.

Now I see the SW contents in the MB when the DEP key is pressed. Progress, but the memory still does not work.
I could see different data on pins C1 and S1 of the G020 in slot B20 when EXAM was pressed so the sense amps must be working now.
See page D-BS-8L-0-14, section B2 in the schematics. 
The memory contents was not getting to the memory bus.

I looked at the M220 module in slots AB02. I could see different data on pins BR1 and BV2 when EXAM was pressed.
See page D-BS-8L-0-9, section B1 & B3 in the schematics.
I didn't see a strobe on MEM ENABLE 5-11 signal on pin BV1, so the data would never be gated onto the register bus.

I looked at the M617 module in slot A08. See page D-BS-8L-0-4, section D7 in the schematics.
The input signal on pins L2 & M2 was floating.
I looked at the M160 module in slot A10.
The output signal on pin R1 was floating.
I replaced the M160 with one from the parts machine. The MEM ENABLE 0-4 and MEM ENABLE 5-11 are working now.

The memory looks like it is partially working now.
I can write and read all zeros to core and it is OK.
If I write all ones and read it back, addresses that end in 5 & 7 contain all ones.
The G221 modules in slots D23 and D24 decode address bits 9-11 so I started there.
I looked at the G221 module in slot D23.
See page D-BS-8L-0-14, section A4-A6 in the schematics.
    Chip E3 pin 8 is for addresses ending in 0.
    Chip E3 pin 6 is for addresses ending in 1.
    Chip E1 pin 8 is for addresses ending in 2.
    Chip E1 pin 6 is for addresses ending in 3.
This looks OK.

I looked at the G221 module in slot D24.
See page D-BS-8L-0-14, section A2-A4 in the schematics.
    Chip E3 pin 8 is for addresses ending in 4.
    Chip E3 pin 6 is for addresses ending in 5.
    Chip E1 pin 8 is for addresses ending in 6.
    Chip E1 pin 6 is for addresses ending in 7.
E3 pin 8 actually decodes addresses ending in 4 & 5, and Chip E1 pin 6 actually decodes addresses ending in 6 & 7.
The 7400 E2 on the module has a floating output pin.
We don't have any spare working G221 modules so I will replace the 7400 on three broken ones.

12/24/11

Current issues.

Memory is not read or written on EXAM or DEP operation. 

Debugging.

I replaced the SN7400 on three broken G221 modules with SN5400 Mil. Spec. chips that Warren donated, so we hopefully have three working ones.
I reinstalled the repaired G221 module in slot D24. See page  D-BS-8L-0-14, section A2-A4 in the schematics.
I can now read and write core!

I toggled a small instruction test program into core at 200 and it did not run.
I examined core and found that the program that I entered was not there.
I toggled the same instruction test program into core at 0 and it runs, but the contents of the AC are not displayed on the front panel.
When the system is powered on there is random data in the AC.
The first instruction in the test program clears the AC. This works OK, but none of the other AC related instructions work.

I checked all core locations with just one address bit on and found that core locations with the 3, 4, or 5 bit on cannot be written.
The G221 modules in slots D18 & D19 decode the 3, 4, and 5 address bits.
The G221 module in slot D19 correctly decodes the 4, 5, 6, and 7 bit combinations.
See page  D-BS-8L-0-15, section A2-A4 in the schematics.
In the G221 module in slot D18, the SN7440 chip E2 does not drive pins 6 & 8 low.
See page  D-BS-8L-0-14, section A4-A6 in the schematics.
I replaced it with one of the repaired modules, but core locations with the 3, 4, or 5 bit on still cannot be written.
I swapped the G221 modules in slots D18 & D19 for the modules in C18 & C19 to see if the addressing problem would move.
There was no change in the behavior, so I put them back in the original locations.

At this point I think that everything that decodes memory addresses is working correctly and really didn't know what to try next.
The only other thing that I could think to try was the G228 modules in slots C25 & D25.
See page  D-BS-8L-0-13, section B2-B4 in the schematics. 
I swapped the two modules and the memory behavior was very different.
I replaced the G228 module in slot C25 with a NOS module from our spares and now all of core works!

I toggled a small instruction test program into core at 200 and this time it ran.
It still failed as soon as the program tested the contents of the AC after an instruction.

12/27/11

Current issues.

The AC is not affected by any instructions. 

Debugging.

Dan and Mike worked on the AC problem today.
I suspected that the AC LOAD signal was not loading the AC from the REG BUS. See page D-BS-8L-0-8, section D8 in the schematics.
I put the M220 from slot AB04 on the extender and was surprised to see the AC LOAD signal activated when the CLA instruction was executed.
The two AC bits in this particular M220 were usually set to on at power up. The 0 and 1 output bits of the SN7474 corresponded to the lights on the front panel.
Executing the CLA instruction cleared the the AC and changed the 
0 and 1 output bits of the SN7474.
Other AC related instructions also activated the AC LOAD signal, but did not change the contents of the AC.

At this point we decided to see if the bits in the instructions were getting decoded correctly.
We looked at the outputs of the instruction decoding logic on page D-BS-8L-0-3, section B6 & C6 in the schematics.
We put the M111 from slot C07 on the extender.
The JMS & JMS/, JMP & JMP/, IOT & IOT/, OP 2 & OP 2/ signals were all active when one of those instructions was executed.
The OP 1/ was active, but the OP 1 signal was always low.
We replaced the M111 with two different spares and decided that something connected to the output must be pulling the signal low.

We looked through the signal list that Vincent Slyngstad gave us with the intention of pulling boards that connected to the  OP 1 signal.
I intended to pull the M160 board in slot A12, but accidentally pulled the one in slot A13.
The OP 1 signal worked OK with the M160 removed.
We found several defective M160 boards in this system and in the parts system so it was not surprising.
We did not have a spare M160 so we swapped the ones in A12 and A13.
The OP 1 signal was tied low.
Removing the M160 in A13 restored operation of the OP 1 signal.
Since the OP 1 signal does not connect to the M150 in A13 we decided to try pulling other modules that connected to the OP 1 signal.

We tried the M113 in B13, the M160 in A12, and the M115 in A11.
Removing the M115 in A11 restored operation of the OP 1 signal.
We replaced the M115 with one from the parts system.
The OP 1 signal was working again and we saw changes in the contents of the AC.

We tried a number of little test programs from David Gesswein.
The CLA, CLL, CMA, CML, RAR, RAL, RTR, RTL, IAC, OSR, STL, GLK, CLA IAC, and CLA CMA instructions worked OK.
We also found that the JMP, ION, IOF, KRB, and KRS instructions worked OK.

None of the instructions that conditionally skip based on the contents of the AC work.
I think that the memory address accessed in the Defer cycle is always 0.

12/29/11

Current issues.

Need to test all instructions.

Debugging.

We tried the SZA, SNA, SMA, SPA, CML, SNL, SZL, SKP, OSR, CLA & CLL, and they all work.
That means that the SKIP flip-flop is working OK.
The SKIP flip-flop is located in the M216 in slot B11 and that module is new.

The CLA and CLN instructions clear both the AC and the Link at the same time.

ISZ clears the AC and writes the MA into core pointed to by the MA.
It should move the AC -> MB and then write the MB to core pointed to by the MA.

DCA has 0 in the MB during the E phase so I don't think that it is writing to core.
This probably has the same problem as the ISZ instruction.

12/31/11

Current issues.

Need to test all instructions.

Debugging.

We tried the CLL instruction again. It clears both the AC and the Link. That is not OK.
The CLA instruction clears only the AC so that is working.
The CIA and LAS instructions work OK.

The AND instruction didn't work.
We looked at the instruction decoding signals on the M111 module in slot C07.
Neither the AND signal on pin E1 or the AND/ signal on pin D1 were there.
We looked at the M115 in slot C09.
The output on pin H2 of the 7410 chip was floating when it should have been driven high or low.
We marked the E1 chip on the M115 as bad and set the board aside for repair.
We installed a M115 from the parts system and verified that the AND/, TAD/, ISZ/, and DCA/ signals were working.
The AND instruction works if the addressed cell is 0 and is on the current page, or the zero page.
The AND instruction also works if the indirectly addressed cell is 0, and cell 0 contains any address.
During TS4/TP4 the Sense Register bits 5-11 are not getting put in the MA.
This issue is the same for all instructions that reference memory.

1/2/12

Current issues.

Look at the memory reverence instructions to find out why they don't put the address in the MA.

Debugging.

I tried to write to 7777 with the MEM PROT switch on. The PROT light lit and it did not write to core. Perfect!

I looked at the M220 in slot AB04,  D-BS-8L-0-9, section A8 in the schematics. 
The MEM ENABLE 5-11 signal toggles during the FETCH cycle, but it does not load the address part of the instruction in the MA.
Without a 'scope connected it is difficult to know if the MEM ENABLE 5-11 signal is part of fetching the instruction, or loading the address part of the instruction.

I decided to see if TS4 and TP4 are working.
I looked at the M216 in slot C4,  D-BS-8L-0-3, section D5 in the schematics.
TS4(0) is low and blinks high.
TS4(1) is high and blinks low.
TP4 is low and blinks high.
Everything looks OK.

I looked at the M117 in slot C13, D-BS-8L-0-4, section C5 in the schematics.
TS4(1) on pin F1 is high and blinks low during FETCH or EXECUTE.
Pin H1 is high during the FETCH cycle.
INT OK/ on pin J1 is always high.
PE ENABLE/ on pin K1 is high during the EXECUTE cycle.
Pin L1, the output, is floating. This would prevent MEM ENABLE 5-11 during TP4.
I replaced the M117 with one from the parts system, and tagged the broken one for repair.
All of the memory reference instructions are working now.

I tried all of the toggle-in test programs from David Gesswein.
Everything works except the program that copies the SW to the TTY continually loops on the TSF instruction.

I put the M707 in slot CD31 on the extender.
The TTO CLOCK/ signal on pin DP2 looks OK, D-BS-8L-0-12, section B7 in the schematics.
The 0 output of the FREQUENCY DIVIDE flip-flop was floating.
I replaced the M707 in slot CD31 with a NOS module and tagged the broken one for repair.
The test program still looped on the TSF instruction.
The TELEPRINTER flip-flop was set and cleared, but TTO SET/ on pin DJ2 was always low.
The IOP 1 signal on pin DH2 never strobed, D-BS-8L-0-12, section C3 in the schematics.

I put the M115 in slot D04 on the extender.
I/O ON(1) on pin D2 is high.
IOP A(1) on pin E2 pulses high.
MB11(1) on pin F2 is high during the FETCH cycle.
IOP 1/ on pin H2 is always high.
I replaced the M115 in slot D04 with one from the parts system, and tagged the broken one for repair.
Now IOP 1/ on pin H2 pulses low.
The test program gets past the TSF instruction now.

I made a cable to go from the AMP connector on the W076 in slot D33 to the AMP connector on a VT220.
The program that copies the SW to the TTY actually wrote to the screen on the VT220!

I tried a TTY echo program, but the program looped on the KSF instruction.
I replaced the M706 in slot CD32 with a NOS module and tagged the broken one for repair.
Now anything typed on the VT220 is echoed to the screen.

1/14/12

The system has worked OK the last two Saturdays we turned it on. Looks like it might me fixed.
Now we can use it to test the modules in the PDP-8/I.

Warren tried his home-build RS232 to current-loop converter. At low speeds the laptop to 8/L interface is working OK.
At high speeds it fails. When he gets this working we can use it to load diagnostics into the 8/L.

1/28/12

We powered up the 8/L so that we could try Warren's RS-232 to Current-Loop adapter.
Last time we left a TTY echo program in the system, so all we had to do was a LA and a START.
Well, the system froze in the Fetch state.
It would signal step fine, but froze when run at full speed.

The program that we left in the system was:
0000 7001 IAC increment AC
0001 6046 TLS load teleprinterbuffer, print/punch, clear flag
0002 6041 TSF skip if teleprinter flag
0003 5002 JMP 0002
0004 5000 JMP 0000

We decided to start at the beginning and see if timing states were working.
We put the M216 module in slot C04 on the extender.
We turned on SINGLE STEP and the CONT switch was activated all 4 states (TS1, TS2, TS3, TS4) pulse. That is good.
When we turned off SINGLE STEP and hit START.
We only one saw one timing pulse after START. That is not good.
We checked the states of the Timing State flip-flops in section D6-8 of the schematic page D-BS-8L-0-2.
Put the M216 in slot C04 in the extender and found that pin B1 only pulsed once. Not good.
So the system was stuck in the TS1 state.
We put the M113 in slot C02 on the extender to see how the signal on B1 of the M216 module in slot C04 behaves.
When in SINGLE STEP, operation of the CONT switch sends a pulse into pin R2, then S2->R1->S1. Looks OK.
When running we should see a pulse on pin P1, then S1. It was not there. Not good.
We put the M115 in slot D04 on the extender.
Pins A1 and C1 were high. That looks good.
Pin B1 is low, so the system was stuck in the PAUSE state.
We were executing IOT instructions in our test program.
The PAUSE state is used with IOTs to stretch the instruction cycle time.

We tried a two instruction program with just an IAC and a JMP.
That ran fine, so we knew the problem was specifically with the logic for the IOT instructions.

We put the M216 in slot C04 on the extender.
When in SINGLE STEP the PAUSE flip-flop worked as expected.
When not in SINGLE STEP, we only saw one pulse on pin H1.
We put the M310 in slot D05 on the extender.
When in SINGLE STEP we saw the expected pulses on pins H2 and F1.
When running we only saw one pulse on H2 and F1.

We put the M113 in slot C05 on the extender.
The I/O END\ signal on pin K1 looked OK.
We put the M310 in slot D07 on the extender.
There was no output on pin F1.
The 0.05us tap that generates the I/O ROT signal looked.
The NAND gates seem to work (module schematic is REV D; bad module is REV (A or B)).
After some probing it appears to be transistor Q1 bad.
We tagged the module as BAD and set it aside for repair.
We installed on of the M310 modules from the parts 8/L and everything seems to work OK now.

We ran the test program and were able to echo characters from Warren's laptop through the 8/L.
So, that means that the 8/L is alive again and Warren's RS-232 to Current-Loop adapter works.

We toggled in the RIM loader, ran it, and sent the BIN loader (DEC-08-LBAA-D) to the 8/L from Warren's laptop.
It was very nice to see blinky-lights on the front panel while the RIM loader ran.
We halted the RIM loader and checked part of the BIN loader instructions. It actually looked OK!

We started the BIN loader running and sent very short binary file "MAINDEC-08-D1AA-PB", the  PDP-8 memory power ON/OFF to the 8/L.
We saw more satisfying blinky lights, and it halted with LINK set and AC=0. That indicates a good checksum!

Time to leave. Starting to pack up...

Mike tells Warren to run the diag: "Don't leave me hanging!"
Found test document for rev C "MAINDEC-08-D1AC-D.pdf".
The operating procedure is; LOAD ADDRESS 0014, START, program halts at 0042.
Then LOAD ADDRESS 0001, START, the program should loop.
The program halted at 0055. it's the error halt.

So, it looks like the might still be some memory problems.
We need to look at memory locations 0011, 0012, 0007, and 0010 to determine where the memory error was seen and what the bits were.
We will save this for next weekend.

2/4/12

Today the 8/L was the test bed for the modules in the 8/I.
We started testing the modules one-at-a-time and found a similar selection of defective modules.

2/11/12

We continued using the 8/L as the test bed for the modules in the 8/I.
We proved that most work OK, and found 7 more broken modules.

2/28/12

Last Thursday was the one year anniversary of starting on the 8/L project.
This system seems to be very reliable now.
We continued using the 8/L as the test bed for the modules in the 8/I and found many broken modules.
Using the 8/L for testing the 8/I modules is really saving a lot of time.
We have accomplished in just two months work in the 8/I what it took 10 months to accomplish on the 8/L.
We are also a lot more familiar with the design and function of this system and our test procedures, so that helps too.

Things to look at during the next debug session.

Determine where the memory diagnostic failed.
Survey the KSR-33 Teletypes and see if one is close to working.
Connect the KSR-33 to the PDP-8/L, load and run diagnostic tests from paper tape.

Instruction Test Results:
Basic Instructions:
AND works OK, but only when directly or indirectly referencing memory location 0.
TAD
ISZ works OK, but only when directly or indirectly referencing memory location 0.
DCA works OK, but only when directly or indirectly referencing memory location 0.
JMS
JMP works OK.
IOT see below.
OPR see below.

Group 1 Operate Microinstructions
NOP works OK.
CLA works OK.
CLL clears both the AC and the LINK.
CMA works OK.
CML works OK.
RAR works OK.
RAL works OK.
RTR works OK.
RTL works OK.
IAC works OK.

Group 2 Operate Microinstructions
SMA works OK.
SZA works OK.
SPA works OK.
SNA works OK.
SNL works OK.
SZL works OK.
SKP works OK.
OSR works OK.
HLT works OK.
CLA

Combined Operate Microinstructions
CIA works OK.
LAS works OK.
STL works OK.
GLK works OK.
CLA CLL works OK.
CLA IAC works OK.
CLA CMA works OK.
CLL RAR
CLL RAL
CLL RTL
CLL RTR
SZA CLA
SZA SNL
SNA CLA
SMA CLA
SMA SZA
SMA SNL
SPA SZL
SLA CLA
SNA SZL

Program Interrupt
ION works OK.
IOF works OK.

Teletype Keyboard/Reader
KSF
KCC
KRS works OK.
KRB works OK.

Teletype Teleprinter/Punch
RSF
RRB
RFC

The boards replaced so far are:
G221 in slot C23.
G221 in slot D24.
M113 in slot D12.
M115 in slot A11.
M115 in slot C09.
M115 in slot C12.
M115 in slot D04.
M117 in slot C13.
M160 in slot A10. 
M160 in slot A12.
M160 in slot D9.
M216 in slot B11.
M216 in slot D16 repaired.
M220 in slot AB0x repaired.
G221 in slot D18.
G221 in slot D24 repaired.
G228 in slot C25.
M310 in slot D07.
M310 in slot D08.
M310 in slot D15.
M360 in slot C17.
M706 in slot CD32.
M707 in slot CD31.