Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Chip8 - A CHIP-8 / SuperCHIP Interpreter  (Read 3634 times)

0 Members and 1 Guest are viewing this topic.

fallahn

  • Sr. Member
  • ****
  • Posts: 492
  • Buns.
    • View Profile
    • Trederia
Chip8 - A CHIP-8 / SuperCHIP Interpreter
« 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 and the source here. 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 about the bytecode format it uses, for those interested.
« Last Edit: March 06, 2016, 06:12:42 pm by fallahn »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10791
    • View Profile
    • development blog
    • Email
Re: Chip8 - A CHIP-8 / SuperCHIP Interpreter
« Reply #1 on: March 04, 2016, 03:08:12 pm »
Looks cool! :)

Is this a problem with the interpreter or recorder that the "sprites" flash sometimes?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

fallahn

  • Sr. Member
  • ****
  • Posts: 492
  • Buns.
    • View Profile
    • Trederia
Re: Chip8 - A CHIP-8 / SuperCHIP Interpreter
« Reply #2 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 :/

 

anything