3 ms·
Making a chip-8 emulator is a reasonable project for those who are interested.
by floor_ 7y ago
Making a chip-8 emulator is a reasonable project for those who are interested.
- merlincorey 7y agoI'm in the final stretches of mine right now, in fact. The article describes an 8 bit CPU with 17 instructions. CHIP-8 is an 8 bit CPU with 31 instructions, but crucially, it has a large amount of documentation[0] and a nice corpus of ROMS available[1] making it a bit easier as you don't have necessarily write your own programs for a CPU you don't fully understand yet. [0] See http://devernay.free.fr/hacks/chip8/C8TECH10.HTM http://devernay.free.fr/hacks/chip8/C8TECH10.HTM among many other resources [1] For example this archive of the now defunct chip8 archive site https://github.com/dmatlack/chip8/tree/master/roms https://github.com/dmatlack/chip8/tree/master/roms
- djhworld 7y agoJust looking at the docs, those 31 instructions would definitely help a lot, along with the stack pointer register. I'd definitely recommend doing something like that (not at the logic gate level though - too slow) but an emulator is a fun project to tackle. I wrote my Gameboy emulator first which is a bit more complicated than chip-8 and at the time the documentation was a lot more varied.