Sometimes I get bored with my current projects, and just need to take a little break. During this break, I decided to write something I've always wanted to write, a CHIP-8 interpreter. I first wrote a BrainF*** interpreter just for fun. Here's a screen shot of that:
http://i55.tinypic.com/2cxvq4w.png
As you can see, that one is command line. You pass in the program you want to run as a parameter and it prints out the code and then runs it. It ignores all characters that aren't part of the language when it opens a file, so you can comment it and whatever.
Next was the CHIP-8. It's not perfect right now, sadly. It's really slow, and there's something wrong with the drawing (I think they are related), here's a screen shot:
That fish should be whole! The numbers on the left are just some debug stuff. The top is the registers, the bottom is the memory. They only update if you step, as opposed to run.
You can download them here:
http://merthsoft.com/Interpreters.zip
As always, these were written in C#. I've targeted framework 2.0, so they should work just about anywhere
http://i55.tinypic.com/2cxvq4w.png
As you can see, that one is command line. You pass in the program you want to run as a parameter and it prints out the code and then runs it. It ignores all characters that aren't part of the language when it opens a file, so you can comment it and whatever.
Next was the CHIP-8. It's not perfect right now, sadly. It's really slow, and there's something wrong with the drawing (I think they are related), here's a screen shot:
That fish should be whole! The numbers on the left are just some debug stuff. The top is the registers, the bottom is the memory. They only update if you step, as opposed to run.
You can download them here:
http://merthsoft.com/Interpreters.zip
As always, these were written in C#. I've targeted framework 2.0, so they should work just about anywhere