[**English**](./README.md) | **中文** ![github license](https://img.shields.io/github/license/Dozingfiretruck/nes)![linux](https://github.com/Dozingfiretruck/nes/actions/workflows/action.yml/badge.svg?branch=master) # nes #### 介绍 c语言实现的nes模拟器,要求c11 **注意:** **本仓库仅为nes模拟器,不提供游戏本体!!!** 支持情况: - [x] CUP - [x] PPU - [ ] APU mapper 支持:0,2 #### 软件架构 示例基于SDL2进行图像声音输出,没有特殊依赖,您可自行移植至任意硬件 #### 编译教程 ​ 克隆本仓库,安装[xmake](https://github.com/xmake-io/xmake) ,直接执行 xmake 编译即可 #### 使用说明 ​ linux下输入 `./nes xxx.nes` 加载要运行的游戏 ​ windows下输入 `.\nes.exe xxx.nes` 加载要运行的游戏 按键映射: ​ 上 A B ​ 左 下 右 选择 开始 P1: ​ W J K ​ A S D V B P2: ​ ↑ 5 6 ​ ← ↓ → 1 2 #### 文献参考 https://www.nesdev.org/