2 ms·
http://emulator101.com/ http://emulator101.com/ is a good resource, as is https://www.reddit.com/r/emudev/ https://www.reddit.com/r/emudev/. Or you can just ch
by stevekemp 8y ago
http://emulator101.com/ http://emulator101.com/ is a good resource, as is https://www.reddit.com/r/emudev/ https://www.reddit.com/r/emudev/.
Or you can just cheat, design a "toy" instruction set, and write something to process it. A couple of years ago I did that, in C/Perl:
* https://github.com/skx/simple.vm https://github.com/skx/simple.vm
Later I rewrote the interpreter/emulator in go:
* https://github.com/skx/go.vm https://github.com/skx/go.vm
The downside with my approach here is that I ignored graphcs, sound, & I/O.
These days I'd recommend you write an emulator for the Chip-8 system..