The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Joystick Anselmo Lastra.

7
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Joystick Anselmo Lastra

Transcript of The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Joystick Anselmo Lastra.

Page 1: The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Joystick Anselmo Lastra.

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Joystick

Anselmo Lastra

Page 2: The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Joystick Anselmo Lastra.

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

2

Atari 2600 Joystick (have 2-3)

http://www.atariarchives.org

Page 3: The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Joystick Anselmo Lastra.

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

3

We Have Sega Joypads

• Enhanced version with more buttons

• Has mux• Select pin

chooses first or second set of buttons, L/R

http://pinouts.ru/data/genesiscontroller_pinout.shtml

Page 4: The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Joystick Anselmo Lastra.

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Six Button Use

• See♦ http://www.cs.cmu.edu/~chuck/infopg/segasix.t

xt

• Use select to use buttons B & C• To use X, Y, Z, need to pulse

select

4

Page 5: The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Joystick Anselmo Lastra.

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

NEXYS Mappings (PMOD JA)

Signal FPGA Pin DB-9 10-Pin

Up M15 1 4

Down L17 2 3

Left L16 3 8

Right K12 4 2

Btn A/B M14 6 9

Start/C L15 9 1

Select M16 7 10

Ground - 8 5

Power - 5 6

5

PMOD JA is 10-pin connector nearest VGA connector

Page 6: The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Joystick Anselmo Lastra.

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Suggestion

• Create FF for Select♦ Memory map so you can set from CPU

• Memory map the input signals♦ I would not latch them

Please power off when plugging or unplugging Sega joypads!

Careful when plugging in PCB

6

Page 7: The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Joystick Anselmo Lastra.

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

7

Links

• http://pinouts.ru/data/JoystickAtari2600_pinout.shtml• http://pinouts.ru/data/genesiscontroller_pinout.shtml• http://www.epanorama.net/documents/joystick/

ataristick.html• http://www.epanorama.net/documents/joystick/

tvgames.html

• http://www.cs.cmu.edu/~chuck/infopg/segasix.txt