Skip to content

Repository files navigation


Libxnes

A lightweight, portable pure C99 NES emulator library.

Getting Started

Just type make at the root directory, you will see some binary of examples for usage.

cd libxnes
make

To compile the example, you need to install SDL2, In ubuntu systems:

sudo apt-get install libsdl2-dev

How to running

After compiling all of files, you can running an example or drag some nes file to xnes:

cd examples/linux/output/
./xnes <rom.nes>

Documentation

Online documentation: https://libxnes.xboot.org

Screenshots

super-mariocontrabattle-cityflying-herogun-smokejackal1943circus-chablicchinese-cheselode-runnerpinballexcite-bikebomber-man3eyechip-daleduck-hunt64-in-1

Keyboard

DescriptionPlayer 1Player 2
UPWArrow Up
DOWNSArrow Down
LEFTAArrow Left
RIGHTDArrow Right
AKNumpad 6
BJNumpad 5
SELECTSpaceNumpad 8
STARTEnterNumpad 9
DescriptionKey
RESETESC
SLOW SPEEDF1
FAST SPEEDF2
REWINDR

Joystick

DescriptionJoystick 1Joystick 2
UPUpUp
DOWNDownDown
LEFTLeftLeft
RIGHTRightRight
AAA
BBB
SELECTSelectSelect
STARTStartStart
REWINDLL
FAST SPEEDRR

Links

License

This library is free software; you can redistribute it and or modify it under the terms of the MIT license. See MIT License for details.

About

A lightweight, portable pure C99 NES emulator library.

Topics

Resources

Stars

47 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages