Coder Social home page Coder Social logo

brianbennett / fpga_nes Goto Github PK

View Code? Open in Web Editor NEW
258.0 258.0 64.0 2 MB

FPGA-based Nintendo Entertainment System Emulator

License: BSD 2-Clause "Simplified" License

Lua 34.84% C++ 15.28% C 6.92% Coq 0.94% Objective-C 0.16% Perl 0.10% Assembly 0.78% Verilog 40.99%

fpga_nes's Introduction

fpga_nes is an fpga-targeted Nintento Entertainment System emulator written in Verilog. It is currently under development, and is most notably missing support for mappers and the DMC sound channel. At this point, it runs most NROM games capably (e.g., Super Mario Brothers, Excitebike).

In addition, this project includes a C++ Windows application called NesDbg, which communicates with the FPGA over USB UART to load ROMs, run unit tests, readwrite memory, etc.

Hardware Setup:

alt text

  1. Nexys 3 Spartan-6 FPGA board. ($119 / $199)
  2. Micro-USB connection for FPGA power and programming.
  3. VGA display connection for NES video output.
  4. Micro-USB connection for communication between NES and NesDbg software.
  5. PmodBB Bread Board for a solderless joypad connection. ($20)
  6. NES Joypad Adapter to accept input from joypads. ($5)
  7. 2 NES Joypads to accept user input. (2 * $5)
  8. PmodAMP1 to amplify NES PWM audio output. ($20)
  9. Speaker to play the NES sound. ($6)

Development Environment:

  1. ISE 14.1 WebPack (free)
  2. Visual Studio 2010 Express (free)

fpga_nes's People

Contributors

brianbennett avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fpga_nes's Issues

Soccer

Corruption in the top status bar during scrolling.

1942

Corruption. Missing letters in overlay text, mild flickering.

Implement SRAM controller

Use SRAM as storage for carts instead of blockram. This is the first step toward supporting non NROM mappers.

Othello

Hang before title screen come up.

Fix BRK implementation

As implemented, BRK currently halts the machine for examination by NesDBG instead of causing an IRQ interrupt. Fix this, and update all tests to use one of the unofficial HLT opcodes instead of BRK.

BRAM frame buffer support

Instead of computing pixel color as they are outputted, ppu should compute pixel color and dump into a "back buffer" in block ram. This will enable a couple nice things:

Perfect PPU timings. Currently the PPU timings are kind of close, but are based on the VGA signal requirements. By decoupling the color generation and the display, the color generation should be able to work at a different clock than the display.

Frame capture for automated testing.

Fix APU "jitter"

Writes to $4017 should take effect between 1 and 2 APU cycles later.

Always double resolution

Remove resolution doubler option, and force it always on. Timing is way off for non-doubled screens now, and there's no good reason to fix it.

unknown error initiaizing com5

hi,I run directly ise generate bit file, and then open the serial port, set 38400, ODD, ONEBITSTOP, NONE, last run nesdbg of after on display Unknown Error initiaizing com5, Do you know what this is reason?

Slalom

Corruption during demo once turning starts.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.