$7E:006E: Difference between revisions

From ZAMN Hacking
Content added Content deleted
No edit summary
No edit summary
 
Line 1: Line 1:
{{Infobox RAM address|length=2|type=uint16|description=Player 1 controller input}}
{{Infobox RAM address|length=4|type=uint16[2]|name=playerInputs|description=Controller input for each player}}

{| class="wikitable"
|-
! Bit mask !! Description
|-
| 0x0010 || R
|-
| 0x0020 || L
|-
| 0x0040 || X
|-
| 0x0080 || A
|-
| 0x0100 || Right
|-
| 0x0200 || Left
|-
| 0x0400 || Down
|-
| 0x0800 || Up
|-
| 0x1000 || Start
|-
| 0x2000 || Select
|-
| 0x4000 || Y
|-
| 0x8000 || B
|}

Latest revision as of 01:50, 24 June 2024

RAM address data
Length 4
Type uint16[2]
Name playerInputs
Description Controller input for each player
Bit mask Description
0x0010 R
0x0020 L
0x0040 X
0x0080 A
0x0100 Right
0x0200 Left
0x0400 Down
0x0800 Up
0x1000 Start
0x2000 Select
0x4000 Y
0x8000 B