English | 中文
The nes simulator implemented in c , requires c11
attention:
This repository is only for the nes simulator and does not provide the game !!!
Platform support:
-
Windows
-
Linux
-
MacOS
Simulator support:
-
CPU
-
PPU
-
APU
mapper support:0,2, 3
The example is based on SDL2 for image and sound output, without special dependencies, and you can port to any hardware by yourself
clone repository,install xmake,execute xmake
directly to compile
on linux or macos enter ./nes xxx.nes
load the game to run
on windows enter .\nes.exe xxx.nes
load the game to run
joystick | up | down | left | right | select | start | A | B |
---|---|---|---|---|---|---|---|---|
P1 | W | S | A | D | V | B | J | K |
P2 | ↑ | ↓ | ← | → | 1 | 2 | 5 | 6 |
mapper 0:
Game | showcase |
---|---|
Super Mario | ![]() |
mapper 2:
Game | showcase |
---|---|
Contra1 | ![]() |
恶魔城1 | ![]() |
西游记1 | ![]() |
mapper 3:
Game | showcase |
---|---|
MapleStory | ![]() |