What's a good emulator to port to Silverlight 3? - c#

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.

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.

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

I just found this C# gameboy emu:
http://sourceforge.net/scm/?type=cvs&group_id=95094

Related

Exclusive App on Android with monodroid

I'm new in Android programation and Monodroid.
I would like to know if is possible and how to make one application that exlusively run in full screen and enable to use the device only across itself.
Best regards
Piercarlo
for the full screen mode see this
For the device only, i really have no clue what you mean.
Edit: you should really try to search a bit before posting question, it was really easy to find.

.net 3.5 windows form application, using webcam

Having searched high and low for native c# hook to webcam, I found 5 basic ways to interact with the camera.
Video for Windows (VFW)
DirectX
avicap32.dll
WIA
3rd party tools
My requirement is to take a photo. The application will be used on some legacy windows XP and Vista machines, but going forward Windows 7 and greater will be required. So what might the best approach be with the broad install base? Just reading WIA looked like the way to go but looks like some changes were made so it works a little different now (I don't know for sure). I understand that some people have done combos.
Might need to crop photo, but that is really about it.
For school visitor monitoring.
I think the best thing is to use the WIA. I know a third party toolkit that could help you doing your requirements which is leadtools. You can check this Tutorial
I would always try to pick up something already on the web and tweak it to my own needs... some open source project or an example where the mainly portion of my app is already made.
on Codeplex you can find a nice library to work with webcams and it's simply called
WebCam Library for WinForm and WPF with C# and VB.NET
Give that a try, maybe you can even help the project, by contributing your own findings, and everyone is a winner... isn't Open Source a great idea?!

GBA emulator wp7 in C#

I want to do a GameBoy Advance emulator for WP7 but I'm not sure where to start. Anyone can point me in the right direction? I know there is one for GB, maybe starting there would be a good idea. Any libraries or resources?
You can download the source for VisualBoyAdvance here: http://sourceforge.net/projects/vba/files/VisualBoyAdvance/1.7.2/
It's one of the most well known and reliable GBA emulators and it's written in C++, so it shouldn't be too hard to port over.

Windows Form or WPF, to code or not code

I am planning to develop a UI control suite (open source) on .net because there is hardly such things as free or open source out in the market. But I am not really able to decide the following factors before going into design phase:
Should I write it for Winforms only?
Should I write it for WPF only?
Or, should I write it for both?
Which one would be more effort effective in the long run and help the community better? Can you guys please help me to sort this things out?
'Writing it for both' is basically 'write it twice', as I can't imagine much would be shared.
I think if I was suddenly filled with the idea that the world needed yet more 3rd party controls, I would write them for WPF/Silverlight/WP7.
WPF, but it's just my opinion.
Windows OSs that are supported (XP, Vista, 7) all support it, and WPF is the future. I don't see Winforms' death in the proximity, but we should support things that are right now actively supported.
It's like developing for IE6 instead of Firefox/Safari/Chrome/Opera. Most of us don't see IE6 dying, but we have to move forward.

C#: How to prevent a laptop from going into Stand-By

How can I do this in a C# program? I'm pretty sure it should be possible, since various media programs for example do this so the computer doesn't go into stand-by while watching a movie, etc.
So, if I for example create a plain and basic WinForm application, what do I need to do to prevent a laptop from going into Stand-By as long as this application is running?
I think you'll have to P/Invoke. But don't be scared... it's pretty easy.
SetThreadExecutionState is your friend. It's available in the PInvoke project, also available on NuGet.

Categories

Resources