3 ms·
I will preface this with - I have never done it. It looks like a decade long game of trail and error. I suppose you start at the basics, getting an interprete
by NovaDudely 3y ago
I will preface this with - I have never done it.
It looks like a decade long game of trail and error.
I suppose you start at the basics, getting an interpreter purely for CPU code. So PPC to x86 code. Then onto more complex stuff like floating point VMX to x87. Once you have basic code processing, every time a line of code comes up that cannot be interpreted, you figure out what it does and then build the appropriate interpreter. Do this again and again and you would gain some basic function.
Basically just try running game code and keep plodding away like this until it works. Like giant bug hunt for 100,000 bugs. Very Tedious but necessary work. As for optimizing for performance, that is just black magic.