- 177comments
- 564comments
- 200comments
- 4comments
- 86comments
- 57comments
- 60comments
- 599comments
- 23comments
- —discuss
- —discuss
- 13comments
- 1comments
- 147comments
- 134comments
- 9comments
- 303comments
- 365comments
- 210comments
- 42comments
- 150comments
- 29comments
- 93comments
- 23comments
- 51comments
- 26comments
- 124comments
- 58comments
- 1comments
- 55comments
This is my first ever C++ project, just like the CHIP-8 emulator was my first ever C (and emudev) project. It's so satisfying to write assembly and have your program spit out a ROM that actually runs in the emulator you wrote.
All code is written by me (a lot of it livestreaming) as evident by the quality, no AI.
Nice job!
Awesome milestone! As someone diving into C and C++ right now, what was the steepest part of the learning curve for you when structuring the assembler compared to writing the emulator in C?
Nice, chip8 is a lot of fun. I looked at your emulator implementation too, and it looks like you have an OOB access bug in the "I" register (it can be incremented beyond the RAM array bounds). This is a very common chip8 emulator bug, which can (in some cases) be exploited to allow a malicious ROM to escape the emulator. I wrote about this here: https://www.da.vidbuchanan.co.uk/blog/bggp3.html
Really cool project. How much harder did the assembler feel compared to writing the emulator?