Talk:Super Mario World:RAM map

From Data Crystal
Revision as of 02:35, 6 June 2010 by Alchemic (talk | contribs) (moved Talk:Super Mario World: RAM Map to Talk:Super Mario World:RAM map over redirect: Match template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Errrr.. both variables read from the currently active controller, not a certain player. Fixing that and adding info on what value to AND the addresses with to check for pressed buttons... --64.5.15.69 19:18, 20 August 2006 (EDT)

PS: Confused by what I mean? AND is 65816 ASM for performing bitwise AND between the accumulator and either a specified value or another address. What's bitwise AND? Well, say you had two binary values, 00101001 and 01011101. Both are 8 bits or one byte. Performing AND checks each bit in the first set to see if it is ON or 1, and checks the relative buts in set 2 to see if they are ON. After all is done, you're left with 00001001, which, when translated to hexadecimal, results in 09.