u/Tack1234

I wrote the emudev hello world to learn C

I wrote the emudev hello world to learn 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.

Repo: https://github.com/Tackx/c8

u/Tack1234 — 9 days ago
▲ 58 r/EmuDev

I wrote the emudev hello world

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.

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.

https://github.com/Tackx/c8

u/Tack1234 — 9 days ago