Back to projects

PRG32 / embedded education

Platform for RISC-V Gaming Development (32-bit)

Learn systems
by building games.

An open-source educational runtime for teaching RISC-V assembly and C through native game cartridges on ESP32-C6 hardware and QEMU.

PRG32 logoESP32-C6 / RV32IMAC

What it is

An educational runtime with a real hardware boundary.

PRG32 is an open-source platform for teaching RISC-V assembly and C through retro-game cartridges. The code runs on an ESP32-C6 board, or through the project's desktop QEMU path, with the hardware and software boundary kept visible.

Runtime

Native RV32IMAC machine code with a small init / update / draw cartridge loop.

Hardware

ESP32-C6 board, ILI9341 display, joystick, buttons, and optional audio.

Desktop path

An Espressif QEMU target for testing the runtime and cartridges without the physical board.

Web workflow

Cartridge Store and Construction Kit deployments through the browser Web Serial API.

My contribution

The parts I helped make work.

01

QEMU runtime

Made the desktop/emulator path usable for development and testing when the physical board was not available.

02

Documentation

Improved the project documentation around setup, workflows and the relationship between the runtime, cartridges and tools.

03

Testing

Tested the runtime, QEMU path, cartridges, hardware flows and web tooling across the parts of the platform that need to agree.

04

Cartridge Store rewrite

Reworked the Store in the development branch from its earlier Flask path to a Fastify service and Next.js PWA surface.

Credits & public work

A shared project, with a visible contribution.

Project creditsUniversity of Naples Parthenope
Raffaele MontellaAcademic supervisor / project lead
Simone BoscagliaBSc Computer Science student
Ivan CafieroBSc Computer Science student
Dario CaramielloMSc Computer Science student
Giuseppe CovielloContributor
Poster + live demo

IEEE eScience 2026

PRG32 was presented as part of the Poster & Demo programme in Naples, alongside the paper “A Retro-Gaming Platform for Teaching RISC-V Programming in Higher Education.”

Live demo session

Maker Faire Rome 2026

A public, hands-on demonstration of the platform, its runtime and the games running on the hardware.

eScience paper authors

Raffaele Montella, Simone Boscaglia, Ivan Cafiero, Dario Caramiello, Paola Barra, Iacopo Colonnelli, Marco Lapegna

View the accepted paper list

Inside the platform

From source code to a running cartridge.

01

Build

Write a cartridge in RISC-V assembly or C, then package it as a portable .prg32 artifact.

02

Explore

Use the Construction Kit to make games with blocks, C or assembly, sprites, and sound in the browser.

03

Run

Install cartridges from the Store or the Kit onto a console over native USB and start them on the board.

04

Test

Use the QEMU workflow and the runtime tooling to validate cartridges before taking them to hardware.

The system in use

The platform is easier to understand when you can see it running.