Jump to content

Atari 400 Controller Port Repair

From RetroTechCollection
Atari 400 controller jacks and side panel (Schnurrikowski)
Three views of an Atari 400, with the four controller jacks numbered 1 to 4 on the front. Photo: Schnurrikowski, CC BY-SA 4.0.

The four controller jacks of the Atari 400, J101 to J104, are 9-pin right-angle connectors soldered to the front edge of the motherboard.[1] Each jack carries four joystick direction lines, a trigger line and two paddle (pot) lines. The direction lines go through 150 Ω resistors to the PIA (A102), which also reads the paddle buttons; the pot lines go through 1.8 kΩ resistors to POKEY (A101); and the triggers go through 150 Ω resistors and the CPU board connector J110 to the CTIA or GTIA (A301) on the CPU board.[1][2] When a joystick or paddle that works on another machine fails on one port, Sams' service data gives the pins to check for each port and two BASIC test programs.[2]

Symptoms

[edit | edit source]
  • A joystick direction or the fire button does nothing on one port, or on all four.[2]
  • A paddle does not turn the player, or jumps, or its button does nothing.[2]
  • Bent or broken pins in a jack: Atari's visual inspection checks the controller jacks for them.[1]

Try a known-good controller first, and the suspect controller on another computer. Sams' preliminary check for joysticks or paddles that do not work at all is to substitute the PIA (A102).[2] Controller faults are covered in Atari CX40 Circuit Board and Handle Replacement and Atari CX30 Potentiometer Cleaning and Replacement.

Safety

[edit | edit source]

Pin 7 of each jack carries +5 V A and pin 8 is ground.[1] Do not short pin 7 to ground while probing. Unplug the adaptor before lifting the motherboard out.

Tools and parts

[edit | edit source]
  • A logic probe, an oscilloscope and a digital meter.[2]
  • A joystick and a pair of paddles known to work.
  • Optional: SALT II with Atari's hand controller jack test connector, for the port test.[1]
  • Parts as found: the PIA (Atari C014795, or C014812 as an alternative), POKEY (C012294) and the 9-pin right-angle solder connector used for J101 to J104 (C010448).[1]

The jacks

[edit | edit source]
Atari 400 controller jacks J101 to J104, PIA and POKEY pot lines (Field Service Manual figure 2-2A)
Atari's schematic of the 400 controller jacks: J101 to J104 at the left, the pot lines through R126 to R133 to POKEY (A101), the direction lines through R134 to R149 to the PIA (A102), and the trigger lines through R151 to R154 at the bottom
Atari 400 controller jack pins (Atari figure 2-2A)
Pin Signal Path on the motherboard
1 Forward (up) 150 Ω (R134 to R149) to the PIA, .001 µF to ground
2 Back (down) As pin 1
3 Left As pin 1
4 Right As pin 1
5 B pot 1.8 kΩ (R126 to R133) to POKEY, with .001 µF (C127 to C134) and .047 µF (C135 to C142) to ground
6 Trigger 150 Ω (R151 to R154), .001 µF (C159 to C162), to J110 and the CTIA or GTIA
7 +5 V A Bypassed by .001 µF at each jack
8 Ground –
9 A pot As pin 5

[1]

Sams gives the chip pin for each paddle and paddle button:[2]

Paddle lines by port (Sams CC5)
Port Paddle POKEY (A101) pin Button PIA (A102) pin
1 0 14 0 4
1 1 15 1 5
2 2 12 2 8
2 3 13 3 9
3 4 10 4 12
3 5 11 5 13
4 6 8 6 16
4 7 9 7 17

The paddle buttons share the left and right lines of their port, so the PIA pins in the table are also the left and right joystick lines. On the schematic the PIA's port A (pins 2 to 9) serves jacks 1 and 2 and port B (pins 10 to 17) jacks 3 and 4, four lines to each jack.[1][2]

Procedure

[edit | edit source]

Test each port in BASIC

[edit | edit source]

Fit the BASIC cartridge. Sams' joystick program prints the stick and trigger readings for all four ports (BASIC numbers them 0 to 3):[2]

10 PRINT ,"JOYSTICK","BUTTON"
20 FOR P=0 TO 3
30 PRINT "PORT";P,STICK(P),STRIG(P)
40 NEXT P
50 FOR T=1 TO 200:NEXT T
60 GOTO 10
  1. Plug the joystick into the port under test and run the program. The JOYSTICK reading should be 15 at rest and change to 14 for up, 13 for down, 11 for left and 7 for right. The BUTTON reading should change from 1 to 0 when the button is pressed.[2]
  2. For paddles, change line 20 to FOR P=0 TO 7 and line 30 to PRINT "PADDLE";P,PADDLE(P),PTRIG(P). Each PADDLE reading should run from 228 to 1 as the knob is turned from minimum to maximum, and each button reading should change from 1 to 0 when pressed.[2]
  3. Note which port and which line fails.

