~dajolly/nesl

A lightweight NES emulator, written in C.

4f22c05 code cleanup

~dajolly pushed to ~dajolly/nesi git

11 hours ago

35ea066 code cleanup

~dajolly pushed to ~dajolly/nesl git

11 hours ago

License: MIT Build Status

NESL

#Install

git clone https://git.sr.ht/~dajolly/nesl
cd nesl
make
sudo make install
# The default installation directory is /usr/local
# To install into a different directory, redefine PREFIX
sudo make install PREFIX=/your/path

#Usage

Usage: nesl [options] file

Options:
   -h, --help         Show help information
   -l, --linear       Set linear filtering
   -s, --scale        Set window scaling
   -v, --version      Show version information
# To launch with a file, run the following command
nesl file.nes

# To launch with linear filtering, run the following command
nesl --linear file.nes

# To launch with window scaling (1x-8x, with a default of 2x), run the following command
nesl --scale [1-8] file.nes

#Keybindings

Button Keyboard Mouse
A X
B Z
Select C
Start Space
Up Up-Arrow
Down Down-Arrow
Left Left-Arrow
Right Right-Arrow
Trigger Left

#Mappers

Type Name Description
0 NROM No mapper
1 MMC1 Nintendo ASIC
2 UxROM Nintendo board
3 CNROM Nintendo board
4 MMC3 Nintendo ASIC
30 UNROM Homebrew board
66 GxROM Nintendo board

#License

Copyright (C) 2024 David Jolly jolly.a.david@gmail.com. Released under the MIT License.