This was discussed in #706 It also uncovered some off-by-one issues with defining some constants. A few structs now use rsreset/_RS to define their offset constants, as discussed in #739
Use explicit ldh instruction to access HRAM locations, don't rely on optimizing ld