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.

Talk:Super Mario World:RAM map

From Data Crystal
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.