It is currently Mon Oct 22, 2018 10:24 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Try out my nes emulator
PostPosted: Mon Jul 30, 2018 5:45 pm 
Offline

Joined: Tue Jul 17, 2018 9:29 pm
Posts: 6
I've been working on a nes emu this summer and have gotten to a somewhat playable state. I've pushed my code to github at
https://github.com/dgrigoriou1/NES-Emu
I've added support for mappers 1,2,3,4,7,9,11,13,34,66,71 and 232. There are some irq issues with mapper 4. I'm working on rewriting the ppu before i get back into more mappers. The audio just plain sucks, I usually work with data so this project has been a bit out of my wheelhouse. I'm getting the frequency outputs from the channels and creating 1 second samples at a time that i play through SoundPlayer in .net. I've tried creating samples with the mixer output but the sounds comes out sounding even worse. Soundplayer is the default sound engine included with .net by Microsoft and its not really meant for a continuous buffer. I'm looking into using naudio, if anyone has any experience with that , i could really use any tips on getting it going.
The video is really slow, I'm not using any graphics library now but i am looking into sharpDX. If anyone has any suggestions for a video library for c# please let me know. Its currently drawing a bitmap and showing it in a picturebox. I get about 65-70 fps on my PC but i see it dipping into the 50 fps range on some games. Stretching the image to full screen is just painfully slow with a picturebox, they just were'nt really meant for video.
Any feedback is appreciated. Thank You.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group