testing PIA chips on Williams machines - Pin-Bot

jehuie

Well-known member

Donor 2011
Joined
Sep 8, 2007
Messages
10,947
Reaction score
1,672
Location
Martinez, California
I had some acid damage on my main board and after cleaning it all up the machine has some issues, particularly with 2 displays being blank. Not sure if they are good or bad but before replacing them I'd like to be sure the main board is functioning right.

I've read about Leon's test rom. Where can I get one of these? Can someone here burn one for me and how much would it cost? Hobbyroms may have them so I'll check there.

In the meantime, is there something I can do with my logic probe to see if they are at least functioning minimally? Or do I have to have Leon's test rom to check them?

Thanks!
 
If you have a logic probe you can check the input / outputs on the PIA. I have had limited success using Leon's test chip. If you have a schematic dig that logic probe out!
 
Use Leon's test ROM if you want to thoroughly test the PIAs. With the game in attract mode with original game code you could see if any of the PIA outputs are stuck high or low.
 
Leon's test ROM is the most thorough way to test the PIAs. It cycles through the IO ports.

If I have any question at all about them, I desolder them (if they are not socketed already) and throw a known good one in. Then I can take the old one and put in a known working setup (like a Williams video game I/O board) to test it.

ken
 
Use Leon's test ROM if you want to thoroughly test the PIAs. With the game in attract mode with original game code you could see if any of the PIA outputs are stuck high or low.

Is there a "Testing PIA's for Dummies" kinda instruction set somewhere for how to do this? I don't know which pins are the outputs even. But once I figure that out, how do I tell if an output is "stuck" high or low versus just not being used at that moment?

Hobby Roms has the test rom so I'll order one from Steph. But in the meantime what's the basic procedure? Thanks!
 
Battery Corrosion.
One BIG problem with system11 games are the batteries. The CPU board has mounted at the top center a 3-AA battery pack. This keeps audits, adjustments and high scores in memory when the game is powered off. But if the batteries are neglected and grow old, they can leak their corrosive fluids on the CPU board, ruining the board. If this has happened, there are a number of components directly below the battery holder than are often affected. For this reason, and to aid in the replacement of PIA chips for other reasons, I will list where these large 40 pin PIA chips connect. This way you can "buzz out" the chip legs and make sure they still connect to their intended components (because often battery corrosion can eat these traces). If even a single trace to one of the PIA or support chips is broken, this can cause the entire CPU board to not "boot".

PIA and Support Chip Connections.
Here's a list of all the PIAs connections (except for the sys11-sys11b sound PIA).

PIA U41 (display)

pin 1 = gnd
pin 2 (pa0) = src5 pin 2, j22 pin 11
pin 3 (pa1) = src5 pin 3, j22 pin 12
pin 4 (pa2) = src5 pin 4, j22 pin 13
pin 5 (pa3) = src5 pin 5, j22 pin 14
pin 6 (pa4) = src5 pin 6, j22 pin 15
pin 7 (pa5) = src5 pin 7, j22 pin 16
pin 8 (pa6) = src5 pin 8, j22 pin 17
pin 9 (pa7) = src5 pin 9, j22 pin 18
pin 10 (pb0) = src2 pin 2, j22 pin 19
pin 11 (pb1) = src2 pin 3, j22 pin 20
pin 12 (pb2) = src2 pin 4, j22 pin 21
pin 13 (pb3) = src2 pin 5, j22 pin 22
pin 14 (pb4) = src2 pin 6, j22 pin 23
pin 15 (pb5) = src2 pin 7, j22 pin 24
pin 16 (pb6) = src2 pin 8, j22 pin 25
pin 17 (pb7) = src2 pin 9, j22 pin 26
pin 18 (cb1) = src1 pin 2, j21 pin 11
pin 19 (cb2) = u49 pin 5, sr19 pin 7
pin 20 = +5

