PaperBoy Game Boy Emulator works at 60 FPS on ESP32-S3 E Ink devkit

60 FPS gaming on an E Ink display? That doesn’t seem right… But that’s exactly what Wenting Zhang’s PaperBoy Game Boy emulator project does, using the M5Stack PaperS3 devkit, pairing an ESP32-S3 wireless microcontroller with a 4.7-inch E Ink display with 960 x 540 resolution.

One of the tricks here is that the bottom part of the ePaper touchscreen display is used for control buttons and doesn’t need to be refreshed, while the active part only requires 160 x 144 resolution, scaled three times to represent various shades of grey.

PaperBoy E Ink ESP32-S3 Gameboy emulator

Contrary to most small Eink devkits, the PaperS3 features a screen with a raw row/column driver interface, which enabled him to drive the display while bypassing the normal waveform method, and deliver a higher refresh rate up to 60 FPS. Wenting didn’t reinvent the wheel for the Game Boy emulation part, and after testing three different emulators, he went with the CrankBoy project, delivering better performance at 30-60 FPS for most games. Tetris appears to be the most demanding game, while Super Mario Land offers the highest frame rate.

Super Mario Land ESP32-S3 E Ink devkit

The audio implementation was also a challenge, mostly because the PaperS3 devkit only comes with a buzzer that can handle a single tone at a time. He solved the issue by using square waves for audio output, the same method as used on a PC’s buzzer. User input was easier with the touch screen, and Bluetooth LE joypad support was also added to the project.

PaperBoy S3 Bluetooth controller
PaperBoy S3 with Bluetooth controller

You’ll find more technical details in the write-up on Hackster.io, or in the video embedded at the end of the video. The ESP-IDF-based source code can be found on GitHub, and the pre-built firmware can also be installed from M5Burner.

One downside is that the PaperS3 devkit is EOL (End-of-Life), so it’s hard to source, although it can be found on eBay for twice the original price. It might not be easy to find a replacement, since an ePaper devkit with a raw display interface is required to achieve the same results. The closest option is the older M5Paper based on the same display and still selling for $85, but it’s based on ESP32 instead of ESP32-S3, and would require further modifications.

Via Liliputing

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress. We also use affiliate links in articles to earn commissions if you make a purchase after clicking on those links.

Radxa Dragon Q8B Edge AI SBC with Snapdragon 8cx Gen3 SoC
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
3 Comments
oldest
newest
Boardcon MINI1126B-P AI vision system-on-module wit Rockchip RV1126B-P SoC