Atari 520ST Mouse and Joystick Port Repair

On the Atari 520ST the two nine-pin ports on the right-hand side, mouse/joystick 0 (J11) and joystick 1 (J10), are mounted on the main board, but the computer does not read them directly. Each line passes through a ferrite bead to the keyboard connector J12 and on to the keyboard, where the keyboard processor reads them through a 74LS244 buffer and reports movement and buttons to the computer over the same serial link as the keys.[1][2] The 260ST, 520ST+ and 520STM share the short-case board.[3]
So a dead port can be the mouse or joystick, the port and its beads on the main board, the J12 connection, the buffer IC2 or the keyboard processor IC1. If the keys do not work either, start with Atari 520ST Keyboard Repair.
Symptoms
[edit | edit source]- The mouse pointer does not move in one or both directions, or a joystick direction does nothing.[2]
- A button does nothing.[2]
- Diagnostic cartridge errors J0 (port 0), J1 (port 1), J3 (left button) or J4 (right button).[4]
Not a fault: Atari Benelux found that most STs could start badly with a joystick plugged into port 1 at switch-on, showing wrong or random characters or not starting at all. Replacing the keyboard processor did not help, and Atari linked it to mains and electromagnetic interference.[5] Plug the joystick in after the machine has started. A mouse that moves in jerks usually needs its ball rollers cleaning as well as its ball.[6]
Tools and parts
[edit | edit source]- A known-good mouse and joystick.
- An oscilloscope or logic probe, and a multimeter for continuity.[2]
- Parts from SAMS's parts list: SN74LS244N (keyboard IC2), HD6301V1 (keyboard IC1).[2]
| Port pin | Mouse/joystick 0 (J11) | Bead | J12 pin | Joystick 1 (J10) | Bead | J12 pin |
|---|---|---|---|---|---|---|
| 1 | XB / up | L14 | 12 | Up | L7 | 7 |
| 2 | XA / down | L12 | 10 | Down | L5 | 5 |
| 3 | YA / left | L8 | 9 | Left | L16 | 4 |
| 4 | YB / right | L9 | 8 | Right | L15 | 3 |
| 6 | Left button / fire | L13 | 11 | Fire | L10 | 6 |
| 9 | Right button (to J12 pin 6) | – | 6 | – | – | – |
| 7 | +5 V | – | – | +5 V | – | – |
| 8 | Ground | – | – | Ground | – | – |
Sources: the schematic,[1] with Atari's continuity pairs for J0 and J1.[4] The right mouse button and joystick 1's fire button share J12 pin 6.[1]
Procedure
[edit | edit source]Open the machine
[edit | edit source]Atari's sequence for the short case:[4]
- Unplug the supply. Turn the computer over and remove the six screws from the bottom case.
- Turn it upright and lift off the top case, leaving the keyboard connected.
A direction does not work
[edit | edit source]SAMS's sequence for port 0; port 1 is the same with the pins in brackets:[2]
- Move the mouse or joystick and check for pulses at J12 pin 14, the keyboard's data line to the computer. If they are there but the pointer does not move, the fault is in the keyboard link; see Atari 520ST Keyboard Repair.
- If there are no pulses at J12 pin 14, check for pulses at the inputs of IC2 on the keyboard board: pins 2, 4, 6 and 8 (port 1: 11, 13, 15 and 17).
- If they are missing at IC2's inputs, check the port, J12 and the ferrite beads on the main board: L8, L9, L12 and L14 (port 1: L5, L6, L7, L15 and L16).
- If they are present at the inputs, check IC2's outputs: pins 18, 16, 14 and 12 (port 1: 9, 7, 5 and 3). Pulses at the inputs but not the outputs point at IC2; pulses at the outputs point at the keyboard processor IC1.
- Check continuity as Atari directs for errors J0 and J1: J11 pins 1, 2, 3 and 4 to J12 pins 12, 10, 9 and 8; J10 pins 1, 2, 3 and 4 to J12 pins 7, 5, 4 and 3.[4]
A button does not work
[edit | edit source]- Left mouse button or joystick 0 fire: press it and check for a logic low at pin 9 of IC1 on the keyboard board. If it is not low, check J11, J12 and the bead L13; if it is, check IC1.[2]
- Right mouse button or joystick 1 fire: check for a low at pin 10 of IC1. If it is not low, check the port, J12 and L10; if it is, check IC1.[2]
- For error J4 Atari checks continuity from J10 pin 6 to J12 pin 6. For error J3 its manual gives J10 pin 6 to J12 pin 11, but on the schematic the left button reaches J12 pin 11 from J11 pin 6, so check that path.[4][1]
Repair and reassemble
[edit | edit source]- Replace the part the checks point to: a broken bead or joint on the main board, IC2, or IC1.[2]
- Refit the top case and its six screws, the longer ones at the rear.[4]
Testing
[edit | edit source]- Move a mouse in all four directions and press both buttons; then a joystick in each port.
- Run the diagnostic cartridge's joystick tests J0–J4 with Atari's port test fixture.[4]
Related pages
[edit | edit source]- Atari 520ST, Atari 260ST, Atari 520ST+ and Atari 520STM
- Atari 520ST Keyboard Repair
- Atari ST Troubleshooting Guide
- Atari 520ST Schematic (C070231)
References
[edit | edit source]- ↑ 1.0 1.1 1.2 1.3 Atari (Japan) Corporation, Schematic Diagram (520ST/260ST), drawing C070231, revision M (April 1986), sheet 1: J10, J11, the ferrite beads L5–L16 and the keyboard connector J12 with its pin functions. Hosted here: File:Atari 520ST Schematic C070231.pdf.
- ↑ 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 SAMS Computerfacts CSCS12: Atari Model 520ST, Howard W. Sams & Co., June 1986, ISBN 0-672-08974-2. Troubleshooting, "Mouse/Joystick 0 port" (printed p. 28, PDF p. 30) and "Joystick 1 port" (p. 29, PDF p. 31); keyboard parts IC1 HD6301V1 and IC2 SN74LS244N (p. 22, PDF p. 24). Internet Archive.
- ↑ "Atari 520ST, 260ST, 520ST+, 520STM, 130ST und ST Junior", atari-computermuseum.de (in German), revised 26 June 2024: the short-case models and their common main board, C070243.
- ↑ 4.0 4.1 4.2 4.3 4.4 4.5 4.6 Atari Corporation, 520ST/1040ST Computer Field Service Manual, C026118-002 Rev B (3.6), January 1987. Printer and joystick error codes, J0–J4, with the continuity checks (printed p. 3.15, PDF p. 41); 520ST disassembly (pp. 4.3–4.4, PDF pp. 48–49). Hosted here: File:Atari 520ST and 1040ST Computer Field Service Manual.pdf.
- ↑ Atari (Benelux) B.V., Information Technique No. 11, joystick start-up problems. Hosted here: File:Atari Benelux technical bulletin 011 - joystick start-up problems.pdf.
- ↑ Atari (Benelux) B.V., Information Technique No. 22, "Mauvais fonctionnement de la souris": jerky mouse movement from dust on the rollers that guide the ball, which must be cleaned as well as the ball. Internet Archive.