Atari 130XE Controller Port Repair

The two controller ports of the Atari 130XE are 9-pin D connectors on the right-hand side of the case; Sams' board drawing marks J6 as port 1 and J5 as port 2.[1] On Atari's schematic the four joystick directions of each port come from port A of the PIA (U23) through 220 Ω resistors and 10 µH filter inductors, the paddle (pot) lines go to POKEY (U22) through 1.8 kΩ resistors, and the two fire buttons go to the GTIA (U17).[2] Sams' service data gives a BASIC test program for each kind of controller and the chip pin that each function uses, so a dead direction or button can be followed from the port to the chip.[1]
Symptoms
[edit | edit source]- A joystick direction does not work in one port.[1]
- A joystick fire button does not work.[1]
- A paddle does not turn the reading, or its button does not work.[1]
Try a known-good controller in the port before opening the computer.
Safety
[edit | edit source]Pins 7 and 8 of each port carry +5 V and ground from the board.[2] Do not short them while probing a powered port.
Tools and parts
[edit | edit source]- A logic probe, an oscilloscope and a meter.[1]
- A known-good joystick and, for the pot lines, a paddle controller.
- Replacement parts as found: 220 Ω resistors (R120 to R127), 1.8 kΩ resistors (R76 to R79), 9-pin D connectors for J5 and J6 (Atari C019062).[2]
Procedure
[edit | edit source]Test with a joystick
[edit | edit source]Plug a joystick into the port under test and run Sams' program.[1]
10 PRINT ,"JOYSTICK","BUTTON" 20 FOR P=0 TO 1 30 PRINT "PORT";P+1,STICK(P),STRIG(P) 40 NEXT P 50 FOR T=1 TO 200:NEXT T 60 GOTO 10
The number under BUTTON should change from 1 to 0 while the button is pressed. The number under JOYSTICK reads 15 at rest and should change to 14 for up, 13 for down, 11 for left and 7 for right.[1]
Follow a dead joystick function
[edit | edit source]
- Find the chip pin for the dead function in the table below and put the logic probe on it. The reading should go from high to low when the function is used.[1]
- If the reading is correct, the fault is in the chip: check the GTIA (U17) for a button, or the PIA (U23) for a direction.[1]
- If the reading is not correct, check the parts connected to that pin and the connections at J5 or J6.[1] On Atari's schematic each direction line runs from the PIA through a 220 Ω resistor (R120 to R127) and a 10 µH inductor to the port, with a 0.001 µF capacitor to ground.[2]
| Function | Port 1 | Port 2 | Port pin |
|---|---|---|---|
| Up | U23 pin 2 | U23 pin 6 | 1 |
| Down | U23 pin 3 | U23 pin 7 | 2 |
| Left | U23 pin 4 | U23 pin 8 | 3 |
| Right | U23 pin 5 | U23 pin 9 | 4 |
| Button | U17 pin 8 | U17 pin 9 | 6 |
Test with paddles
[edit | edit source]
Run Sams' paddle program.[1]
10 PRINT ,"PADDLE","BUTTON" 20 FOR P=0 TO 3 30 PRINT "PADDLE";P,PADDLE(P),PTRIG(P) 40 NEXT P 50 FOR T=1 TO 200:NEXT T 60 PRINT:GOTO 10
The number under PADDLE should vary from 228 to 1 as the paddle is turned from minimum to maximum, and the number under BUTTON should change from 1 to 0 when the button is pressed.[1]
| Port | Paddle | POKEY (U22) pin | Button | PIA (U23) pin |
|---|---|---|---|---|
| 1 | 0 | 14 | 0 | 4 |
| 1 | 1 | 15 | 1 | 5 |
| 2 | 2 | 12 | 2 | 8 |
| 2 | 3 | 13 | 3 | 9 |
Follow a dead paddle function
[edit | edit source]- For a paddle that does not change, look at its POKEY pin with the oscilloscope while turning the paddle. The waveform should change from a sawtooth (Sams' figure 2) to a pulse (figure 3) across the travel.[1]
- If the waveform is missing, check the port connector and the paddle, then try another POKEY.[1]
- For a paddle button that does not work, put the logic probe on its PIA pin. It should go from high to low when the button is pressed. If it does not, check the button switch and the port connector; if it does, try another PIA (U23).[1]
Repair
[edit | edit source]- Open the machine: remove the four screws from the bottom of the case, lift the top and disconnect the keyboard cable, then remove the seven board screws and lift out the board and shield.[1]
- Resolder cracked joints at J5 and J6, and replace an open resistor or inductor in the failing line.
- Refit the shield, the board and the top.[3]
Testing
[edit | edit source]Run both programs again and work each direction, button and paddle in each port.[1] If the production test cartridge and its player-port loop-back plugs are available, the ports test should report PASS; error 37 points at the lines from the PIA to the connectors, 38 at the pot lines and POKEY, and 39 at the trigger lines and GTIA.[2]
Related pages
[edit | edit source]- Atari 130XE
- Atari 130XE Troubleshooting Guide
- Atari 130XE SIO Port Repair
- Atari 800XL Controller Port Repair
- Sams Computerfacts Atari 130XE
- Atari 130XE Parts List and Production Test Instructions
References
[edit | edit source]- ↑ 1.00 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 Howard W. Sams & Co., Sams Computerfacts CC16, Atari Model 130XE: troubleshooting, "Paddles" with the test program, pin chart and figures 2 and 3 (PDF page 10) and "Joystick Port" with the test program, STICK values and pin chart (PDF page 11); preliminary service checks ("Joysticks", "Paddles") and interconnecting diagram (J6 port 1, J5 port 2) and disassembly instructions (PDF pages 19 to 21). Hosted here as Sams Computerfacts Atari 130XE.
- ↑ 2.0 2.1 2.2 2.3 2.4 2.5 Atari Corp., 130XE Reference Manual (cover dated March 1990): parts list of 25 June 1985 (R120-127 220 Ω; J5, J6 9-pin D-sub C019062); production test diagnostic error codes 37 to 39; schematic diagram C070065 Rev. B (PIA port A to J5 and J6 through 220 Ω resistors and 10 µH inductors; POKEY pot lines P0-P3 through R76-R79 1.8 kΩ; triggers; +5 V and ground on pins 7 and 8). Hosted here as Atari 130XE Parts List and Production Test Instructions.
- ↑ 130XE Personal Computer Field Service Manual, reproduction by JER/Eightbitter, November 2016, section 4, console assembly. Not an Atari publication. Hosted here as Atari 130XE Field Service Manual.