nes_test ~master
This is an example application for github.com/blahness/nes.
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
Summary
This is an example application for github.com/blahness/nes.
Dependencies
github.com/blahness/nes/
github.com/DerelictOrg/DerelictSDL2/
Installation
For a pre-built package
For Windows there are stand-alone binary builds available at the GitHub release page. Note: the 32-bit (x86) version was compiled with DMD so it's not very optimized.
Fetching with Dub
dub fetch nes_test
To run:
dub run nes_test --build=release -- <rom>
Or for a 64-bit version:
dub run nes_test --arch=x86_64 --build=release -- <rom>
\ Clone or download this repo, cd to the folder that contains the source folder & run:
Or for a 64-bit version:
If you're on Windows I'd also add --arch=x86_mscoff when using dub run or build to create 32-bit versions. The linker produces a very slow executable otherwise.
The app expects the SDL2 runtime binaries (minimum version 2.0.5) to be available. You can find them here: https://www.libsdl.org/download-2.0.php.
The app will create a save & state folder in its current directory on first run if they don't already exist.
Battery backed RAM is saved only on program exit.
Joysticks are supported, although the button mapping is currently hard-coded.
Keyboard controls are indicated below.
Building from source
dub build --build=release
dub build --arch=x86_64 --build=release
Notes
Usage
nes_test <rom>
Use nes_test -h for more options.
Controls
Nintendo Emulator Up, Down, Left, Right Arrow Keys or WSAD Start Enter Select Right Shift or Space A Z or N B X or M Fullscreen/Windowed Toggle F11 Exit Fullscreen Escape Reset Ctrl + R Save State F5 Load State F1
- ~master released 6 years ago
- blahness/nes_test
- MIT License
- Authors:
- Dependencies:
- nes, derelict-sdl2
- Versions:
-
0.2.0 2018-Oct-30 0.1.2 2018-Feb-04 0.1.1 2018-Feb-02 0.1.0 2018-Feb-02 ~master 2018-Oct-30 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
29 downloads total
-
- Score:
- 1.1
- Short URL:
- nes_test.dub.pm