Dozingfiretruck 9134e5634c add:nes增加api注释 2 rokov pred
..
inc 9e02e0b658 add:添加nes模拟器 2 rokov pred
port 9e02e0b658 add:添加nes模拟器 2 rokov pred
src 9e02e0b658 add:添加nes模拟器 2 rokov pred
LICENSE 9e02e0b658 add:添加nes模拟器 2 rokov pred
README.md 9e02e0b658 add:添加nes模拟器 2 rokov pred
README_zh.md 9e02e0b658 add:添加nes模拟器 2 rokov pred
luat_lib_nes.c 9134e5634c add:nes增加api注释 2 rokov pred

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/