pin 21 (r/w) = pin 21 on all PIAs, j21 pin 17, u36 pin 1, u13 pin 18, u16 pin 1
pin 22 (cs0) = pin 22 on all PIAs
pin 23 (cs2) = u37 pin 12
pin 24 (cs1) = pin 24 on all PIAs (a13 address bus), u14 pin 6
pin 25 (E) = pin 25 on all PIAs, u32 pin 10, u35 pin 1, u35 pin 3, u32 pin 13, u29 pin 10, u11 pin 18, j21 pin 19
pin 26 (d7) = pin 26 on all PIAs, u16 pin 9, u28 pin 8, u25 pin 17, u26 pin 19, u27 pin 19
pin 27 (d6) = pin 27 on all PIAs, u16 pin 8, u28 pin 13, u25 pin 16, u26 pin 18, u27 pin 18
pin 28 (d5) = pin 28 on all PIAs, u16 pin 7, u28 pin 14, u25 pin 15, u26 pin 17, u27 pin 17
pin 29 (d4) = pin 29 on all PIAs, u16 pin 6, u28 pin 7, u25 pin 14, u26 pin 16, u27 pin 16
pin 30 (d3) = pin 30 on all PIAs, u16 pin 5, u28 pin 17, u25 pin 13, u26 pin 15, u27 pin 15
pin 31 (d2) = pin 31 on all PIAs, u16 pin 4, u28 pin 4, u25 pin 11, u26 pin 13, u27 pin 13
pin 32 (d1) = pin 32 on all PIAs, u16 pin 3, u28 pin 18, u25 pin 10, u26 pin 12, u27 pin 12
pin 33 (d0) = pin 33 on all PIAs, u16 pin 2, u28 pin 3, u25 pin 9, u26 pin 11, u27 pin 11
pin 34 (reset) = pin 34 on all PIAs, u15 pin 40, u43 pin 4, sr19 pin 3, q39, r69
pin 35 (rs1) = pin 35 on all PIAs (a1), u25 pin 9, u26 pin 9, u27 pin 9, u11 pin 16
pin 36 (rs0) = pin 36 on all PIAs (a0), u25 pin 10, u26 pin 10, u27 pin 10, u11 pin 14
pin 37/38 (irq) = pins 37/38 on all PIAs, r70 (rt leg), u32 pin 1
pin 39 (ca2) = u49 pin 3, sr19 pin 4
pin 40 (ca1) = src1 pin 5, j21 pin 15

PIA U42 (display)

pin 1 = gnd
pin 2 (pa0) = src4 pin 2, j22 pin 3
pin 3 (pa1) = src4 pin 3, j22 pin 4
pin 4 (pa2) = src4 pin 4, j22 pin 5
pin 5 (pa3) = src4 pin 5, j22 pin 6
pin 6 (pa4) = src4 pin 6, j22 pin 7
pin 7 (pa5) = src4 pin 7, j22 pin 8
pin 8 (pa6) = src4 pin 8, j22 pin 9
pin 9 (pa7) = src4 pin 9, j22 pin 10
pin 10 (pb0) = src3 pin 2, j21 pin 3
pin 11 (pb1) = src3 pin 3, j21 pin 4
pin 12 (pb2) = src3 pin 4, j21 pin 5
pin 13 (pb3) = src3 pin 5, j21 pin 6
pin 14 (pb4) = src3 pin 6, j21 pin 7
pin 15 (pb5) = src3 pin 7, j21 pin 8
pin 16 (pb6) = src3 pin 8, j21 pin 9
pin 17 (pb7) = src3 pin 9, j21 pin 10
pin 18 (cb1) = src1 pin 3, j21 pin 12
pin 19 (cb2) = src1 pin 4, j21 pin 13
pin 20 = +5

