All News | Boards | Chips | Devices | Software | LinuxDevices.com Archive | About | Contact | Subscribe
Follow LinuxGizmos:
Twitter Facebook Pinterest RSS feed
*   get email updates   *

RVPC Adds BASIC Interpreter to €1 Open Source RISC-V Computer

Apr 30, 2025 — by Giorgio Mendoza 371 views

The RVPC, a fully open source hardware and software retro-style computer project built around the CH32V003 microcontroller, now supports a BASIC interpreter. This update further expands the capabilities of the €1 RISC-V-based system, which already features VGA output and PS/2 keyboard input, despite its extremely limited resources.

Originally conceived as a DIY challenge, the RVPC explores whether a functional personal computer could be built using the ultra-low-cost CH32V003, an 8-pin RISC-V MCU with just 2 KB of SRAM and 16 KB of Flash. What began as an experimental build quickly gained popularity among enthusiasts for its minimalist design and impressive performance.

— ADVERTISEMENT —


According to an Olimex update, Curtis Whitley was the first to push the limits of the hardware by implementing VGA video output. The RVPC soon evolved to include a Wozmon-style monitor with memory editing and code execution capabilities, along with simple games like Tetris.

RVPC Demo 1
(click image to enlarge)

The latest advancement comes from Leandro Zaccaria (roglio), who ported a TinyBASIC interpreter to the RVPC. His implementation, called RVPC_TinyBasic, is available on GitHub and introduces a familiar command set for users interested in experimenting with retro programming. Supported commands include standard BASIC keywords such as GOTO, FOR, IF, INPUT, PRINT, and more, along with mathematical operators and control structures.

To accommodate TinyBASIC on the resource-constrained CH32V003, Leandro optimized the VGA generation code to free up Flash memory. As a result, even the classic “Hello, world!” BASIC script runs smoothly on the platform.

RVPC Demo 2
(click image to enlarge)

The source code for RVPC_TinyBasic can be compiled using Visual Studio Code with the PlatformIO extension and the platform-ch32v environment. Precompiled binaries are also available for users who prefer to skip the compilation step.

Firmware flashing options include the WCH-LinkE programmer, a Raspberry Pi Pico (via the picorvd method), or even a Flipper Zero using the wch_swio_flasher utility.

RVPC Interfaces
(click image to enlarge)

The RVPC is sold as a solder-it-yourself kit and is certified as Open Source Hardware (UID BG000142). Its specifications include:

  • CH32V003 RISC-V2A processor at 48 MHz
  • 2 KB SRAM and 16 KB Flash
  • VGA and PS/2 connectors
  • 5V power input, audio buzzer, LED, and mounting holes
  • Dimensions: 50 mm x 30 mm

Further Information

The board ships with the Wozmon monitor preloaded and includes demo software such as Towers of Hanoi and Tetris. Documentation, schematics (PDF and KiCad), and software can be found in the official RVPC GitHub repository. The RVPC kit is available for purchase from the Olimex website at a price of €1.

(advertise here)


PLEASE COMMENT BELOW

Please comment here...