1
0
mirror of https://gitee.com/openLuat/LuatOS synced 2025-08-17 22:18:03 +08:00
LuatOS/components/nes
2024-12-09 17:20:53 +08:00
..
inc Revert "remove: 继续移除多余的库" 2024-12-09 17:20:53 +08:00
port Revert "remove: 继续移除多余的库" 2024-12-09 17:20:53 +08:00
src Revert "remove: 继续移除多余的库" 2024-12-09 17:20:53 +08:00
LICENSE Revert "remove: 继续移除多余的库" 2024-12-09 17:20:53 +08:00
luat_lib_nes.c Revert "remove: 继续移除多余的库" 2024-12-09 17:20:53 +08:00
README_zh.md Revert "remove: 继续移除多余的库" 2024-12-09 17:20:53 +08:00
README.md Revert "remove: 继续移除多余的库" 2024-12-09 17:20:53 +08:00

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

  • CUP

  • PPU

  • APU

mapper support02

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 repositoryinstallxmake 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/