Hello everyone,
I'm writing here because I need some help.
Into the dynamic recompiler of my emulator I need to flush the instruction cache and write back the data cache.
Infact, I must do it every time I recompile a block, otherwise I can get wrong results.
I wrote a small code for it; it runs fine on GeePee32 but I don't know if it works on the real hardware.
I wanted to post it here with source, but I couldn't find how to do attachments: evidently, if there is this feature but I didn't see it, I'm too stupid...
I hope that somebody could test it, or give me some advices if I did it wrongly.
Thanks in advance.
Sincerely,
LDChen.
I'm writing here because I need some help.
Into the dynamic recompiler of my emulator I need to flush the instruction cache and write back the data cache.
Infact, I must do it every time I recompile a block, otherwise I can get wrong results.
I wrote a small code for it; it runs fine on GeePee32 but I don't know if it works on the real hardware.
I wanted to post it here with source, but I couldn't find how to do attachments: evidently, if there is this feature but I didn't see it, I'm too stupid...
I hope that somebody could test it, or give me some advices if I did it wrongly.
Thanks in advance.
Sincerely,
LDChen.