Master System Joystick

From HwB

(Difference between revisions)
 
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
Available at the Sega [[Master System]] console.
+
Available at the Sega [[Master System]], [[SG-1000]] & [[SG-1000 Mark III]] console.
  
 
== Pinout ==
 
== Pinout ==
Line 24: Line 24:
 
| 5  || {{arrowr}} || +5VDC
 
| 5  || {{arrowr}} || +5VDC
 
|-
 
|-
| 6  || {{arrowl}} || Button (Left)
+
| 6  || {{arrowl}} || TL
 
|-
 
|-
| 7  || {{arrowl}} || Button (?)
+
| 7  || {{arrowr}} || TH
 
|-
 
|-
 
| 8  || {{arrow}}  || Ground
 
| 8  || {{arrow}}  || Ground
 
|-
 
|-
| 9  || {{arrowl}} || Button (Right)
+
| 9  || {{arrowl}} || TR
 
|}
 
|}
  
 
''Note: Direction is Computer relative Joystick.''
 
''Note: Direction is Computer relative Joystick.''
 +
 +
=== Gamepad ===
 +
 +
Signals are multiplexed. Select with TH.
 +
 +
{| {{border}}
 +
! Pin !! TH=L    !! TH=H
 +
|-
 +
| 1  || colspan="2" | Up
 +
|-
 +
| 2  || colspan="2" | Down
 +
|-
 +
| 3  || 0        || Left
 +
|-
 +
| 4  || 0        || Right
 +
|-
 +
| 6  || Start    || Button C
 +
|-
 +
| 9  || Button A || Button B
 +
|}
 +
 +
=== 6-button Gamepad ===
 +
 +
A 6-button gamepad allows the extra buttons to be read based on how many times TH is switched from 1 to 0 (and not 0 to 1). Observe the following sequence (left to right):
 +
 +
{| {{border}}
 +
! Pin !! TH=H    !! TH=L    !! TH=H    !! TH=L    !! TH=H    !! TH=L
 +
|-
 +
| 1  || colspan="3" | Up                || 0        || Button Z || 1
 +
|-
 +
| 2  || colspan="3" | Down              || 0        || Button Y || 1
 +
|-
 +
| 3  || Left    || 0        || Left    || 0        || Button X || 1
 +
|-
 +
| 4  || Right    || 0        || Left    || 0        || Mode    || 1       
 +
|-
 +
| 6  || Button C || Start    || Button C || Start    || Button C || Start 
 +
|-
 +
| 9  || Button B || Button A || Button B || Button A || Button B || Button B
 +
|}
 +
 +
From this point on, the standard 3-button pad values will be returned if any further TH transitions are done.
  
 
== Contributions ==
 
== Contributions ==
Line 40: Line 82:
 
== Sources ==
 
== Sources ==
 
* [http://www.smspower.org/dev/docs/wiki/?n=Pinouts.ControllerPort SMS Power: Master System controller]
 
* [http://www.smspower.org/dev/docs/wiki/?n=Pinouts.ControllerPort SMS Power: Master System controller]
 +
* [http://cgfm2.emuviews.com/txt/gen-hw.txt Sega Genesis hardware notes v0.8] by Charles MacDonald
  
 
[[Category:Connector]]
 
[[Category:Connector]]
 
[[Category:Joystick]]
 
[[Category:Joystick]]
 
[[Category:Obsolete]]
 
[[Category:Obsolete]]

Latest revision as of 23:38, 3 January 2007

Available at the Sega Master System, SG-1000 & SG-1000 Mark III console.

Contents

Pinout

Dsub9m.png

9 PIN D-SUB MALE at the Console.

Dsub9f.png

9 PIN D-SUB FEMALE at the joystick cable.

Pin Dir Description
1 Arrowl.png Up
2 Arrowl.png Down
3 Arrowl.png Left
4 Arrowl.png Right
5 Arrowr.png +5VDC
6 Arrowl.png TL
7 Arrowr.png TH
8 Arrow.png Ground
9 Arrowl.png TR

Note: Direction is Computer relative Joystick.

Gamepad

Signals are multiplexed. Select with TH.

Pin TH=L TH=H
1 Up
2 Down
3 0 Left
4 0 Right
6 Start Button C
9 Button A Button B

6-button Gamepad

A 6-button gamepad allows the extra buttons to be read based on how many times TH is switched from 1 to 0 (and not 0 to 1). Observe the following sequence (left to right):

Pin TH=H TH=L TH=H TH=L TH=H TH=L
1 Up 0 Button Z 1
2 Down 0 Button Y 1
3 Left 0 Left 0 Button X 1
4 Right 0 Left 0 Mode 1
6 Button C Start Button C Start Button C Start
9 Button B Button A Button B Button A Button B Button B

From this point on, the standard 3-button pad values will be returned if any further TH transitions are done.

Contributions

Sources