Hi guys,
ARM platforms will porbably always be slow with DosBox so I was wondering if this approach would be viable for popular specific games that wouldn't cut it on a GP2X or Pandora:
IIRC the dynamic recompiler has a cache of generated native code blocks.
1) we would need to instrument it to identity with pages of this cache are hit the most by CS:IP, i.e. find some bottlenecks
2) dump these n most executed cache pages
3) hand optimize these routines for the target platform
4) reinject the result in the binary to populate the cache up-front
Is it practical or is it too naive? (Total lack of elegance set aside, of course 😀 )
Cheers,
Tramb