Difference between revisions of "Super Mario World:RAM map"

From Data Crystal
Jump to: navigation, search
Line 1: Line 1:
 
7E0015 to 7E0018: Controller Data in RAM
 
7E0015 to 7E0018: Controller Data in RAM
*7E0015: "Currently Pressed" data, player 1
+
*7E0015: "Currently Pressed" data, set 1
*7E0016: "Just Pressed this Frame" data, player 1
+
*7E0016: "Just Pressed this Frame" data, set 1
*7E0017: "Currently Pressed" data, player 2
+
*7E0017: "Currently Pressed" data, set 2
*7E0018: "Just Pressed this Frame" data, player 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==
 
==Related Articles==

Revision as of 18: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