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.
The wiki has recently moved; please report any issues in Discord. Pardon the dust.
Super Mario World (SNES)/RAM map: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
7E0015 to 7E0018: Controller Data in RAM | 7E0015 to 7E0018: Controller Data in RAM | ||
*7E0015: "Currently Pressed" data, | *7E0015: "Currently Pressed" data, set 1 | ||
*7E0016: "Just Pressed this Frame" data, | *7E0016: "Just Pressed this Frame" data, set 1 | ||
*7E0017: "Currently Pressed" data, | *7E0017: "Currently Pressed" data, set 2 | ||
*7E0018: "Just Pressed this Frame" data, | *7E0018: "Just Pressed this Frame" data, set 2 | ||
**AND with the below values to check for a specific button or set of buttons: | |||
**Right: 01 for set 1, n/a for set 2 | |||
**Left: 02 for set 1, n/a for set 2 | |||
**Down: 04 for set 1, n/a for set 2 | |||
**Up: 08 for set 1, n/a for set 2 | |||
**Start: 10 for set 1, n/a for set 2 | |||
**R: n/a for set 1, 10 for set 2 | |||
**Select: 20 for set 1, n/a for set 2 | |||
**L: n/a for set 1, 20 for set 2 | |||
**X: 40 for set 1 and 2 | |||
**Y: 40 for set 1, n/a for set 2 | |||
**A: 80 for set 1 and 2 | |||
**B: 80 for set 1, n/a for set 2 | |||
==Related Articles== | ==Related Articles== |
Revision as of 23:26, 20 August 2006
7E0015 to 7E0018: Controller Data in RAM
- 7E0015: "Currently Pressed" data, set 1
- 7E0016: "Just Pressed this Frame" data, set 1
- 7E0017: "Currently Pressed" data, set 2
- 7E0018: "Just Pressed this Frame" data, set 2
- AND with the below values to check for a specific button or set of buttons:
- Right: 01 for set 1, n/a for set 2
- Left: 02 for set 1, n/a for set 2
- Down: 04 for set 1, n/a for set 2
- Up: 08 for set 1, n/a for set 2
- Start: 10 for set 1, n/a for set 2
- R: n/a for set 1, 10 for set 2
- Select: 20 for set 1, n/a for set 2
- L: n/a for set 1, 20 for set 2
- X: 40 for set 1 and 2
- Y: 40 for set 1, n/a for set 2
- A: 80 for set 1 and 2
- B: 80 for set 1, n/a for set 2
Related Articles
Links
This page is rather stubbly and could use some expansion. Are you a bad enough dude to rescue this article? |