While looking for an inspirational project to refresh the knowledge of Python programming language I finally found a nice candidate. And here it is. There were a few more competitors, but this CHIP8 emulator made the first place. I always wanted to create one and internet says it’s one of the simplest. Soon I will write more detailed article, now it’s only a brief.
Most ROMs now work properly
Time to add some new features and find some nuances in the code to make 3 last ROMs (unofficial) to work. Python and the Pygame work very well and the development process is very fast. The only problem seems to exist in the data types. After I’ll rewrite the code to C or C++ gonna compare how those two versions work with that.
Here are the beginnings
First games started to work. The console window with the debugger and dissassembler visible behind.
The next exercise was to port the CHIP 8 emulator code into the Blender 3D viewport engine.
That came out pretty well. A bit slow because of the Blender’s architecture I used.
Check out the code of my version of this emulator on Github.
Read an article about this emulator in Polish Language.
An extensive list of places I have found some good information
Why is the list so long? Because the information on CHIP 8 might not be 100% accurate. Before coding a feature I preferred to make a detailed analysis than try to code something faulty.