Desktop OS for RP2350
FRANK OS
Desktop operating system for the RP2350 microcontroller. Windowed GUI with mouse, terminal, file manager, and apps — all in 520 KB of SRAM.
Built on FreeRTOS with DVI video output, PS/2 keyboard and mouse input, SD card storage, and optional PSRAM. Compatible with Murmulator OS 2 applications.
Features
Windows 95-Style Desktop
Overlapping windows with title bars, minimize/maximize/close. Drag-to-move, resize from edges. Taskbar with Start menu, system tray, and clock. Alt+Tab switching. Up to 16 simultaneous windows.
14 Built-in Applications
Text editor, drawing program, card games, MP3 player, video player, NES emulator, ZX Spectrum emulator, BASIC interpreter, file manager, and more.
Built-in Shell
Interactive command interpreter with vi editor, C compiler (cc), tar archives, hexdump, and more. Launches MOS2-compatible console apps from SD. 50+ CLI utilities included.
ELF App Model
Loads standalone ARM ELF binaries from SD card. 500+ function syscall table ensures binary compatibility across firmware updates without recompilation.
Audio System
I2S stereo via PIO with DMA. 4 concurrent channels. MP3 (Helix), MOD tracker (HxCMod), and MIDI/OPL FM synthesis. Volume control. Windows 95 startup sound.
File Manager
Three view modes (large icons, small icons, list). Toolbar with navigation history. Cut, copy, paste, delete, rename. File type associations with "Open With" support.
Display
Desktop Mode
640x480 at 60 Hz, 4-bit paletted (16 colors)
Fullscreen Mode
320x240 at 60 Hz, 8-bit paletted (256 colors) — for emulator apps
DVI output via RP2350 HSTX peripheral. Core 1 does real-time scanline rendering via DispHSTX. Video mode hot-swap during vblank — no DVI restart needed.
Built-in Applications
Terminal
VT100 terminal with multiple concurrent sessions, 16-color text, SGR escape sequences. Runs shell commands and MOS2-compatible console apps. 50+ CLI utilities included.
Notepad
Text editor with menu bar, clipboard, find/replace, and syntax highlighting for C, C++, and INI files. Dev menu for compiling C source directly.
Navigator
File manager with three view modes (large icons, small icons, list), toolbar, path history, file operations, and file type associations.
Paintbrush
MS Paint-style drawing app with 16 tools: pencil, brush, eraser, fill, line, rectangle, ellipse, selection. Cut/copy/paste, undo, BMP file support.
FrankAmp
WinAmp 2.x-style MP3 player. Playlist of up to 64 tracks, shuffle/repeat, seek bar, volume slider. Helix fixed-point MP3 decoder.
Video Player
MPEG-1 video playback with dithered 4bpp output and audio decoding. Real-time performance on RP2350.
Dendy (NES)
NES emulator based on QuickNES. Fullscreen 320x240 8bpp mode. Loads .nes ROMs from SD card. Audio at 22050 Hz.
ZX Spectrum 48K
Z80 emulation with ARM Thumb-2 assembly dispatcher. Loads TAP tape files. Emulates keyboard matrix, 48 KB RAM, and original ROM.
Calculator
Standard arithmetic calculator styled after the classic Windows calculator.
Solitaire
Classic Klondike card game with Draw One and Draw Three modes.
Minesweeper
Three difficulty levels: Beginner (9x9), Intermediate (16x16), Expert (30x16). 7-segment timer and mine counter.
Digger
Port of the 1983 Windmill Software arcade game. Sprite-based rendering with level progression.
MMBasic
PicoMite BASIC interpreter as a windowed GUI app. Traditional BASIC syntax with file I/O, graphics, and sound.
Kickstart
UF2 firmware launcher. Lists .uf2 and .m2p2 files from SD card and flashes them to RP2350 for execution on next boot.
Desktop Environment
Window Manager
- Overlapping windows with title bars, borders
- Minimize, maximize, close buttons
- Drag-to-move, resize from edges and corners
- Up to 16 simultaneous windows
- System menu via Alt+Space
Start Menu
- Auto-scans /fos/ on SD card for apps
- 32x32 app icons with names
- Firmware submenu lists .uf2 files from /uf2/
- Right-click "Send to Desktop" on items
- Keyboard navigation with arrow keys
Taskbar
- 28px taskbar at the bottom
- Start button for launching apps
- Task buttons for each open window
- System tray with clock and volume slider
UI Controls
- Push buttons with Win95 bevel style
- Scrollbars, checkboxes, radio groups
- Multi-line text areas (up to 32 KB)
- Combobox dropdowns, sliders
- File Open/Save dialogs, Find/Replace
- Run dialog (Win+R) with command history
Control Panel
| Applet | Settings |
|---|---|
| Desktop | Background color (16-color palette picker) |
| System | CPU frequency, PSRAM size, uptime, kernel info |
| Mouse | Double-click speed (200-800ms slider with test area) |
| Frequencies | CPU clock (252/378/504 MHz), PSRAM clock |
Supported Hardware
FRANK OS targets the FRANK M2 board (M2 GPIO layout). The M1 layout is no longer supported.
Documentation
Getting Started
Requirements, quick start, SD card setup
Keyboard Shortcuts
Window management, app launching, navigation
Shell Commands
PShell command reference, MOS2 console apps
Building from Source
Prerequisites, build steps, flashing, creating releases
Architecture
System design, memory map, display pipeline, task model
App Development
Creating apps, minimal example, drawing, events, menus, dialogs
API Reference
Complete sys_table index, data types, constants, function signatures
FRANK OS is licensed under GPL v3. Based on Murmulator OS 2 by DnCraptor. Uses FreeRTOS, DispHSTX, FatFs, Helix MP3 decoder, QuickNES, and other open-source components.