Hello everyone,
after a suggestion, I rewrote here my help request.
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 too.
I hope that somebody could test it, or give me some advices if I did it wrongly.
Thanks in advance.
Sincerely,
LDChen.
after a suggestion, I rewrote here my help request.
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 too.
I hope that somebody could test it, or give me some advices if I did it wrongly.
Thanks in advance.
Sincerely,
LDChen.