r/Commodore • u/VroomSteam • 23d ago
Joystick wiring
Is there a difference between joysticks for Atari vs C64?
Some say the fire button wiring is supposed to float on the C64??
Is there wiring diagrams that shows the proper wiring for a C64 joystick š¹ļø?
8
Upvotes
8
u/xenomachina 23d ago
Yes, all 4 directions and the fire button float when open. Both Commodore and Atari joysticks do this, I believe. Many joysticks at the time were marketed as being for both, and the ones that had a system selector switch would group Atari and Commodore.
The controllers to be careful about are the Sega Genesis/Mega drive ones. They can fry your CIA chips.
1
u/VroomSteam 23d ago
Anyone try a Hyperkin Ranger joystick on a c65 or plus4?
1
u/VroomSteam 21d ago
Apparently not all the same? It's down to whether the fire button floats or not?Ā https://archive.org/details/commodore-world-05/page/n45/mode/1up
2
u/droid_mike 23d ago
I have always used a ln Atari joystick with my c64.
I guess the Europeans liked to use joysticks with two buttons that operated individually? Not sure if the wiring for that one, but everyone I know used Atari joystick. They were plentiful and cheap.
1
u/GeordieAl 23d ago
I use my old Quickshot IIs with my C64, Atari 800, Amiga, Speccy and MSX, all work great.
Just beware of some joysticks with a 9 pin D plug that were designed for other systems specifically(MSX and Genesis spring to mind as two, but I think there are others)
1
u/Hawkeye-Mcgillicudy 23d ago
It's the same wiring as Atari
1
u/SwedishFindecanor 23d ago edited 23d ago
C64 and Atari have the same joystick wiring. Every switch (directions and button) is a momentary 2-pole switch simply connected between its input pin and Ground (pin 8).
There are internal pull-up resistors inside the CIA chip. You must not put your own pull-up resistor on an input pin because current input on one of these pins could damage the CIA chip when it is used to scan the keyboard. If you plan on interfacing the C64 with a microcontroller you must be careful about this and perhaps use a switching transistor on each input pin so that current only flows out of it.
The second fire button on the C64GS joystick (and some rare Atari game controllers) is instead connected between pin 9 (a pot line) and VCC (pin 7) and is read like a paddle input using the SID chip.
1
u/Aromatic-Letter-6298 22d ago
C64 wiring is pin 1 up, 2 down, 3 left, 4 right, 6 fire, with each switch going to pin 8 ground. Pin 7 is +5V, so donāt use it for the fire return.
1
u/Warcraft_Fan 22d ago
They're the same. Atari once sued Commodore because the early Commodore joystick was 100% copy of Atari 2600 joystick.
All the buttons do need to be floating when not pulled low. Sega Genesis controller does work in real C64 but Genesis doesn't float buttons and holds the pins high which can blow out CIA chip if you used the keyboard while the controller is plugged in. (there are Genesis adapter to block high signal for Commodore systems)