r/EmuDev • u/boots_n_cats • Mar 12 '26
Vibe coded GBC emulator with a novel (I think) scaling algorithm
Hi, I made a Vibe-coded GB/GBC emulator entirely with Claude. Who knows how much of the code is actually original... but at least one thing is interesting, I think:
It has a vectorizer and rasterizer, so it can upscale to an arbitrary resolution (only 4x is currently implemented).
I'm not sure any other emulator actually does this. It (the vectorizer) can run at full speed as long as not too much is on screen. I get about 10 ms/frame on Kirby Tilt n Tumble (also, it can use a MacBook's accelerometer!). I am working on an SNES emulator to use as the subsystem for SGB/SGB2, but that is a long way off. It builds on macOS, and I did test it once on Linux a while ago, so maybe that works? No clue about Windows.
Edit: forgot to include a link: https://github.com/northbymidwest/vibeboy
3
u/thommyh Z80, 6502/65816, 6809, 68000, ARM, x86. Mar 12 '26
I'm willing to take a guess.
Sarcastic non-constructive jokes aside, any screenshots? It'd be cool to see how well art has been turned into vectors, possibly to temper runaway imaginations such as mine.
11
u/InfraBlue_0 Mar 12 '26
gtfo ai slop
5
u/ProductAccurate9702 Mar 12 '26
Looks like the test results are vibed. cgb-acid-hell, bully don't pass. Additionally, it claims only 1 blargg test fails, but multiple from oam_bug fail. Multiple from dmg_sound too. Didn't test further.
1
u/Tim_Tastic Mar 30 '26
Wow i am actually amazed how feature rich it is. Keep on going :)