Writing a Chip 8 Emulator - Instruction Set (Part 5)

Posted on Fri 07 September 2018 in Emulation • Tagged with chip8, emulation

Last time I wrote about the Chip 8 interpreter, and how the first 512 bytes of RAM were used for the built in font set. In this post, I want to go over all the instructions for the Chip 8 interpreter, and discuss how they actually work. I also wanted …


Continue reading

Writing a Color Computer 3 Emulator - ROM/RAM Modes

Posted on Sat 01 September 2018 in Emulation • Tagged with trs-80, emulation

Last time I wrote about the Chip 8 interpreter, and how the first 512 bytes of RAM were used for the built in font set. Now that I have a little more experience writing simple emulators, I figured it was time to revisit the original reason why I started down …


Continue reading

Writing a Chip 8 Emulator – Built In Font Set (Part 4)

Posted on Sun 15 October 2017 in Emulation • Tagged with chip8, emulation

Last time I wrote about how to draw pixels on the Chip 8 screen. We went over how the DRAW command uses an XOR method to turn pixels on and off, as well as how to draw an n-byte sprite to the screen. To quickly recap, here are the steps …


Continue reading

Writing a Chip 8 Emulator – DRAW command (Part 3)

Posted on Thu 19 February 2015 in Emulation • Tagged with chip8, emulation

Previously, I wrote about the Chip 8’s basic execution structure, as well as how to decode and understand its instructions. While many of the commands are used to perform logical operations or fetch data from memory, I think that commands that perform input or output routines are equally important …


Continue reading

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