Skip to content
프로젝트

소개

A simple NES (FC) emulator

게임 및 에뮬레이션

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

LiteNES

This project is a fork of Stanislav Yaglo's mynes (https://github.com/yaglo/mynes). We mainly refactored the project for brevity and portabilty, by removing unused comments and changing the file structure. LiteNES runs classical roms (e.g., Battle City, Yie Ar Kung-Fu and Super Mario), but has only partial support of NES roms, and does not support the emulation of APU.

The key feature of LiteNES is its portability: the system-call-dependent code is reduced to minimal (only appears in hal.c and main.c). All other sources do not contain any direct or indirect calls to the operating system kernel. Also, the only calls to standard C library are memory movements (e.g., memcpy and memcmp). To port LiteNES to other systems, only slight modification of main.c and re-implementation of hal.c is required.

Compilation

To compile LiteNES, you must have allegro5 library. Usually you can install it in the official software repository (by apt-get, yum, pacman or emerge, depending on your Linux distribution). For Ubuntu users, if you cannot find allegro5 in your sources, please find liballegro5.0 and liballegro5-dev deb package and install them.

Type make in the command line to compile. Resolve any error message until the litenes binary file is created.

Game Play

You need to prepare a NES rom first. Assume it (rom.nes) is located in the same directory as the LiteNES binary. Then in this directory, type ./litenes rom.nes to start the emulator.

Key bindings: UP - W, DOWN - S, LEFT - A, RIGHT - D, SELECT - U, START - I, A - K and B - J. Only one player is supported. Type CTRL C in terminal to exit.

LiteNES running Yie-Ar Kung Fu

관련 프로젝트 살펴보기

불러오는 중…