libretro / gpsp

gpSP for libretro.
GNU General Public License v2.0
55 stars 53 forks source link

Rewrite the MIPS stub backend to add OpenDingux #110

Closed davidgfnet closed 3 years ago

davidgfnet commented 3 years ago

Well essentially support for any MIPS platform based on MIPS32r2 (building it as a shared object but also as static). This removes most of the stubs and moves them to a dynamically generated stub arena. Runtime optimizations are now possible, like for example detecting CPU type or skipping handlers that are not needed. This is still a WIP. Simplified some handlers that are almost never used (like open mem and protected BIOS access). Docs to follow this PR in a doc/ directory. Support for other MIPS CPUs (like PS2) is also easier now. Tested on most platforms.