pin 21 (r/w) = pin 21 on all PIAs, j21 pin 17, u36 pin 1, u13 pin 18, u16 pin 1
pin 22 (cs0) = pin 22 on all PIAs
pin 23 (cs2) = u37 pin 10
pin 24 (cs1) = pin 24 on all PIAs (a13 address bus), u14 pin 6
pin 25 (E) = pin 25 on all PIAs, u32 pin 10, u35 pin 1, u35 pin 3, u32 pin 13, u29 pin 10, u11 pin 18, j21 pin 19
pin 26 (d7) = pin 26 on all PIAs, u16 pin 9, u28 pin 8, u25 pin 17, u26 pin 19, u27 pin 19
pin 27 (d6) = pin 27 on all PIAs, u16 pin 8, u28 pin 13, u25 pin 16, u26 pin 18, u27 pin 18
pin 28 (d5) = pin 28 on all PIAs, u16 pin 7, u28 pin 14, u25 pin 15, u26 pin 17, u27 pin 17
pin 29 (d4) = pin 29 on all PIAs, u16 pin 6, u28 pin 7, u25 pin 14, u26 pin 16, u27 pin 16
pin 30 (d3) = pin 30 on all PIAs, u16 pin 5, u28 pin 17, u25 pin 13, u26 pin 15, u27 pin 15
pin 31 (d2) = pin 31 on all PIAs, u16 pin 4, u28 pin 4, u25 pin 11, u26 pin 13, u27 pin 13
pin 32 (d1) = pin 32 on all PIAs, u16 pin 3, u28 pin 18, u25 pin 10, u26 pin 12, u27 pin 12
pin 33 (d0) = pin 33 on all PIAs, u16 pin 2, u28 pin 3, u25 pin 9, u26 pin 11, u27 pin 11
pin 34 (reset) = pin 34 on all PIAs, u15 pin 40, u43 pin 4, sr19 pin 3, q39 (top leg), r69 (rt leg)
pin 35 (rs1) = pin 35 on all PIAs (a1), u25 pin 9, u26 pin 9, u27 pin 9, u11 pin 16
pin 36 (rs0) = pin 36 on all PIAs (a0), u25 pin 10, u26 pin 10, u27 pin 10, u11 pin 14
pin 37/38 (irq) = pins 37/38 on all PIAs, r70 (rt leg), u32 pin 1
pin 39 (ca2) = src1 pin 8, j21 pin 18
pin 40 (ca1) = src1 pin 6, j21 pin 16

PIA U38 (switch matrix)

pin 1 = gnd
pin 2 (pa0) = u30 pin 4
pin 3 (pa1) = u30 pin 3
pin 4 (pa2) = u30 pin 10
pin 5 (pa3) = u30 pin 11
pin 6 (pa4) = u39 pin 4
pin 7 (pa5) = u39 pin 3
pin 8 (pa6) = u39 pin 10
pin 9 (pa7) = u39 pin 11
pin 10 (pb0) = u40 pin 2
pin 11 (pb1) = u40 pin 17
pin 12 (pb2) = u40 pin 4
pin 13 (pb3) = u40 pin 15
pin 14 (pb4) = u40 pin 6
pin 15 (pb5) = u40 pin 13
pin 16 (pb6) = u40 pin 8
pin 17 (pb7) = u40 pin 11
pin 18 (cb1) = gnd
pin 19 (cb2) = u49 pin 11, sr19 pin 8
pin 20 = +5

pin 21 (r/w) = pin 21 on all PIAs, j21 pin 17, u36 pin 1, u13 pin 18, u16 pin 1
pin 22 (cs0) = pin 22 on all PIAs
pin 23 (cs2) = u37 pin 11
pin 24 (cs1) = pin 24 on all PIAs (a13 address bus), u14 pin 6
pin 25 (E) = pin 25 on all PIAs, u32 pin 10, u35 pin 1, u35 pin 3, u32 pin 13, u29 pin 10, u11 pin 18, j21 pin 19
pin 26 (d7) = pin 26 on all PIAs, u16 pin 9, u28 pin 8, u25 pin 17, u26 pin 19, u27 pin 19
pin 27 (d6) = pin 27 on all PIAs, u16 pin 8, u28 pin 13, u25 pin 16, u26 pin 18, u27 pin 18
pin 28 (d5) = pin 28 on all PIAs, u16 pin 7, u28 pin 14, u25 pin 15, u26 pin 17, u27 pin 17
pin 29 (d4) = pin 29 on all PIAs, u16 pin 6, u28 pin 7, u25 pin 14, u26 pin 16, u27 pin 16
pin 30 (d3) = pin 30 on all PIAs, u16 pin 5, u28 pin 17, u25 pin 13, u26 pin 15, u27 pin 15
pin 31 (d2) = pin 31 on all PIAs, u16 pin 4, u28 pin 4, u25 pin 11, u26 pin 13, u27 pin 13
pin 32 (d1) = pin 32 on all PIAs, u16 pin 3, u28 pin 18, u25 pin 10, u26 pin 12, u27 pin 12
pin 33 (d0) = pin 33 on all PIAs, u16 pin 2, u28 pin 3, u25 pin 9, u26 pin 11, u27 pin 11
pin 34 (reset) = pin 34 on all PIAs, u15 pin 40, u43 pin 4, sr19 pin 3, q39 (top leg), r69 (rt leg)
pin 35 (rs1) = pin 35 on all PIAs (a1), u25 pin 9, u26 pin 9, u27 pin 9, u11 pin 16
pin 36 (rs0) = pin 36 on all PIAs (a0), u25 pin 10, u26 pin 10, u27 pin 10, u11 pin 14
pin 37/38 (irq) = pins 37/38 on all PIAs, r70 (rt leg), u32 pin 1
pin 39 (ca2) = u49 pin 9, sr17 pin 10
pin 40 (ca1) = gnd
 
