How can I connect a joystick?

Sprinter Computer http://sprinter.nedopc.org

Moderator: Shaos

-Micky
Novelist
Posts: 27
Joined: 08 Sep 2010 07:04
Location: Germany

How can I connect a joystick?

Post by -Micky »

How can I connect a joystick to the Sprinter 2000? The connector is X1. But what means JK0-JK4?

Normal is:

1 Forward
2 Back
3 Left
4 Right
5 NC
6 Button 1
7 +5V
8 GND
9 NC


Micky
User avatar
Shaos
Admin
Posts: 24008
Joined: 08 Jan 2003 23:22
Location: Silicon Valley

Post by Shaos »

JK0-JK4 are your 5 buttons - try connect each of this pins one by one to the ground when any kempston enabled game is active and you will see what is what :)
Я тут за главного - если что шлите мыло на me собака shaos точка net
User avatar
Shaos
Admin
Posts: 24008
Joined: 08 Jan 2003 23:22
Location: Silicon Valley

Post by Shaos »

Try these mapping:
JK0 - right
JK1 - left
JK2 - down
JK3 - up
JK4 - fire

P.S. I found scheme of converter from you 9-pin joystick to Kempston interface:
http://8bit.yarek.pl/hardware/zx.joystick/kjschem.gif
Я тут за главного - если что шлите мыло на me собака shaos точка net
-Micky
Novelist
Posts: 27
Joined: 08 Sep 2010 07:04
Location: Germany

Post by -Micky »

What kind of joysticks are supported by the Sprinter 2000? The joystick I use with my ZX 48K did not work.


Micky
User avatar
Shaos
Admin
Posts: 24008
Joined: 08 Jan 2003 23:22
Location: Silicon Valley

Post by Shaos »

-Micky wrote:What kind of joysticks are supported by the Sprinter 2000? The joystick I use with my ZX 48K did not work.
It's a "Kempston" Joystick - most popular in ex-USSR
Я тут за главного - если что шлите мыло на me собака shaos точка net
-Micky
Novelist
Posts: 27
Joined: 08 Sep 2010 07:04
Location: Germany

Post by -Micky »

Is a Competition-Pro joystick Kempston compatible or not?


Micky
User avatar
Shaos
Admin
Posts: 24008
Joined: 08 Jan 2003 23:22
Location: Silicon Valley

Post by Shaos »

See http://www.guildserver.co.uk/tempfiles/sjs-atari.jpg

It looks like what you described in your first post is "Atari" interface, so you need to have Atari joystick to work as a Kempston for this mapping

For old ZX joystick schematic is different
Я тут за главного - если что шлите мыло на me собака shaos точка net
-Micky
Novelist
Posts: 27
Joined: 08 Sep 2010 07:04
Location: Germany

Post by -Micky »

Competiton Pro works on Atari too. Then it is Kempston compatibel and should work.


Micky
-Micky
Novelist
Posts: 27
Joined: 08 Sep 2010 07:04
Location: Germany

Post by -Micky »

Shaos wrote:Try these mapping:
JK0 - right
JK1 - left
JK2 - down
JK3 - up
JK4 - fire
I know now why my joystick did not work:

J_VCC is Joystick GND


Micky
User avatar
Shaos
Admin
Posts: 24008
Joined: 08 Jan 2003 23:22
Location: Silicon Valley

Post by Shaos »

It's really strange...
Я тут за главного - если что шлите мыло на me собака shaos точка net
-Micky
Novelist
Posts: 27
Joined: 08 Sep 2010 07:04
Location: Germany

Post by -Micky »

Shaos wrote:It's really strange...
It is very unusual that VCC is on joystick GND.


Micky
User avatar
Shaos
Admin
Posts: 24008
Joined: 08 Jan 2003 23:22
Location: Silicon Valley

Post by Shaos »

check this schematics:
http://www.epanorama.net/documents/joys ... stick.html
it looks like atari's GND is actually "common" wire, but in case of Kemptson interface (at least in Sp2000 schematics) "common" is +5V, not GND, so this is the reason why Kempston +5V should be connected to atari's "GND" (all JK pulled down to real GND through 1K resistors)
Я тут за главного - если что шлите мыло на me собака shaos точка net