That’s a great idea and it would be awesome to have a utility like that to help.NSFW wrote:When I was doing Subaru stuff, I wrote a little utility that dumped the entire RAM to a file... Drove around for an hour or so, dumped RAM periodically, and eventually found a big unused space near the end.
It's not 100% deterministic, because it's hard to say whether some random undiscovered error handling routine will store a bunch of diagnostic data up there if something goes wrong, but it worked.
Anyway, I'll write something like that for the P01 / P59. Hopefully it will help us find some space that we can use.
Anyone know what the start and end addresses should be?
I was thinking about ways to do it with pcm logger but it probably would have taken me days or weeks to get something to work.
Yeah I can try to find the mode 34 code. I think there is unused space in the higher ram area that is shared ram with other chips, but I don’t want to mess anything up by using it unless there is no other way.NSFW wrote:Mode 34 supports 0xFF8000 - 0xFFC000. If that's also the memory range of the RAM chip, I should be able to dump the entire contents pretty quickly.
If the RAM chip covers more than 32k, then it might be worth finding the code that limits the mode 34 range, and then adjust the upper and lower bounds to allow mode 34 requests to cover the whole thing.