Master System Joystick
From HwB
(Difference between revisions)
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}} || | + | | 6 || {{arrowl}} || TL |
|- | |- | ||
− | | 7 || {{ | + | | 7 || {{arrowr}} || TH |
|- | |- | ||
| 8 || {{arrow}} || Ground | | 8 || {{arrow}} || Ground | ||
|- | |- | ||
− | | 9 || {{arrowl}} || | + | | 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 || Start || Button C || Start || Button C || Start || Button C | ||
+ | |- | ||
+ | | 9 || Button A || Button B || Button A || Button B || Button A || 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]] |
Revision as of 23:36, 3 January 2007
Available at the Sega Master System, SG-1000 & SG-1000 Mark III console.
Contents |
Pinout
9 PIN D-SUB MALE at the Console.
9 PIN D-SUB FEMALE at the joystick cable.
Pin | Dir | Description |
---|---|---|
1 | ![]() |
Up |
2 | ![]() |
Down |
3 | ![]() |
Left |
4 | ![]() |
Right |
5 | ![]() |
+5VDC |
6 | ![]() |
TL |
7 | ![]() |
TH |
8 | ![]() |
Ground |
9 | ![]() |
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 | Start | Button C | Start | Button C | Start | Button C |
9 | Button A | Button B | Button A | Button B | Button A | Button B |
From this point on, the standard 3-button pad values will be returned if any further TH transitions are done.
Contributions
Sources
- SMS Power: Master System controller
- Sega Genesis hardware notes v0.8 by Charles MacDonald