Show HN: I built a handheld CHIP-8 game console to teach myself embedded systems (github.com)
A while back I wrote a CHIP-8 emulator (which is considered the Hello, World! of emulators and is more accurately a virtual machine since historically CHIP-8 was an interpreted language running on top of the COSMAC VIP to make game programming easier).
But a few months ago I got really interested in embedded software, so decided it would be neat to port my emulator to a STM32 MCU and design a console around it as a learning experience, since CHIP-8 never existed as a physical system.
I didn't know much about embedded software when I began, and even less about electronics, but I managed to write all the firmware from scratch and even designed my first PCB, resulting in a finished (though not very polished) handheld CHIP-8 console.
For those curious, the GitHub repo also has links to my dev blog about the project as well as a build guide.
Thanks for looking!
13 comments
[ 53.2 ms ] story [ 1234 ms ] threadhttps://news.ycombinator.com/item?id=32142711
However, if your life revolves around chasing the next greatest TC, then embedded development probably isn't for you.
You might consider making a YouTube series on this ala Ben Eater's videos. I for one would definitely follow!
Also, it is impressive how users/programmers on the home computer era got to great lengths to achieve compatibility and make the most use of the limited hardware available: AFAIK, one of the goals of CHIP-8 was to improve code density and so waste as little memory as possible.
Another invention from the same era also worth taking a look is tiny-basic which I think you can even run on the Arduino and use its serial port with a terminal to get a fully functional basic computer.
If only you could buy those fabled STM32s. :/
I'm making a similar project; a handheld Pico-8 console: https://github.com/DavidVentura/PicoPico/ although currently I'm stuck in the process of writing a half-working Lua-to-C++ compiler