A very simple chip 8 emulator with Rust and SDL - could do with some optimization and better organization. People are free to use this however they want!
I learned a lot not just regarding Rust but a lot of painful lessons regarding project strategy and testing for my next emulation project. Please please think about unit testing each opcode when creating your own emulation software!
Potential extensions to this project add more cmd line args for options other than roms to load add a dissasembler mode, present the dissasembly in a second window add debugger functions, like being able to break at any point and set breakpoints
For more information on chip 8 the below links are very good!
- https://en.wikipedia.org/wiki/CHIP-8
- http://www.multigesture.net/articles/how-to-write-an-emulator-chip-8-interpreter/
- http://devernay.free.fr/hacks/chip8/C8TECH10.HTM
- http://mattmik.com/files/chip8/mastering/chip8.html
Licensed under either of
Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Oh and of course, SDL comes under it's own license but cargo will download and take care of that for you, there's no "source" here and I do not claim to contribute to nor own SDL at all!