Trying to emulate the NES again in Common Lisp
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
instructions
LICENSE
README.md
cartridge.lisp
console.asd
console.lisp
controller.lisp
cpu.lisp
mmu.lisp
ppu.lisp

README.md

potential-disco

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. =(