4 ms·
The first emulator I wrote was for a virtual machine called the CHIP-8. I used CowGod's reference, it was a fun experience! http://devernay.free.fr/hacks/chip8
by laputan_machine 5y ago
The first emulator I wrote was for a virtual machine called the CHIP-8. I used CowGod's reference, it was a fun experience!
http://devernay.free.fr/hacks/chip8/C8TECH10.HTM#2.1 http://devernay.free.fr/hacks/chip8/C8TECH10.HTM#2.1
- tombert 5y agoI forgot about CHIP-8. That might be a good starting point. Thanks for reminding me.
- anthk 5y agoTry JimTCL, it uses SDL2 for "GUI"'s instead of TK, but it's as compatible (at code level, not TCL extensions, Jimsh uses its own ones) as TCL 8.5 so most stuff will work as is. If you look at the examples, you'll find that writing a Chip8 emulator with JimTCL it's a breeze. https://github.com/msteveb/jimtcl https://github.com/msteveb/jimtcl