Open the machine

[edit | edit source]
  1. Remove the top cover, keyboard and power supply board as described in Atari 400 Power Supply Repair.[1]
  2. Disconnect and remove the speaker assembly and lift the module assembly out of the bottom cover.[1]
  3. Close and latch the cartridge door, set the module on its back, remove the eight screws from the bottom shield and lift it off. Lift the motherboard assembly out of the aluminium casting.[1]

A joystick direction dead

[edit | edit source]
  1. With the joystick in the failing port, put the logic probe on the PIA pin for that line and move the stick. The reading should go low.[2]
  2. If it does not, check the contacts of the jack and the 150 Ω resistor and .001 µF capacitor on that line; Sams also says to check the joystick's own switches.[2][1]
  3. If the PIA pin goes low but the program does not see it, check the PIA (A102) by substitution.[2]

Fire button dead

[edit | edit source]
  1. Put the logic probe on the trigger line. Sams' joystick check reads the CTIA or GTIA (A301) as well as the PIA; the line should go low when the button is pressed.[2]
  2. If it does not, check the jack's pin 6, its 150 Ω resistor (R151 to R154) and capacitor (C159 to C162), and the J110 contacts between the motherboard and the CPU board.[1][2]
  3. If the line goes low but STRIG does not change, check A301 by substitution.[2]

Paddle dead

[edit | edit source]
  1. Look up the paddle's POKEY pin in the table and put the scope on it. Sams' figures show the waveform changing from a sawtooth to a pulse as the paddle is turned; Sams' figure 2, the sawtooth, is marked 1.5 V and 5 ms.[2]
  2. If the waveform is missing, check the jack, the paddle's potentiometer, and POKEY (A101) by substitution.[2] On the schematic, check the 1.8 kΩ resistor and the .001 µF and .047 µF capacitors on that pot line.[1]
  3. For a dead paddle button, put the logic probe on its PIA pin and press the button: the reading should go from high to low. If it does not, check the button switch and the jack. If it does, check the PIA (A102) by substitution.[2]

Atari's port test legend, used with SALT II and the jack test connector, divides pot-line failures into a probable short to +5 V, an RC time constant that is too long, and one that is too short, for each pot line.[1]

Repair a jack

[edit | edit source]
  1. Inspect the jack for bent or broken pins.[1]
  2. Check continuity from each jack pin through its resistor to the chip pin, and from the capacitor on each line to ground. See Continuity Testing and Signal Tracing.
  3. Replace a damaged jack with the motherboard out of the casting; see Through-Hole Desoldering.

Reassemble

[edit | edit source]
  1. Set the aluminium casting upside down, invert the motherboard and lower it in, with the CPU board in its guides in the casting. Fit the bottom shield with its eight screws and put the module assembly in the bottom cover.[1]
  2. Plug in the speaker cable (it has no polarity) and refit the keyboard, the power supply board and the top cover as in Atari 400 Power Supply Repair.[1]

Testing

[edit | edit source]

Run the joystick and paddle programs above on all four ports.[2] With SALT II, run the port test (P and RETURN) with the hand controller and peripheral test connectors fitted; Atari's chart ends with a burn-in of at least eight hours.[1]

[edit | edit source]

References

[edit | edit source]
  1. ↑ 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 Atari, Inc., ATARI Home Computer Field Service Manual 400/800, May 1983 revision: 400 motherboard schematic (figure 2-2A, p. 2-4: J101-J104, R126-R154, C101-C104, C127-C162, A101, A102), 400 disassembly and assembly (pp. 4-1 to 4-6 and 4-15 to 4-16), visual inspection (p. 4-21), 400 port test (pp. 5-33 and 5-34) and port test legend (table 5-3, p. 5-40), 400 parts list (section 9: J101-104 C010448, A101 C012294, A102 C014795 or C014812). Scan on the Internet Archive. The June 1982 edition is hosted here as Atari 400 800 Field Service Manual June 82.
  2. ↑ 2.00 2.01 2.02 2.03 2.04 2.05 2.06 2.07 2.08 2.09 2.10 2.11 2.12 2.13 2.14 2.15 2.16 2.17 2.18 2.19 2.20 Howard W. Sams & Co., Computerfacts CC5, Atari Model 400, 1984: preliminary service checks (main board), and troubleshooting guide, p. 7, "Paddles" (with the port and pin chart, figures 2 and 3 and the paddle program) and "Joysticks" (with the joystick program). Scan on the Internet Archive.