+
Skip to content

Base for implementing a very basic NES emulator. Done for an internal presentation at King, in Dec 2021. Slides can be found here: https://slides.com/andsve/writing-a-nes-emulator

License

Notifications You must be signed in to change notification settings

andsve/nespresso

Repository files navigation

nespresso

Base for implementing a very basic NES emulator. Done for an internal presentation at King, in Dec 2021. Slides can be found here: https://slides.com/andsve/writing-a-nes-emulator

The goal of this project was to share knowledge and increase interest in emulation. It should act as a starting point when looking into creating your own NES emulator.

(There is also branches corresponding to different stages in the presentation linked above.)

How to build;

Make sure the submodule is fetched;

$ git submodule update --recursive --init

Call this to download genie binaries and start a new shell with some ENV vars;

$ ./setup.sh

Generate the build files; calls genie to generate ninja make files inside build folder;

$ ./generate.sh

$ cd build

$ make

Running

$ ../bin/nespresso <rom_file>

Only supports very basic games, such as Donkey Kong currently. Doesn't have gamepad input at the moment, or audio, and the rendering is very basic.

You can pass along nestest.nes inside the data folder to see that it passes the nestest log validation.

About

Base for implementing a very basic NES emulator. Done for an internal presentation at King, in Dec 2021. Slides can be found here: https://slides.com/andsve/writing-a-nes-emulator

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载