What would be the best approach for porting MAME or SCUMMVM to .NET (XNA or Silverlight)?
I wonder what are the main problems with porting these emulator engines.
Could there be any success without having to rewrite the entire code? What conversion tools can help?
Some people have tried, but it seems that they gave up :
scummvmxna
Another route could be the approach taken by Cibyl .
There are people in XDA devs who wrap a DLL for C # .Net / XNA / Silverlight ... DllImport project: http://forum.xda-developers.com/showthread.php?t=1006331
As I understand it, this is for wrapping DLLs for use on Windows Phone 7 systems.
But I don't know if it can be used for ScummVM. You can't seem to do p / invoke. And as I understand ScummVM relies heavily on p / invoke. http://forums.scummvm.org/viewtopic.php?t=9350&sid=d324c805f27e3c62713f02db3763c021
NOTE. I didn't read about it at all ... I was just browsing looking for a possibility if ScummVM will ever be released for WP7 blocks and found this question and thought I should answer what I found out. I may have misunderstood some of the things I was reading. So just check it out for yourself if you are interested in trying to port or port the ScummVM libraries to C # .Net / XNA / Silverlight code.
God I'm tired ... I really have to sleep now ...