stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

Chip-8 Emulator

  • 5 Devlogs
  • 21 Total hours

A Chip-8 Emulator in order to emulate old retro games. This is the project i’ve decided on in order to solidify my learning of C++ thus far.

Ship #1 Pending review

To commemorate what i’ve learnt in C++ thus far, I built a chip-8 emulator. A Chip-8 was originally a virtual machine designed to act as a beginner-friendly way to develop games for the COSMAC VIP, now in modern times, it is often used as a gateway project for both emulation and lower level programming languages. Overall, i had a wonderful time and i’m super happy i made this as my first C++ project. I definitely had a hard time trying to decipher as much code as possible purely from technical references or written articles, but that’s what made me even more proud of this achievement. To see and try what i’ve made, simply follow the download guide for the pre-loaded version in the README, or by extracting the .zip file in the demo link.

  • 5 devlogs
  • 21h
Try project → See source code →
Open comments for this post

4h 15m 13s logged

I finally finished implementing all the opcodes needed for a chip-8 emulator. It took a while and i ended up having to review some of them to mimic the behaviour of the original COSMAC VIP chip8 emualtor but it can FINALLY, play pong :) (not well but). Note: due to the refresh rate of the display which i haven’t fully sorted out yet, you can’t see the ball but it is there.

0
0
20
Open comments for this post

4h 58m 48s logged

I started working on implementing the opcodes for the emulator. Thank the lord for Timendus’s chip-8 test suite. Soon enough i should be able to run an actual game on it :)

0
0
16
Open comments for this post

7h 39m 18s logged

Got the Display working. Ngl I completely forgot to Devlog this stuff but I ended up having credit someone else to get the loadRom function working. Afterwards it took AGES to implement and configure SDL2 but at long last… It works

0
0
1

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…