Giter Site home page Giter Site logo

rs-nes's Introduction

rs-nes Build Status

A work-in-progress NES emulator written in rust.

Debugger

The old debugger has been removed as I refactor the code. Checkout this commit to use the debugger. The demo for the debugger can be seen on youtube.

Running

cd rs-nes
cargo run --bin native_client --release --features="native_client"  -- path/to/rom.nes

Current Status

  • The CPU is fully-implemented and well-tested.
  • The PPU is fairly accurately emulated but has a few minor bugs.
  • Audio is not implemented yet.
  • Mappers
    • NROM (Mario Bros., Super Mario Bros., Excite Bike, etc)
    • UxROM is partially implemented (Mega Man, Castlevania, Contra, etc)

Controls

W: Up
A: Left
S: Down
D: Right
J: B
K: A
Shift: Select
Enter: Start

Attribution

Much of the inline documentation for NES specific components (PPU, APU) are taken directly from The NES dev wiki.

rs-nes's People

Contributors

bgourlie 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rs-nes's Issues

Write NesMemory tests

In particular, memory mapped reads/writes. Will need to introduce traits for PPU, APU, and Input so that they can be mocked.

OAM Dma timing

OAM DMA write suspends the cpu for 513 CPU cycles (+1 on odd CPU cycles), during which I assume other components should continue to tick.

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.