U37 Support Chip.
This chip is very important in regards to address lines connecting to the PIAs.

pin 1 (a10) = u13 pin 7, u33 pin 10
pin 2 (a11) = u13 pin 9, u26 pin 23, u27 pin 23
pin 3 (a12) = u13 pin 12, u26 pin 2, u27 pin 2
pin 4 (a15) = u15 pin 25
pin 5 (a14) = u15 pin 24
pin 6 (vma) = u32 pin 9
pin 7 = n/c
pin 8 = gnd

pin 9 = n/c
pin 10 = u42 pin 23
pin 11 = u38 pin 23
pin 12 = u41 pin 23
pin 13 = u51 pin 23
pin 14 = u34 pin 9, u37 pin 14
pin 15 = u12 pin 1, u34 pin 10
pin 16 = +5

(following not verified.)
PIA U54 (lamp matrix)

pin 1 = gnd
pin 2 (pa0) = u55 pin 13
pin 3 (pa1) = u55 pin 11
pin 4 (pa2) = u55 pin 9
pin 5 (pa3) = u56 pin 3
pin 6 (pa4) = u56 pin 1
pin 7 (pa5) = u56 pin 13
pin 8 (pa6) = u56 pin 11
pin 9 (pa7) = u56 pin 9
pin 10 (pb0) = u53 pin 12
pin 11 (pb1) = u53 pin 10
pin 12 (pb2) = u53 pin 2
pin 13 (pb3) = u53 pin 4
pin 14 (pb4) = u52 pin 1
pin 15 (pb5) = u52 pin 4
pin 16 (pb6) = u52 pin 12
pin 17 (pb7) = u52 pin 9
pin 18 (cb1) = gnd
pin 19 (cb2) = u49 pin 1, sr19 pin 10
pin 20 = +5

pin 21 (r/w) = pin 21 on all PIAs, j21 pin 17, u36 pin 1, u13 pin 18, u16 pin 1
pin 22 (cs0) = pin 22 on all PIAs
pin 23 (cs2) = u37 pin 14, u34 pin 9
pin 24 (cs1) = pin 24 on all PIAs (a13 address bus), u14 pin 6
pin 25 (E) = pin 25 on all PIAs, u32 pin 10, u35 pin 1, u35 pin 3, u32 pin 13, u29 pin 10, u11 pin 18, j21 pin 19
pin 26 (d7) = pin 26 on all PIAs, u16 pin 9, u28 pin 8, u25 pin 17, u26 pin 19, u27 pin 19
pin 27 (d6) = pin 27 on all PIAs, u16 pin 8, u28 pin 13, u25 pin 16, u26 pin 18, u27 pin 18
pin 28 (d5) = pin 28 on all PIAs, u16 pin 7, u28 pin 14, u25 pin 15, u26 pin 17, u27 pin 17
pin 29 (d4) = pin 29 on all PIAs, u16 pin 6, u28 pin 7, u25 pin 14, u26 pin 16, u27 pin 16
pin 30 (d3) = pin 30 on all PIAs, u16 pin 5, u28 pin 17, u25 pin 13, u26 pin 15, u27 pin 15
pin 31 (d2) = pin 31 on all PIAs, u16 pin 4, u28 pin 4, u25 pin 11, u26 pin 13, u27 pin 13
pin 32 (d1) = pin 32 on all PIAs, u16 pin 3, u28 pin 18, u25 pin 10, u26 pin 12, u27 pin 12
pin 33 (d0) = pin 33 on all PIAs, u16 pin 2, u28 pin 3, u25 pin 9, u26 pin 11, u27 pin 11
pin 34 (reset) = pin 34 on all PIAs, u15 pin 40, u43 pin 4, sr19 pin 3, q39 (top leg), r69 (rt leg)
pin 35 (rs1) = pin 35 on all PIAs (a1), u25 pin 9, u26 pin 9, u27 pin 9, u11 pin 16
pin 36 (rs0) = pin 36 on all PIAs (a0), u25 pin 10, u26 pin 10, u27 pin 10, u11 pin 14
pin 37/38 (irq) = pins 37/38 on all PIAs, r70 (rt leg), u32 pin 1
pin 39 (ca2) = u49 pin 13, sr19 pin 2
pin 40 (ca1) = gnd

