Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

Mega Man 4/RAM map

From Data Crystal
Jump to navigation Jump to search

Joypad Memory

RAM

RAM Function Description
$14 Joypad 1 - Button Push Bits Bits possible values : [0 = Not Recently Pushed Down, 1 = Recently Pushed Down]
$15 Joypad 2 - Button Push Bits Bits possible values : [0 = Not Recently Pushed Down, 1 = Recently Pushed Down]
$16 Joypad 1 - Button Status Bits Bits possible values : [0 = Not Being Pressed Down, 1 = Being Pressed Down]
$17 Joypad 2 - Button Status Bits Bits possible values : [0 = Not Being Pressed Down, 1 = Being Pressed Down]


Bits signification of $14, $15, $16, $17

LSB to MSB

Bit Function Bit Function
0 Right 4 Start
1 Left 5 Select
2 Down 6 B
3 Up 7 A