Show HN

emudev hello world

by @tack1234

I wrote the emudev hello world (CHIP-8 emulator in C) 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.

Discover more builders

Builderlust is an endless, joyful scroll of real projects people are shipping right now. Get the app to keep finding your next spark of inspiration.

📱 Coming soon to iOS & AndroidOpen in the app