SFML community forums

General => SFML projects => Topic started by: fallahn on March 04, 2016, 03:03:09 pm

Title: Chip8 - A CHIP-8 / SuperCHIP Interpreter
Post by: fallahn on March 04, 2016, 03:03:09 pm
These are a dime a dozen, but I thought I'd have a go too just for funses. I cobbled this together in about 4 days.

http://www.youtube.com/watch?v=POAMDm6gzhk

A selection of games can be found here (http://www.pong-story.com/chip8/) and the source here (https://github.com/fallahn/CHIP8). Requires SFML and SFGUI. The CMake file is tested on linux and there is a VS2015 project for windows. I may possibly add MegaCHIP support, but for now I'm bored and am going to move on :)

EDIT: I've also written a short blog post (http://trederia.blogspot.com/2016/03/chip8-chip-8-superchip-interpreter.html) about the bytecode format it uses, for those interested.
Title: Re: Chip8 - A CHIP-8 / SuperCHIP Interpreter
Post by: eXpl0it3r on March 04, 2016, 03:08:12 pm
Looks cool! :)

Is this a problem with the interpreter or recorder that the "sprites" flash sometimes?
Title: Re: Chip8 - A CHIP-8 / SuperCHIP Interpreter
Post by: fallahn on March 04, 2016, 03:12:44 pm
Is this a problem with the interpreter or recorder that the "sprites" flash sometimes?

Neither, this is how the original machines actually worked :) If there's any problem it's due to the fact the orignal spec defines no process speed, so the result is highly dependent on frame rate :/