- Make sure to clone with the --recursive flag to also clone the dependency -
git clone --recursive https://github.com/AjayBrahmakshatriya/AjayCXX_NESEmulator.git
- First build the dependency (inside the project repo) -
make -C buildit
- Now build the project
make
Currently, the project just generates code for the program written in the driver.cpp.
- Edit the driver.cpp to feed in your MOS 6502 program
- Run
./build/nes_compiler
The generated code for the program will be printed