my nes emulator ffnes
Moderator: Moderators
my nes emulator ffnes
I am now writting a nes emulator ffnes. I put it on github:
https://github.com/rockcarry/ffnes
ffnes-v0.5
change log:
2015-01-16
----------
1. add main menu for emulator
2. implements game save/load and replay function
3. using direct3d to rendering video
4. code improve for apu and ppu
5. bugfixs
https://github.com/rockcarry/ffnes
ffnes-v0.5
change log:
2015-01-16
----------
1. add main menu for emulator
2. implements game save/load and replay function
3. using direct3d to rendering video
4. code improve for apu and ppu
5. bugfixs
- Attachments
-
- ffnes-v0.5.rar
- (150.29 KiB) Downloaded 344 times
Last edited by rockcarry on Fri Jan 16, 2015 1:50 am, edited 3 times in total.
Re: my nes emulator ffnes
Introduction
------------
ffnes is a nes emulator.
Now there are a lot of nes emulators, but for me, I still want to write a completely new one. It's an interesting thing.
I have already spent a lot of time on study how nes hardware working and how to write a emulator. Now I'm ready to write code and do debugging.
I payed more attention to the quality of the code and portability. I think the code is clear and good for your reading, enjoy it.
How to compile
--------------
There is a vs2005 project for win32. You need install vs2005, then goto ffnes/vs2005 directory open ffnes.sln, and press run button directly, everything will be OK.
If you are using ubuntu or other linux distribution, you need install a mingw32 gcc compiler, then you could goto src directory, try make.
The target binary is for win32 due to mingw32. Currently code can't compile for linux platform, need do more porting work.
How to use
----------
Keyboard definitions for joystick:
up - E
down - D
left - S
right - F
A - J
B - K
turbo A - U
turbo B - I
select - B
start - N
alt - hide/show menu
alt+enter - toggle fullscreen
getting source code:
git clone https://github.com/rockcarry/ffnes.git
------------
ffnes is a nes emulator.
Now there are a lot of nes emulators, but for me, I still want to write a completely new one. It's an interesting thing.
I have already spent a lot of time on study how nes hardware working and how to write a emulator. Now I'm ready to write code and do debugging.
I payed more attention to the quality of the code and portability. I think the code is clear and good for your reading, enjoy it.
How to compile
--------------
There is a vs2005 project for win32. You need install vs2005, then goto ffnes/vs2005 directory open ffnes.sln, and press run button directly, everything will be OK.
If you are using ubuntu or other linux distribution, you need install a mingw32 gcc compiler, then you could goto src directory, try make.
The target binary is for win32 due to mingw32. Currently code can't compile for linux platform, need do more porting work.
How to use
----------
Keyboard definitions for joystick:
up - E
down - D
left - S
right - F
A - J
B - K
turbo A - U
turbo B - I
select - B
start - N
alt - hide/show menu
alt+enter - toggle fullscreen
getting source code:
git clone https://github.com/rockcarry/ffnes.git
Last edited by rockcarry on Fri Jan 16, 2015 1:51 am, edited 2 times in total.
Re: my nes emulator ffnes
Please provide an .exe file. Some users won't have the ability to compile a C++ program or won't download source code out of fear of viruses (no offense).
Re: my nes emulator ffnes
Won't download source code fearing viruses, but will download an executable?WedNESday wrote:Please provide an .exe file. Some users won't have the ability to compile a C++ program or won't download source code out of fear of viruses (no offense).

Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi
Re: my nes emulator ffnes
Alright, sucky answer. But an .exe would be convenient for users and some people don't have C++ compilers. Its standard to provide an .exe.thefox wrote:Won't download source code fearing viruses, but will download an executable?WedNESday wrote:Please provide an .exe file. Some users won't have the ability to compile a C++ program or won't download source code out of fear of viruses (no offense).

- rainwarrior
- Posts: 8000
- Joined: Sun Jan 22, 2012 12:03 pm
- Location: Canada
- Contact:
Re: my nes emulator ffnes
I think it's just fear of entirely unnecessary effort.
Not providing a binary means every user has to do the work of building it, instead of just one person.
Or maybe it's fear of compilers? I think that's a justifiable fear.
Not providing a binary means every user has to do the work of building it, instead of just one person.
Or maybe it's fear of compilers? I think that's a justifiable fear.
Re: my nes emulator ffnes
rainwarrior wrote:I think it's just fear of entirely unnecessary effort.
Not providing a binary means every user has to do the work of building it, instead of just one person.
Or maybe it's fear of compilers? I think that's a justifiable fear.

Fry: Not sure if agreeing with me, or being sarcastically disagreeable.
- rainwarrior
- Posts: 8000
- Joined: Sun Jan 22, 2012 12:03 pm
- Location: Canada
- Contact:
Re: my nes emulator ffnes
I'm not sure how you'd read any of it as sarcasm? The "fear of compilers" bit was a joke, but not sarcastic. They really are scary awful beasts. (Aaaa, sorry, yet another thread is off topic now isn't it.)
Re: my nes emulator ffnes
On the topic of compilers, why Visual C++ 2005 and not a later version like 2010 or 2012?
Quietust, QMT Productions
P.S. If you don't get this note, let me know and I'll write you another.
P.S. If you don't get this note, let me know and I'll write you another.
Re: my nes emulator ffnes
It doesn't compile out of the box with VS 2013. Complains about not being able to build an MFC project with a non-Unicode character set. Switching to Unicode (from Multi-byte) results in a bunch of errors. I gave up at that point.
get nemulator
http://nemulator.com
http://nemulator.com
Re: my nes emulator ffnes
Sorry, I just wanted to make a Fry from Futurama meme and couldn't think of the 2nd line.rainwarrior wrote:I'm not sure how you'd read any of it as sarcasm? The "fear of compilers" bit was a joke, but not sarcastic. They really are scary awful beasts. (Aaaa, sorry, yet another thread is off topic now isn't it.)

Now this is why I complained about a lack of .exe in the first place.James wrote:It doesn't compile out of the box with VS 2013. Complains about not being able to build an MFC project with a non-Unicode character set. Switching to Unicode (from Multi-byte) results in a bunch of errors. I gave up at that point.
Re: my nes emulator ffnes
Incidentally, the usage of MFC also prevents it from being compiled with Visual C++ Express, which is probably a show stopper for quite a lot of people here. I'm assuming the reason it uses 2005 is because that's the only version rockcarry has.James wrote:It doesn't compile out of the box with VS 2013. Complains about not being able to build an MFC project with a non-Unicode character set.
Quietust, QMT Productions
P.S. If you don't get this note, let me know and I'll write you another.
P.S. If you don't get this note, let me know and I'll write you another.
Re: my nes emulator ffnes
That's why memes should be avoided here.WedNESday wrote:Sorry, I just wanted to make a Fry from Futurama meme and couldn't think of the 2nd line.

I could convert all that code into C and compile it... but is worth the effort? Looks like an old and dated emulator.
Re: my nes emulator ffnes
I am so sorry everyone, It's my fault. I will upload binary of ffnes.
The project is still under developing, so there are many bugs, and something didn't implemented. Due to this I'd like make it stable first, then release the binary.
The project is still under developing, so there are many bugs, and something didn't implemented. Due to this I'd like make it stable first, then release the binary.
Re: my nes emulator ffnes
yes, on my old winxp computer, only vs2005 can work.Quietust wrote:Incidentally, the usage of MFC also prevents it from being compiled with Visual C++ Express, which is probably a show stopper for quite a lot of people here. I'm assuming the reason it uses 2005 is because that's the only version rockcarry has.James wrote:It doesn't compile out of the box with VS 2013. Complains about not being able to build an MFC project with a non-Unicode character set.