1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-07-19 15:29:27 +00:00
An emulator for old / retro computers
Go to file
2017-12-04 23:31:05 -06:00
build First commit 2017-11-21 23:24:51 -06:00
include Add functions for instructions, cycles, and address modes. 2017-12-04 23:30:18 -06:00
src Add functions for instructions, cycles, and address modes. 2017-12-04 23:30:18 -06:00
tests Add functions for instructions, cycles, and address modes. 2017-12-04 23:30:18 -06:00
.gitignore First commit 2017-11-21 23:24:51 -06:00
CMakeLists.txt First commit 2017-11-21 23:24:51 -06:00
README.md Baby's first README 2017-12-04 23:31:05 -06:00
sources.cmake Adding all of the instruction files 2017-12-02 13:05:53 -06:00

Compiling and installing

This software uses CMake to build its makefiles, so if you're familiar with that, you should feel somewhat at home. Do this:

cd build
cmake ..
make

This should produce an executable of the emulator, which you can install wherever you wish.

Testing

If you're feeling a bit nosy, you can run unit tests by doing the following:

cd tests/build
cmake ..
make; ./emp-test

This will execute the testing build of the software, which is handled through Criterion. Note you must have already installed Criterion for this to work.