The change to the 2K memory page size ([r5223]) missed several assumptions made about MEMORY_PAGE_SIZE, particularly in the snapshot code.
This patch has the fixes I've identified from doing an audit of the code using the MEMORY_PAGE_SIZE macro. I've tested the IF2 support so far, Beta 128, Opus, +D and IF1 TODO (any help welcome).
New patch with fixed saving of IF1 with custom ROMs.
Beta 128, Opus and +D TODO
Last edit: Fredrick Meunier 2016-05-19
Now tested Beta 128 and +D with good results, Opus snaps with custom ROMs look bad though.
Opus TODO
This patch makes IF1 look better (we will just save 8K IF1 ROM images and only load the first 8K of a saved ROM as that is all we support anyway).
Opus still TODO
Last edit: Fredrick Meunier 2016-05-21
There is a bug when uncompressing the opus custom rom. I guess the function was copied from plusd, where ROM and RAM have the same size.
Thanks Sergio, that looks good now - I think we can commit the lot and will be OK to close this one.
Committed in [r5501], [r5502], [r5503] and [r5504].
Related
Commit: [r5501]
Commit: [r5502]
Commit: [r5503]
Commit: [r5504]