Show HN: I wrote the emudev hello world (CHIP-8 emulator in C)

tack12342 pts0 comments

Yep, just another CHIP-8 emulator. But for me, as someone who has never written anything this low level and never touched C before, it was quite the challenge at first. But after writing the first few instructions (drawing especially), it slowly became almost a breeze. Until I had to debug why my font sprites were rendering all messed up.It s still work in progress, definitely not finished, but today I have tried to run some official CHIP-8 ROMs instead of just tests and my super simple test ROM and.. it s working!!It is so satisfying once it clicks.. I think I m addicted. I think the simplicity of C is growing on me.Note: No single line of code was written by AI, all myself, as you can see from how bad it may be in some places.

chip emulator never written first think

Related Articles