3 ms·
Show HN: A Chip-8 disassembler in Python
- f_ 11y agoNice work and thanks for sharing. I'd like to add this blog post [1] I read a while ago that explains a bit how to write a disassembler and emulator for Chip-8. The source is not as clean as yours and written in C but it's still worthwhile to check out. [1] http://emulator101.com/chip-8-disassembler/ http://emulator101.com/chip-8-disassembler/
- cpro 11y agoThanks-- my code isn't the cleanest either! I still have a lot of cleanup to do. I will certainly check it out though!
- RodgerTheGreat 11y agoI wrote a disassembler as part of my own Chip8 IDE[1] It doesn't look like it impacts this disassembler, but it's worth noting that Cowgod's Chip8 technical reference gets the shift and load/store instructions wrong. A much better reference is Mastering Chip8[2]. [1] https://github.com/JohnEarnest/Octo https://github.com/JohnEarnest/Octo [2] http://mattmik.com/chip8.html http://mattmik.com/chip8.html
- cpro 11y agoThanks-- I will certainly look into those instructions