Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
IWRAM Open Bus LSW/MSW wrong way around? #1575
Based on the description on GBATEK, it appears to me, that the MSW and LSW for IWRAM actually should be the other way around.
It is also interesting to note, that with Thumb code in IWRAM it is possible that data reads/writes influence observed open bus values, as each instruction prefetch only trashes a HWORD of the latch. The test ROM demonstrates this. Although I'd guess (or hope?) that no game actually relies on this :p
The test ROM (the code is also in the repo, but currently very messy):