It's been a while since I've posted, as I've sidetracked into other interests, but that being sidetracking itself, I am here to ask about my question.
I want to make clear that this is NO request for anyone to make anything, but rather, a question for help, as to how in the world can I create a C# NES emulator in Windows Forms. The problem lies in the fact that I am not sure how I am supposed to draw the games screen onto the form. I assume with the PictureBox control. Sounds good, until i try to draw an image using Image.FromStream. It does not work for me AT ALL (I'm testing it with random data), and I'm thinking it's because that it only accepts data fed to it in bitmap format. Well, I'm talking about the NES, and that it not bitmap format!
So yes, I am feeling stuck. It's like I'm checking for all my ingredients before I cook, and it turns out that there is no dough for the pizza. I have tried using XNA, and I can't figure out how to keep the screen refreshed, so I am forgetting that, and since I am fluent with no other language or environment other than Visual Studio. I am asking for whatever help I can get for figuring how I can render the game onto the screen...using Windows Forms, provided it's possible.
Woo, sorry for the lengthy post. But anyways, please give some input for solutions!
Thanks!
I want to make clear that this is NO request for anyone to make anything, but rather, a question for help, as to how in the world can I create a C# NES emulator in Windows Forms. The problem lies in the fact that I am not sure how I am supposed to draw the games screen onto the form. I assume with the PictureBox control. Sounds good, until i try to draw an image using Image.FromStream. It does not work for me AT ALL (I'm testing it with random data), and I'm thinking it's because that it only accepts data fed to it in bitmap format. Well, I'm talking about the NES, and that it not bitmap format!
So yes, I am feeling stuck. It's like I'm checking for all my ingredients before I cook, and it turns out that there is no dough for the pizza. I have tried using XNA, and I can't figure out how to keep the screen refreshed, so I am forgetting that, and since I am fluent with no other language or environment other than Visual Studio. I am asking for whatever help I can get for figuring how I can render the game onto the screen...using Windows Forms, provided it's possible.
Woo, sorry for the lengthy post. But anyways, please give some input for solutions!
Thanks!