PIA U10 (sound/solenoids)

pin 1 = gnd
pin 2 (pa0) = u9 pin 2
pin 3 (pa1) = u9 pin 3
pin 4 (pa2) = u9 pin 4
pin 5 (pa3) = u9 pin 5
pin 6 (pa4) = u9 pin 6
pin 7 (pa5) = u9 pin 7
pin 8 (pa6) = u9 pin 8
pin 9 (pa7) = u9 pin 9
pin 10 (pb0) = u18 pin 1
pin 11 (pb1) = u18 pin 12
pin 12 (pb2) = u18 pin 9
pin 13 (pb3) = u18 pin 5
pin 14 (pb4) = u17 pin 1
pin 15 (pb5) = u17 pin 12
pin 16 (pb6) = u17 pin 9
pin 17 (pb7) = u17 pin 5
pin 18 (cb1) = gnd
pin 19 (cb2) = u50 pin 11
pin 20 = +5

pin 21 (r/w) = pin 21 on all PIAs, j21 pin 17, u36 pin 1, u13 pin 18, u16 pin 1
pin 22 (cs0) = pin 22 on all PIAs
pin 23 (cs2) = u12 pin 5
pin 24 (cs1) = pin 24 on all PIAs (a13 address bus), u14 pin 6
pin 25 (E) = pin 25 on all PIAs, u32 pin 10, u35 pin 1, u35 pin 3, u32 pin 13, u29 pin 10, u11 pin 18, j21 pin 19
pin 26 (d7) = pin 26 on all PIAs, u16 pin 9, u28 pin 8, u25 pin 17, u26 pin 19, u27 pin 19
pin 27 (d6) = pin 27 on all PIAs, u16 pin 8, u28 pin 13, u25 pin 16, u26 pin 18, u27 pin 18
pin 28 (d5) = pin 28 on all PIAs, u16 pin 7, u28 pin 14, u25 pin 15, u26 pin 17, u27 pin 17
pin 29 (d4) = pin 29 on all PIAs, u16 pin 6, u28 pin 7, u25 pin 14, u26 pin 16, u27 pin 16
pin 30 (d3) = pin 30 on all PIAs, u16 pin 5, u28 pin 17, u25 pin 13, u26 pin 15, u27 pin 15
pin 31 (d2) = pin 31 on all PIAs, u16 pin 4, u28 pin 4, u25 pin 11, u26 pin 13, u27 pin 13
pin 32 (d1) = pin 32 on all PIAs, u16 pin 3, u28 pin 18, u25 pin 10, u26 pin 12, u27 pin 12
pin 33 (d0) = pin 33 on all PIAs, u16 pin 2, u28 pin 3, u25 pin 9, u26 pin 11, u27 pin 11
pin 34 (reset) = pin 34 on all PIAs, u15 pin 40, u43 pin 4, sr19 pin 3, q39 (top leg), r69 (rt leg)
pin 35 (rs1) = pin 35 on all PIAs (a1), u25 pin 9, u26 pin 9, u27 pin 9, u11 pin 16
pin 36 (rs0) = pin 36 on all PIAs (a0), u25 pin 10, u26 pin 10, u27 pin 10, u11 pin 14
pin 37/38 (irq) = pins 37/38 on all PIAs, r70 (rt leg), u32 pin 1
pin 39 (ca2) = u9 pin 40
pin 40 (ca1) = gnd

