M-HT
Very Active Member
I actually first wrote the backend using arm instructions, but I didn't get it 100% working and together with already mentioned reasons I decided to write the backend using thumb instructions. But if someone wants to take a look at it, be my guest.Pickle said:If we switch to normal ARM could it be more stable than using the thumb version?
Source here
Exophase said:I think the incentive here should be to overhaul DOSBox's recompiler structure, since it's quite limiting (I know what you mean, I've looked through it). This could benefit the PSP version too if suitably adapted for, but if it was anything more complex than it is I'm not sure we would have seen a PSP recompiler in the first place.
Writing a new (or improving the existing) DOSBox recompiler would bring more effective recompiled code, but since I can't get even the simple backend to work, it would have to be done by someone else. Somebody volunteering?Exophase said:And sorry, but I'm not overhauling anything. I don't actually work on other people's emulators, so I can't really do much (can only start a few myself >_>)
I spent a long time writing the recompiler and than I spent at least as much time to find and fix all bugs.Exophase said:Could you describe at all what the process of static recompilation was like for you, what you recompiled and how well it worked, how much you had to manually change, etc..
You can check for yourself how well it worked here: Albion in GP2x archive
The recompiler is not 100% automatic, so it needs some manual input. It doesn't recompile all x86 instructions - only those that are needed for Albion (no segment registers, flat memory access, ...).
Last edited by a moderator: