Saanlima Forums

Support for products from Saanlima Electronics
It is currently Sat Dec 16, 2017 3:43 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 28 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: Fri Jun 05, 2015 6:10 pm 
Offline

Joined: Thu Aug 29, 2013 5:48 pm
Posts: 225
Also got NES working on the TFT display. This is Brian Bennett's fpga-based Nintendo Entertainment System emulator running on Pipistrello.

Image

There are lots of other NES games working.
See this thread for more info:http://saanlima.com/forum/viewtopic.php?f=9&t=1229

Attached is the bit file for the TFT version.

Magnus


Attachments:
nes_top_smb_mb_tft.bit [1.42 MiB]
Downloaded 655 times
Top
 Profile  
 
PostPosted: Sat Jun 06, 2015 9:31 am 
Offline

Joined: Thu Aug 29, 2013 5:48 pm
Posts: 225
Here is a link to the complete Xilinx ISE project: http://www.saanlima.com/download/pipistrello-v2.0/fpga_nes_tft_mb.zip

The is based on Brian Bennett's original fpga_nes code (github: https://github.com/brianbennett/fpga_nes)

Here is a list of modifications of the original code:
* Display setup changed from 640x480@25MHz to 800x480@33.333MHz
* Game download from host computer replaced with game download from SD-card using a microblaze_mcs microcontroller
* NES program RAM preloaded with Super Mario Bros. game (default if no game found on SD-card)

To play a different game just copy one of the supported games (in the roms/game_roms/supported directory) to a micro SD-card and rename game.nes

Enjoy!

Magnus


Top
 Profile  
 
PostPosted: Sat Jun 06, 2015 12:27 pm 
Offline

Joined: Thu Sep 19, 2013 7:15 am
Posts: 11
Superb - thanks again Magnus! Working & looking good. Am going to get some eBay NES controllers, although it looks as though I'll have to separate off the PMOD ps2/nes wing with wires as the screen would sit over it otherwise. When I get the free time I plan to make a nice 3D printed or laser cut enclosure for Pipi + Ada 5", and will share the Thingiverse listing here if & when that comes to pass.


Top
 Profile  
 
PostPosted: Wed Jun 10, 2015 5:05 am 
Offline

Joined: Thu Sep 19, 2013 7:15 am
Posts: 11
Quick query about NES controllers for fpga_nes (and the PS/2 / NES wing) - turns out Nintendo region-locked their controllers, should I assume I need NTSC region ones for this?


Top
 Profile  
 
PostPosted: Wed Jun 10, 2015 9:40 am 
Offline

Joined: Thu Aug 29, 2013 5:48 pm
Posts: 225
The NES emulation code knows nothing about regions etc.
This is the controller that I bought and works great: http://www.amazon.com/NES-Controller-Generic-Nintendo-Entertainment-System/dp/B000UCF9TA

Edit: This thread has some info, it looks like this relates to a missing pullup resistor http://www.nintendoage.com/forum/messageview.cfm?catid=5&threadid=10535

Magnus


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 28 posts ]  Go to page Previous  1, 2, 3

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
Powered by phpBB® Forum Software © phpBB Group