PIA U51 (solenoids)

pin 1 = gnd
pin 2 (pa0) = u44 pin 23
pin 3 (pa1) = u44 pin 22
pin 4 (pa2) = u44 pin 21
pin 5 (pa3) = u44 pin 20
pin 6 (pa4) = diagnostic LED
pin 7 (pa5) = ?
pin 8 (pa6) = ?
pin 9 (pa7) = sr19 pin 9, jumper w7
pin 10 (pb0) = src9 pin 2, j3 pin 9
pin 11 (pb1) = src9 pin 3, j3 pin 8
pin 12 (pb2) = src9 pin 4, j3 pin 7
pin 13 (pb3) = src9 pin 5, j3 pin 5
pin 14 (pb4) = src9 pin 6, j3 pin 4
pin 15 (pb5) = src9 pin 7, j3 pin 3
pin 16 (pb6) = src9 pin 8, j3 pin 2
pin 17 (pb7) = src9 pin 9, j3 pin 1
pin 18 (cb1) = u14 pin 10
pin 19 (cb2) = sr20 pin 2, c68, j3 pin 10
pin 20 = +5

pin 21 (r/w) = pin 21 on all PIAs, j21 pin 17, u36 pin 1, u13 pin 18, u16 pin 1
pin 22 (cs0) = pin 22 on all PIAs
pin 23 (cs2) = u37 pin 13
pin 24 (cs1) = pin 24 on all PIAs (a13 address bus), u14 pin 6
pin 25 (E) = pin 25 on all PIAs, u32 pin 10, u35 pin 1, u35 pin 3, u32 pin 13, u29 pin 10, u11 pin 18, j21 pin 19
pin 26 (d7) = pin 26 on all PIAs, u16 pin 9, u28 pin 8, u25 pin 17, u26 pin 19, u27 pin 19
pin 27 (d6) = pin 27 on all PIAs, u16 pin 8, u28 pin 13, u25 pin 16, u26 pin 18, u27 pin 18
pin 28 (d5) = pin 28 on all PIAs, u16 pin 7, u28 pin 14, u25 pin 15, u26 pin 17, u27 pin 17
pin 29 (d4) = pin 29 on all PIAs, u16 pin 6, u28 pin 7, u25 pin 14, u26 pin 16, u27 pin 16
pin 30 (d3) = pin 30 on all PIAs, u16 pin 5, u28 pin 17, u25 pin 13, u26 pin 15, u27 pin 15
pin 31 (d2) = pin 31 on all PIAs, u16 pin 4, u28 pin 4, u25 pin 11, u26 pin 13, u27 pin 13
pin 32 (d1) = pin 32 on all PIAs, u16 pin 3, u28 pin 18, u25 pin 10, u26 pin 12, u27 pin 12
pin 33 (d0) = pin 33 on all PIAs, u16 pin 2, u28 pin 3, u25 pin 9, u26 pin 11, u27 pin 11
pin 34 (reset) = pin 34 on all PIAs, u15 pin 40, u43 pin 4, sr19 pin 3, q39 (top leg), r69 (rt leg)
pin 35 (rs1) = pin 35 on all PIAs (a1), u25 pin 9, u26 pin 9, u27 pin 9, u11 pin 16
pin 36 (rs0) = pin 36 on all PIAs (a0), u25 pin 10, u26 pin 10, u27 pin 10, u11 pin 14
pin 37/38 (irq) = pins 37/38 on all PIAs, r70 (rt leg), u32 pin 1
pin 39 (ca2) = sr20 pin 3, c69, j3 pin 11 (comma)
pin 40 (ca1) = u14 pin 13
 
I actually buzzed those all out before. Well perhaps not ALL of them but certainly all that I thought might be affected by the acid damage. Found some bad ones that I've fixed already. And....found a few typos in the list I believe!
 
Back
Top Bottom