Pinecone Computer
Docs · Architecture

How it works

The Daisy One Plus's architecture: what each board does, how they talk, where the memory goes, and how the screen, sound, files and network work.

The Daisy One Plus is a small home computer made from a few cheap boards, each doing one job. This page explains how they share the work: what each board does, how they talk to each other, where the memory goes, and what happens behind the screen, sound, keyboard, files and network. It's here so that you can follow what your Daisy is doing, change it, or build something of your own on top of it. The wiring is on the build page; the calls a program uses are in the programmer's reference.

The boards#

The Daisy's boards and the links between them.
The Daisy's boards and the links between them.

Each board has its own firmware and is flashed over its own USB port.

How the boards talk#

LinkPins on the main PicoSpeedWhat it carries
VideoGP0 out, GP1 in750,000 baudScreen commands out; the board's answers back
Video handshakeGP2 in, GP3 outClear to send (the board has room); ready (DaisyOS is up)
SoundGP4 out, GP5 in750,000 baudNotes, songs, speech out; "finished" and song positions back
ModemGP12 out, GP13 in115,200 baudAT commands and the connection's data
Modem linesGP14, GP15, GP20Flow control, carrier (connection open), reset
SD cardGP16-GP19SPI512-byte blocks
KeyboardGP6-GP11, GP21, GP22The XEGS matrix, or the controller's two-wire link
ExpansionGP26, GP27, GP28400 kHzI2C, plus a service-request line

Every message to the video and sound boards has the same frame: the byte 0x5C, the message's number, its length, the data, and a checksum that makes the whole frame add up to zero. A board that loses its place just waits for the next 0x5C.

The video board only takes what it has room for: it holds clear-to-send low when its buffer is full, and the main Pico waits. When either board restarts, it says Hello, and DaisyOS sends it what it needs again: the screen as it was, the sound settings.

The main Pico's firmware#

DaisyOS is written in C, in layers:

Memory#

Of the main Pico's 264 KB of RAM, about 34 KB is DaisyOS's own data (the screen's shadow, the drives' state), about 60 KB goes to buffers it makes at start (the links' receive buffers among them), the stacks and an 8 KB reserve, and the rest, about 155 KB, is Python's. The banner shows how much Python has, and gc.mem_free() how much is free.

Of the 2 MB of flash, the firmware takes about 600 KB: about 440 KB of code and data, and /rom's 152 KB. The rest leaves room for firmware updates. /rom is a read-only drive inside the firmware with PyCone's modules, the editor, games, demos, fonts, a song and the help. Code in /rom runs straight from flash, so it takes no RAM.

The screen#

The CHAR set: its 256 characters, numbered 00 to FF in hex. Any of them can be redefined.
The CHAR set: its 256 characters, numbered 00 to FF in hex. Any of them can be redefined.

DaisyVideo+ draws a 320×200 picture with a border, 400×240 in all, sent over DVI as 800×480 at 60 frames a second. The video board keeps the whole screen itself, so the main Pico only sends changes:

DaisyOS keeps a copy of the 40-column screen, so reading back a cell is quick, and so it can send it all again if the video board restarts.

Sound#

DaisySound+ plays three tone voices and a noise voice, in the style of the SN76489 chip, each with its own envelope (attack, decay, sustain and release) and volume, plus pulse width and glide. It plays VGM songs, either streamed from a file as they play or kept on the board (up to 160 KB). It also speaks: it reads English text aloud in a formant voice (daisy.say). The sound goes out over I2S to a PCM5102A DAC, which gives line-level stereo.

The keyboard#

The main Pico scans the XEGS keyboard itself, the whole keyboard every 2 ms. A key held repeats after 350 ms, then every 50 ms. Other keyboards go through the keyboard controller, which scans them and sends key presses and releases over two wires; DaisyOS turns each keyboard's keys into the same Daisy keys using that keyboard's keymap. The keys are described on the keyboard page.

The joystick isn't on the Pico Daisy yet. Until it is, daisy.joy() gives 0 and games read the keys.

Files#

Every program uses the same file services: open, read, write, seek, folders, rename, copy, delete. There are three drives:

Up to 12 files can be open at once.

The network#

The ESP-01 runs Zimodem, which handles TCP/IP itself, so the main Pico saves its memory and time for your programs. It has plain TCP only (no UDP or TLS), and one connection at a time on the Daisy's side, which /net, sockets, requests and DaisyTerm take turns with.

The modem is never reset unless you ask (daisy.resetwifi(), or Reset WiFi in DaisyTerm or Settings), because it takes about 7 seconds to start up and join the network again.

PyCone#

PyCone is MicroPython 1.29 running on DaisyOS, with:

When a program ends, or you go back to the menu, DaisyOS tidies up after it without restarting the other boards: files closed, the screen and sound reset, sprites cleared. The PyCone help covers the menu, the prompt and the editor.

The start menu, Files and Settings#

The start menu runs before Python: five big icons (Python, Editor, Terminal, Files and Settings), with the date and time at the top and the card, WiFi and server shown at the bottom, green when they're working. After a minute untouched it shows the pinecone in a rainbow colour cycle.

Files shows two folders side by side, each on /rom, the card or /net: copy, move, rename, delete, make folders, format the card, view a file (with search and hex), play a song, or open a program in the editor.

Settings has the WiFi network, the TNFS server, the date, time and time zone, a modem restart, and the firmware update from the card.

DaisyTerm#

The terminal, for BBSes and other servers:

Where the source is#

The firmware's source isn't public yet. Until it is, ready-made firmware for every board is a download on the build page.

Updated 2026-12-04