hey all, bumping this after a long time because even though i moved my NES emu to C, recently i decided to give it another go in FB, and the results are looking okay right now.
current status:
-most mapper 0, 1, 2 games are working more or less fine
-audio emulation is working (and it sounds pretty decent)
-a few graphical bugs in some games, occasional palette weirdness, sprite priority problems in some games
-
possible 6502 CPU core glitches, but mostly seems fine
need to do:
-add a lot of other game mapper chips support!!
-speed up the PPU engine
-improve the audio emulation
well-tested games:
-mega man 2 (other mega man games should be good as well)
-contra
-starship hector
-donkey kong
-chip and dale rescue rangers
-many others should work as well
the biggest problem right now is how SLOW the PPU engine is. the actual rendering to screen is very fast, that uses SDL. the slow part is the code to emulate the NES hardware parts that looks at whats supposed to be on the screen and evaluates/draws it to a buffer. any dual core machine should run it FINE but i've found that all but the fastest pentium 4 systems need to use frameskip to run full speed. i really need to work on that. it's the stuff in modPPU.bas if you look at the source.
download:
compiled win32 binary -
http://rubbermallet.org/moarnes-0.5.1.11.zip
sourcce code -
http://rubbermallet.org/moarnes-0.5.1.11-source.zip
just run moarnes.exe to see how to use the command line. the first time you run a game it will ask you to configure your control keys.
i'd love to get comments and suggestions! enjoy! :)
my C version is far more advanced but i like the idea of having a pure FreeBASIC NES emu that is viable as well!