Tuesday, June 18, 2024
Google search engine
HomeUncategorizedNES Emulator in Common Lisp

NES Emulator in Common Lisp

Trying to emulate the NES again in Common Lisp

TODO: Other mapppers besides NROM


TODO: Audio


TODO: Run at proper speed instead of just letting it go however fast it pleases.


TODO: Write more idiomatic Lisp

Examples

Super Mario Bros
Galaga
Donkey Kong
Volley Ball
NesTest

Usage

In your favorite common lisp repl (I haven’t tested outside of
sbcl), just run

(asdf:load-system :console)
(nes:setup-and-emulate path-to-rom)

Where path to rom is a string


The controls map to..
Start: Tab


Select: Grave


Left, Down, Right, Up: W, A, S, D


A, B: Left Arrow, Down Arrow


I’m sorry, they aren’t re-mappable yet. =(

Read More

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments