views:

271

answers:

3

I'm thinking about attempting a port of an existing emulator code base to Silverlight 3. There appears to be enough functionality with WritableBitmap and the new sound classes to make a port feasible. Is anyone familiar with an emulator that's open source and might not be too hard to port? I'd really like to focus on moving the media aspects of the source to SL more than the complexities of porting some awkward ASM code to C#. I guess if I could find some source that's already in C# it might be ideal.

+5  A: 

Start with a good 'ol NES emulator...

SharpNES is C#/Mono so while it might not be directly port-able, it should be a good start.

vNES is a Java NES emulator intended to be run in an applet. It's source is freely available under GPL. Not C#, but might be worth looking at for ideas.

Justin Niessner
SharpNES turned out to be quick enough to port most of the code on my lunch break. Should be able to easily replace the 1 blitting function with some WriteableBitmap calls. Thanks!!
James Cadd
+3  A: 

I'm looking for interested folks to bring http://silverlightc64.codeplex.com up to full functionality. It's a C64 emulator. I just want to make sure that whoever contributes can make a real contribution :)

I use MediaStreamSource to output 50fps of video instead of using the writablebitmap. The advantage is if the client machine can't keep up, MSS will handle dropping frames.

Pete

Pete
Hey Pete, thanks for the link! Maybe I'll see if I've got the chops to do something useful for the C64 project.
James Cadd
A: 

I just found this C# gameboy emu:

http://sourceforge.net/scm/?type=cvs&group_id=95094

James Cadd