rustation
rustation copied to clipboard
Potential to copy a recompiler from PCSX2's IOP.
PS2 IOP is PS1 CPU with GTE and MDEC. Right now pcsx2 devs are fixing IOP emulation in PCSX2 based on hardware tests and planning to add a recompiler. Perhaps you could copy that recompiler from PCSX2 to rustation in the future? Also check hardware tests.
https://github.com/PCSX2/pcsx2/commit/135cdfca469862d9495492a54964db0a6cd991fa
That's pretty cool. Thanks for the link. They want to dynarec the IOP?
They want to dynarec the IOP?
Yes not sure if it already works.
I'm working on a dynarec: https://github.com/pcercuei/lightrec It uses GNU Lightning as the low-level assembler, so it already runs on x86, x86_64, ARM, MIPS and probably others. I did plug it into PCSX to test it, and it boots the BIOS and most of my games. Would it be useful for you guys?
Hey @pcercuei, thanks for the heads up.
I think at the moment it wouldn't make a lot of sense to integrate a dynarec in rustation (I need to fix other things first). However https://github.com/libretro/beetle-psx-libretro would probably be interested (it's libretro's mednafen PSX fork). I think they already had somebody working on a dynarec but there hasn't been an update in a while now so maybe it's dead.