https://github.com/picocomputer/rp6502
RP6502-RIA, RP6502-RIA-W, and RP6502-VGA
https://github.com/picocomputer/rp6502
6502 pi-pico raspberry-pi
Last synced: 19 days ago
JSON representation
RP6502-RIA, RP6502-RIA-W, and RP6502-VGA
- Host: GitHub
- URL: https://github.com/picocomputer/rp6502
- Owner: picocomputer
- License: bsd-3-clause
- Created: 2022-05-16T00:51:10.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2026-04-02T01:14:43.000Z (2 months ago)
- Last Synced: 2026-04-02T13:55:58.447Z (2 months ago)
- Topics: 6502, pi-pico, raspberry-pi
- Language: C
- Homepage:
- Size: 3.28 MB
- Stars: 115
- Watchers: 15
- Forks: 37
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rumbledethumps' Picocomputer 6502
This is the source code for RP6502-RIA, RP6502-RIA-W, and RP6502-VGA.
The .uf2 files for programming Pi Pico 2 boards are here:
https://github.com/picocomputer/rp6502/releases
The main documentation starts here:
https://picocomputer.github.io/
## Dev Setup
This is for building the firmware. For writing 6502 software, see [picocomputer/vscode-cc65](https://github.com/picocomputer/vscode-cc65) and [picocomputer/vscode-llvm-mos](https://github.com/picocomputer/vscode-llvm-mos).
Begin by installing VSCode and the Pi Pico VSCode Extension as described in [Getting started with the Raspberry Pi Pico](https://rptl.io/pico-get-started).
Some dependencies are submodules. Don't forget to grab them:
```
$ git submodule update --init
```
This is all you would need to do in an ideal world. But the Pi Pico tools run on many operating systems which makes documentation a moving target. The following are my notes for setting up WSL (Windows Subsystem for Linux) with Ubuntu. Don't forget that you can get help from the [Raspberry Pi Forums](https://forums.raspberrypi.com/).
The Pi Pico VSCode Extension will need this additional software:
```
$ sudo apt install build-essential gdb-multiarch pkg-config libftdi1-dev libhidapi-hidraw0
```
Add a udev rule to avoid needing root access for openocd. Create `/etc/udev/rules.d/99-pico.rules` with:
```
#Raspberry Pi Foundation
SUBSYSTEM=="usb", ATTRS{idVendor}=="2e8a", MODE="0666"
```
WSL won't start udev by default. Create or edit `/etc/wsl.conf` with:
```
[boot]
command="service udev start"
```
Add your user account to the dialout group so you don't need root for serial device access:
```
$ sudo usermod -a -G dialout $USER
```
You can forward USB ports to WSL with [usbipd-win](https://github.com/dorssel/usbipd-win):
```
PS> winget install usbipd
PS> usbipd list
BUSID VID:PID DEVICE
7-4 2e8a:000c CMSIS-DAP v2 Interface, USB Serial Device (COM1)
PS> usbipd attach --wsl --busid 7-4
```
VSCode Serial Monitor doesn't yet send breaks or let you slow down a paste. Minicom is still useful.
```
$ minicom -w -c on -R cp437 -b 115200 -o -D /dev/ttyACM0
```