Giter VIP home page Giter VIP logo

nes-emulator-prjgen-improvement's Introduction

NES-Emulator

Basic NES emulator that only supports NROM (mapper 0) games.

For changes to this project by @KamilKrauze go to Changes.

PreMake Project Files

DISCLAIMER: I do not own the right nor contribute to the PreMake project.

You may use PreMake optionally to generate your project files you can also use the provided CMake files that are already provided by @filip-arch.

  1. Download PreMake5 and insert into the project root directory.
  2. You may either run the bash script GenerateProjectFiles.sh as shown below:
./GenerateProjectFiles.sh

Or you may generate the project files using the PreMake executable directly as shown below:

./premake5 gmake2

Deleting Project Files

For any reason that you may need to delete the project files generated using PreMake, run the DeleteProjectFiles.sh script as shown below:

./DeleteProjectFiles.sh

Compilation

CMake

To compile, run:

cmake pathToSourceFolder/src
make

PreMake

If the project files have been generated using PreMake then just run in the project root directory:

make

Running

Emulator must be given one argument, that being the .nes file it is to run e.g. ./NESEmulator game.nes

Controls

NES Controller Keyboard
Up Up Arrow
Down Down Arrow
Left Left Arrow
Right Right Arrow
A Z
B X
Start Enter
Select Backspace

Currently no way to remap controls other than directly modifying the controls.cpp file.

Changes

Changes Date
Added a PreMake5 lua script for project generation. 08/12/2023
Added complenting bash scripts for generating and deleting Makefiles of this project. 08/12/2023
Updated README with a better layout and PreMake instructions. 08/12/2023
Updated .gitignore to ignore Makefiles and premake5.lua 08/12/2023

nes-emulator-prjgen-improvement's People

Contributors

filip-arch avatar kamilkrauze avatar

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.