Skip to content

mithaler/nes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A NES emulator in Rust. Written as a learning project, to learn a) Rust and b) how emulators work.

How to use

Build with cargo build --release and then run the nes binary with a ROM as the first argument, or simply run with cargo run -- my/nes/rom.nes.

Controls

Hard-coded at the moment.

Up: W
Left: A
Down: S
Right: D
A: L
B: K
Start: Enter
Select: Space

Should I play games on this?

Oh god no. This is a toy project that I wrote for my edification. If you actually want to play games, use something that people actually maintain.

Milestones

All of these things mostly work. :)

  • CPU (nestest matches golden log)
  • PPU backgrounds (Donkey Kong title screen)
  • PPU sprites (Donkey Kong title screen sprite)
  • Keyboard controller input (Donkey Kong playable)
  • PPU scrolling (Super Mario Bros. playable)
  • INES Mapper 001 (Final Fantasy playable)
  • INES Mapper 002 (Megaman playable)
  • 8x16 sprites (Castlevania playable)
  • APU audio
  • INES Mapper 004 (Super Mario Bros. 3 playable)

Releases

No releases published

Packages

No packages published

Languages