Live data from Hacker News

Show HN: A Chip-8 disassembler in Python

github.com

1–5 of 5 posts

Re: Show HN: A Chip-8 disassembler in Python

#2
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/

Re: Show HN: A Chip-8 disassembler in Python

#3
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

Re: Show HN: A Chip-8 disassembler in Python

#4
post #2

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!

Re: Show HN: A Chip-8 disassembler in Python

#5

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