Offsets between ROM and RAM
Offsets between ROM and RAM
The first megabyte of the ROM is copied to the N64's RAM with an offset of -0xC00. This makes rom hacking simple, if the code lives in the first MB of the rom.
RAM = ROM - 0xC00
ROM = RAM + 0xC00
Hex Calculator: https://www.calculator.net/hex-calculator.html