This is actually one of my oldest projects. It was started in 2007 as my first entry into the world of programming, and it also was my final project for the intro to programming class in community college.
By the time I started writing this page, it had been almost 12 years.
Some think Chip-8 is one of the easiest systems to emulate, as it has a very simple instruction set, and the operations are very simplistic as well, but I disagree. In 2009, having developed more advanced features for the emulator, and testing more games and codes written for it, I found an undocumented feature in the opcodes. According to Wikipedia, Chip-8 has been around since 1970, so by 2009, it had been 39 years, and people still could not figure out the system. The offender was a game named Spaceflight 2091. Without the right opcode, its display will garbage up and eventually the game would crash. Back then, most just considered the game as broken, and never tested their emulators further. I would argue that Chip-8, like most systems that are simple but robust, is in fact a good case study of how computer programming can be super hard even on the simplest of systems. We should not underestimate any system, no matter its complexity.
Therefore, I now have this page as a reminder of the passion that I have for computer programming, as well as the passion that I once had for system emulation. I still have some emulators in the backlog, and perhaps they will finally see the light of day soon.
I have worked on the emulator sporadically over the years and added some extra features, such as graphics filtering, but the emulator core (the interpreter) remained the same. It's almost embarrassing to look at now, but I like the naivette that I had back in the days. This was not just a program to showcase my entry into computing, it's proof of my love for it. I hope that by seeing what a mess the source code is that it will inspire someone else to take the plunge and write their own emulator as well, even if it seems way over their head. It certainly was way over my head in 2007.
Special thanks to my friends on NGEmu. Those were the days! Hopefully I will see you again soon in the emulation scene!