23 ms·
I believe it's popular because it has fewer opcodes (35 total), and an overall simpler ISA than alternatives like the Z80 or 6502. So it's a good target for yo
by tyingq 7y ago
I believe it's popular because it has fewer opcodes (35 total), and an overall simpler ISA than alternatives like the Z80 or 6502. So it's a good target for your first time writing an emulator.
This chip-8 emulator, for example, is about 400 lines of Python, and I don't think the author was trying hard to make it small: https://github.com/Fluffet/chip8-emu?files=1 https://github.com/Fluffet/chip8-emu?files=1