/scala-nes

NES emulator written in Scala

Primary LanguageScalaGNU General Public License v3.0GPL-3.0

scala-nes

Scala CI

NES emulator written in Scala.

Screenshots

Running

Make sure to have Java and SBT in your PATH environment variable.

$ sbt assembly
$ cp target/scala-2.12/scala-nes.jar .
$ java -XX:AutoBoxCacheMax=0xffff -jar scala-nes.jar src/test/resources/nestest.nes

To print out frames per second:

$ java -XX:AutoBoxCacheMax=0xffff -jar scala-nes.jar src/test/resources/nestest.nes --stats

To enable sound (experimental):

$ java -XX:AutoBoxCacheMax=0xffff -jar scala-nes.jar src/test/resources/nestest.nes --sound

Controls

Keyboard controls are:

Nintendo Emulator
Up, Down, Left, Right Arrow Keys
Start S
Select A
A Z
B X

References