Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
/ libxnes Public

A lightweight, portable pure C99 NES emulator library.

License

Notifications You must be signed in to change notification settings

xboot/libxnes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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>

Screenshots

super-mario contra battle-city flying-hero gun-smoke jackal 1943 circus-chablic chinese-chese lode-runner pinball excite-bike bomber-man 3eye chip-dale duck-hunt 64-in-1

Keyboard

Description Player 1 Player 2
UP W Arrow Up
DOWN S Arrow Down
LEFT A Arrow Left
RIGHT D Arrow Right
A K Numpad 6
B J Numpad 5
SELECT Space Numpad 8
START Enter Numpad 9
Description Key
RESET ESC
SLOW SPEED F1
FAST SPEED F2
SAVE GAME F5
RESTORE GAME F6

Joystick

Description Joystick 1 Joystick 2
UP Up Up
DOWN Down Down
LEFT Left Left
RIGHT Right Right
A A A
B B B
SELECT Select Select
START Start Start
SLOW SPEED L L
FAST SPEED R R

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.