Writing a Chip 8 Emulator (Part 2)

Posted on Thu 17 July 2014 in Emulation • Tagged with python, chip8, emulator

In a previous post, I wrote about the basic CPU structure needed to emulate a Chip 8. I also wrote about memory access, and how to define bytes and words. In this post, I will talk about how to interpret Chip 8 instructions, as well as how to set up …


Continue reading

Python Code Inspection with SonarQube

Posted on Mon 02 June 2014 in Build Tools • Tagged with python, sonarqube

Last time, I wrote about setting up Travis CI to effortlessly perform continuous integration and testing. My next step was to determine what was actually being tested in my Python Chip 8 emulator, and improve upon areas that had insufficient tests to cover them. While code coverage isn’t the …


Continue reading

Travis CI and GUI Testing

Posted on Mon 26 May 2014 in Continuous Integration • Tagged with ci, python, emulator

Writing computer emulators in my spare time is actually something I really enjoy doing. The first emulator I wrote was a simple Chip 8 emulator in C. While that was a good learning experience, debugging it was frustrating. Simple unit test frameworks like MinUnit work well for C code, but …


Continue reading