X65 RP2350B firmware (RIA816) https://x65.zone/
  • C 98%
  • Assembly 1%
  • C++ 0.5%
  • CMake 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-11 14:30:42 +01:00
.vscode [SGU] I2S -> DVI 2026-02-21 21:16:10 +01:00
src CGIA: configure PicoHDMI features for our driver 2026-11-11 12:51:22 +01:00
tests Monitor: parse quoted, multi-argument command lines 2026-10-21 12:32:19 +02:00
trivia Add documentation for CGIA color palettes and design rationale 2026-06-11 13:18:34 +02:00
.clang-format Format code using clang-format 2024-01-28 20:40:24 +01:00
.clangd Add more clangd check rules 2024-08-18 19:34:20 +02:00
.gitignore Update .gitignore 2026-10-01 19:22:13 +02:00
.gitmodules Remove audio subsystem and SGU-1 submodule 2026-10-21 07:46:56 +02:00
CMakeLists.txt Merge with upstream. Enable WiFi,BT and PHI2 config 2025-12-17 18:23:48 +01:00
cpp.hint Full HID (#83) 2025-08-15 18:04:03 +02:00
LICENSE Split firmware to separate chips 2025-11-25 12:30:41 +01:00
pico_sdk_import.cmake migrate to Pi Pico 2 2025-07-27 21:50:10 +02:00
README.md Document NORTH and SOUTH targets and the standalone sound core 2026-11-11 14:30:42 +01:00

X65

Modern 8-bit microcomputer

X65 is an effort to build an 8-bit microcomputer for the modern era. It uses best of breed components and strives to keep 8-bit feeling, while being usable for daily basis computing activities.

Dev Setup

This is only for building the RP2350 software. For writing 65816 CPU software, see rp6502-vscode.

Install the C/C++ toolchain for the Raspberry Pi Pico. For more information, read Getting started with the Raspberry Pi Pico.

sudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential gdb-multiarch
sudo dnf install cmake gcc-arm-linux-gnu arm-none-eabi-newlib gcc-c++-arm-linux-gnu

All dependencies are submodules. The following will download the correct version of all SDKs. It will take an extremely long time to recurse the project, so do this instead:

git submodule update --init

The firmware builds x65_north (CPU bus, API and monitor) and x65_south (CGIA, terminal and audio transport). The SGU-1 sound core is maintained in its own repository.

To debug NORTH or SOUTH code, you need a Debug Probe or a Pi Pico as a Picoprobe.

The Pi Pico VSCode Extension will need this additional software:

sudo apt install build-essential gdb-multiarch pkg-config libftdi1-dev libhidapi-hidraw0

Create /etc/udev/rules.d/99-pico.rules with:

#Raspberry Pi Foundation
SUBSYSTEM=="usb", ATTRS{idVendor}=="2e8a", MODE="0666"

Debug terminal:

openocd -f interface/cmsis-dap.cfg -c "adapter speed 5000" -f target/rp2350.cfg -c "program build/src/x65_north.elf verify reset exit"

Console terminal:

picocom -b 115200 /dev/ttyACM0

WSL (Windows Subsystem for Linux) can forward the Picoprobe to Linux:

PS> winget install usbipd
PS> usbipd list

PS> usbipd wsl attach --busid 7-4

WSL needs udev started. Create /etc/wsl.conf with:

[boot]
command="service udev start"

VSCode Serial Monitor doesn't yet send breaks or let you slow down a paste. Minicom is still useful.

minicom -c on -b 115200 -o -D /dev/ttyACM0