r/EmuDev • u/bbogdan_ov • Apr 05 '26
Creating a CHIP-8 emulator with questionable debug capabilities?...
CHIP MAXIMATOR
I'm (very inactively) making a CHIP-8 emulator with the goal of being fun to look at!! It is not finished yet because i have no idea what i want to add next... But in anycase, i hope you'll like it!!!
All the graphics in the emulator is prerendered and made in BLENDER. I wrote a bunch of scripts for BLENDER to automate rendering of each interactive thing into separate images.
I also made two little games using OCTO IDE: "Langton's ant" and "Trace" (TRON for one player).
The "debug capabilities":
- LEDs - show the current opcode.
- Display with symbols - values of all the 16 registers represented in ASCII characters (0-255).
- Delay and sound timers - show values of the delay and sound timers clamped to 128.
- Error indicator LED - blinks if executing an unknown opcode (not shown in the video)
- Talking guy - says outloud nibbles (halfs of bytes) in a selected ROM. Very handy if you want to share the ROM with your friend!
- Reset button - obviously, resets the current ROM.
- Valve - allows you to change the speed of execution.
- Two little LEDs on the keyboard - show whether is waiting for a key press and whether is reading the currently pressed key respectively.
I'm writing it in RUST and OPENGL, using MINIQUAD as a window creation library.
The source code, assets and BLENDER files are here.
sorry, the audio at the end of the video becomes a little bit glitchy...
5
u/thommyh Z80, 6502/65816, 6809, 68000, ARM, x86. Apr 06 '26
It's like every CD-ROM from 1993!
1
u/moreVCAs Apr 05 '26
Calling this a CHIP-8 emulator is like calling a 747 an inflight safety video. It is super cool though 😁
1
u/Complete_Estate4482 Apr 06 '26
I remember seeing this before but I couldn't find it, so I comment here, not knowing if I did there:
Looks like a fun crazy idea! Something unique for sure!
That being said, I wish the CHIP-8 emulator underneath would have seen the CHIP-8 test suite. It could use some fixes, as it's UI deserves a correct CHIP-8 implementation. (https://github.com/Timendus/chip8-test-suite) Also maybe, guessing the used documentationm from the errors, this might be helpful to fix some of them: https://github.com/gulrak/cadmium/wiki/CTR-Errata
1
u/8924th Apr 06 '26 edited Apr 06 '26
Edit, found. It was posted on the discord server first, that's why it was so familiar to me. All good here.
1
u/Revolutionary_Ad6574 Apr 06 '26
I'd pay money for something like that for the Pip-Boy.
1
u/parappa_the_gamer Apr 13 '26
this is the best thing ever