(14-05-2016, 01:26 AM)blitzmaster5000 Wrote: Thanks for the details. Is there any way of finding out how that data is then read into the game? Does the memory pak get stored at certain addresses when loaded in?
Each game will be different, so you'll have to investigate in the ROM's assembly code to find out how it is used. If I had to take a guess, the game would copy it from the controller pak to RAM to use during game play. I've never worked with the controller pak, but you'll probably want to hunt down the
osPfsReadWriteFile() function and see who calls it. I don't really know what that function looks like, but it is something, or it calls something, that accesses PIF RAM at 0x1FC007C0. Depending on what you want to do, it might just be easier to look at the raw data itself to see how it changes based on changes you make to the save data.