Show HN: Running Game Boy ROMs on the STM32 ARM Cortex Microcontroller

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. stm32boy

    Running Game Boy ROMS on the STM32 ARM Cortex microcontroller

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. Adjustris

    Block dropping puzzle game for Game Boy

  4. Peanut-GB

    A Game Boy (DMG) emulator single header library written in C99. Performance is prioritised over accuracy.

    I also did something very similar when I discovered PeanutGB( https://github.com/deltabeard/Peanut-GB ) for an university project.

    I used an STM32F401 (the "blackpill" board). Shoved it into a gameboy case I got from aliexpress and connected an ILI9341 display, a PCB for the buttons I found online from some hobbist selling them and 4 AA batteries in series. The screen wasn't really the same as the gameboy's one in dimensions so it all looked very janky, but it was cool enough to impress people.

    I had no audio, I was able to play simple GB games quite well but I had some significant slowdowns with stuff like Super Mario Land 2 or the later pokemon.

  5. STM32_PatternDriver

    STM32F103 @ 64MHz produces a periodic 2MHz bit pattern on multiple GPIOs (using TIM, DMA, GPIO)

    I'm sure you know this, and perhaps it's way too late, but still: the STM32s can certainly use DMA to write to GPIO pins. See for instance [1] (not my project, just a random search hit that seemed nice).

    [1]: https://github.com/mnemocron/STM32_PatternDriver

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Peanut-GB help: How can I fullscreen and use color? List of Keybindings?

    1 project | /r/numworks | 21 Oct 2021
  • Best documentation for the details?

    8 projects | /r/EmuDev | 15 Jan 2023
  • Emulation of Nintendo Game Boy (DMG-01) (2016) [pdf]

    1 project | news.ycombinator.com | 1 May 2024
  • When would you ever want bubblesort?

    1 project | news.ycombinator.com | 5 Dec 2023
  • (USA-FL)($550+shipping CONUS only) Clear DMG-Color w/Kitsch-Bent Clear silicone buttons + Cleanjuice USB-c lithium battery

    1 project | /r/GameboyMarketplace | 5 Dec 2023

Did you know that C is
the 6th most popular programming language
based on number of references?