Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 1.74 KB

readme.md

File metadata and controls

58 lines (41 loc) · 1.74 KB

Love8

Love8

Chip-8 emulator implemented using Lua and the Love2D game engine.

Running

The project can be run like any other Love2D game. It is meant to run on version 11.2 but will most likely run perfectly fine on previous versions.

The easiest way is to run the following commands:

$ cd love8
$ love .

Loading ROMs

Once the emulator is running, the default demo rom will be loaded. Other roms can be loaded by dropping the rom file onto the emulator window.

It is also possible to load roms when starting by passing it as an argument.

$ cd love8
$ love . path/to/rom.ch8

Note: All roms are subject to the Love2D filesystem lockdown limits. Just put them in the emulator directory and they should load correctly.

Running Tests

The tests are intended to be run in the Love2D environment. Simply pass the --tests flag. The Love2D window should pop up and immediately close, and the test results should be logged to the terminal.

$ cd love8
$ love . --tests
...
34 tests passed!

Thanks

This project could not have been possible without the following resources & projects: