Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: A Chip-8 disassembler in Python (github.com/prophittcorey)
30 points by cpro on Sept 14, 2015 | hide | past | favorite | 4 comments


Nice 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/


Thanks-- my code isn't the cleanest either! I still have a lot of cleanup to do. I will certainly check it out though!


I 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

[2] http://mattmik.com/chip8.html


Thanks-- I will certainly look into those instructions




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: