An open API service indexing awesome lists of open source software.

https://github.com/rofl0r/chip9

chip9 emulator in C + SDL
https://github.com/rofl0r/chip9

Last synced: over 1 year ago
JSON representation

chip9 emulator in C + SDL

Awesome Lists containing this project

README

          

chip9 emulator
==============

about
-----

emulator for the imaginary CHIP9 cpu architecture, described in the pdf.
written in C for good speed.

includes disassembler, fast 8bit SDL rendering.

bugs
----
this emulator assumes little endian CPU.
the addx command probably doesn't set the flag register as expected.
it was almost impossible to figure out the semantics for 16 bit store.
i ended up copying some macros from gnubuy (targetting Z80 cpu), but
even that didn't work, so i patched the bootrom to skip the problematic
code (was basically only a dumb loop to slow down the emulator).
the app rom also needed a patch because when its execution starts, the
N flag isn't set as expected.