Work in progress NES emulator
Progress so far:
- All official 6502 opcodes implemented
- Ability to interpret machine code
- Disassembler
- Basic GUI
- Pattern table and palette displays
This project uses Premake to generate build files. You will need to download an executable for your platform and add it to your PATH environment variable.
The included premake script supports both MSVC and MinGW-w64 (gcc).
- Run the premake action:
premake5 vs2022
(replace the version of Visual Studio with what you have installed)
- Use the generated Visual Studio solution as normal.
- Run the premake action:
premake5 gmake2
- Build the project with:
make
This will build the project in a debug configuration. You can specify which version to build using:
make config=release
make config=debug
- The executable will be in
/bin/Debug/or/bin/Release.
The premake script does support linux but you will need to install GLFW yourself. So far, I have only tested it with Ubuntu under WSL2 (lol).
- Obtain the GLFW from your package manager. For Ubuntu based distros:
sudo apt install libglfw3
sudo apt install libglfw3-dev
- Run the premake action:
premake5 gmake2
- Build the project with:
make config=release
make config=debug
- The executable will be in
/bin/Debug/or/bin/Release/
