Wendal Chen 9e749e82e7 Revert "remove: 继续移除多余的库" il y a 1 an
..
inc 9e749e82e7 Revert "remove: 继续移除多余的库" il y a 1 an
port 9e749e82e7 Revert "remove: 继续移除多余的库" il y a 1 an
src 9e749e82e7 Revert "remove: 继续移除多余的库" il y a 1 an
LICENSE 9e749e82e7 Revert "remove: 继续移除多余的库" il y a 1 an
README.md 9e749e82e7 Revert "remove: 继续移除多余的库" il y a 1 an
README_zh.md 9e749e82e7 Revert "remove: 继续移除多余的库" il y a 1 an
luat_lib_nes.c 9e749e82e7 Revert "remove: 继续移除多余的库" il y a 1 an

README.md

English | 中文

github licenselinux

nes

Introduction

The nes simulator implemented in c , requires c11

attention:

This repository is only for the nes simulator and does not provide the game !!!

Support:

  • [x] CUP

  • [x] PPU

  • [ ] APU

mapper support:0,2

Software Architecture

The example is based on SDL2 for image and sound output, without special dependencies, and you can port to any hardware by yourself

Compile Tutorial

​ clone repository,installxmake ,execute xmake directly to compile

Instructions

​ on linux enter ./nes xxx.nes load the game to run ​ on windows enter .\nes.exe xxx.nes load the game to run

Key mapping::

​ up A B

​ left down right select start

P1:

​ W J K

​ A S D V B

P2:

​ ↑ 5 6

​ ← ↓ → 1 2

Literature reference

https://www.nesdev.org/