Repository navigation
Releases
v0.19 — the browser console on every board, and an official store
Moybyte v0.19: the browser console comes with every board, and the built-in carts become an official store. A sixth board joins, the ESP32-C3 Zero. Under the hood the console was rebuilt so that one body of code serves every tier, about 210 changes since v0.18.1.
The browser console on every board
- Every board has the browser console from the start. It is no longer built into the firmware. It is a cart in the board's store, and each release publishes the one that fits its firmware.
- The website's install puts it there. Each board's download installs Moybyte fresh with the browser console already in its storage. A board with an SD card moves it onto the card at its first boot.
- A board that has none fetches it. After an update, or whenever the store holds no browser console, the board downloads the one that fits from its release in the background. It does this once a WiFi network is saved, never during a game, and retries with a growing wait if the download fails.
- You can remove it, from Get Carts, the shelf,
pkg removeor the browser page, and it stays removed: the board records the removal and stops fetching it. Installing it again from Get Carts clears that. On a Zero, whose only screen is the browser page, the page says the console was removed and links to install it again. - Old copies are cleared. Once new firmware has confirmed itself, any browser console that doesn't match it is deleted, so a card no longer keeps a copy per update.
An official store for the built-in carts
- The apps, games and wallpapers that ship with Moybyte are official carts. Each release publishes them, signed, in an index per board (
carts-<board>.json). - Remove the ones you don't need. Paint, the Terminal, a game: everything except the core (Get Carts, Files, Appearance, Achievements, the wallpaper and Moy Night) can be removed, and stays removed through updates. Get Carts installs it again.
- The console boards still ship every built-in cart, unchanged.
A new board: the ESP32-C3 Zero
- The Zero now runs on the ESP32-C3, the smallest chip that holds it: 4 MB of flash, no PSRAM, one core. It is the same headless cart store the browser console runs against (
c3_zero). - SSH, without SFTP: the server is sized to fit beside the store in the chip's internal memory.
- One app slot and no over-the-air updates. The website offers two downloads: a fresh install, and an update that keeps your carts.
- Its image carries the core carts alone, which leaves its storage for your own carts. The rest of the official carts install from the browser page.
The XIAO Zero
- It comes with the apps and five games, seeded the way a console seeds them: a cart you remove stays removed.
- The browser page adds and removes official carts by asking the board, which downloads them from its release and writes its own store.
- The website's flasher restarts it when the write finishes, so you no longer unplug and replug it. A cable flash no longer needs a replug either.
- A configured Zero's setup form changes nothing without the board's password.
Your work, kept safe
- Back up a console to your computer: the console's whole Moybyte folder is copied off the board, and restored onto it. A restore that wouldn't fit is refused before it writes anything.
- The store carries a format stamp. A change to how the store is laid out runs as one tested step, and only after a backup of the store has been written.
- An edit in progress survives every way out, including the hand-off to an update.
Boards and platform
- Every board builds against ESP-IDF v5.5.6, and the host and browser use mbedTLS 3.6.7. Every vendored component is checked weekly against public security advisories.
- More memory on the P4s: the low internal RAM is a general heap again, so large blocks stay available.
- The S3 boards give WiFi's internal RAM back when the radio turns off.
- The idle desk allocates nothing, so it never pauses to collect garbage, on every board.
- A cart made for a newer console is refused before it runs, with a notice, and a native cart with no module for this console opens a notice instead of a crash card.
- On the T-Deck, Notes keeps the keyboard right on its list and after you cancel a field, and Mic closes an open popover.
Under the hood
- One body of code everywhere: the cart store is the same C code on the boards, the host and the browser. The bindings between C and Python, Lua and WebAssembly are generated from one table instead of written by hand, and every call answers the same on every tier.
- The console's shell is a set of services with declared boundaries, and an installed Python app imports only from a declared list.
Updating
- Over the air on the T-Deck, the Guition S3, both P4s and the XIAO Zero. After the update confirms itself, the board downloads the browser console that fits it in the background.
- The website's download installs fresh: it erases the board's internal storage, its carts and saves with it, and puts the browser console there. An SD card is not touched, so a board whose carts live on its card keeps them. To keep a board's internal carts, update over the air instead.
- The ESP32-C3 Zero updates from the website's update download (or by cable), which keeps its carts.
v0.18.1 — typing into apps on the T-Deck
Moybyte v0.18.1: a fix release for typing into apps on the T-Deck.
Fixes
- App fields take the keyboard on the T-Deck. In an app run as a cart (Lua, compiled, or a Python cart app), a focused text field now switches the keyboard into text mode. W, A, S and D type letters instead of moving the selection, and Enter finishes the field. Before, you couldn't type a channel name or a message in Moy Mesh.
- The trackball moves through an app's page instead of showing a pointer.
- Mic cancels an edit in an app's field and gives back the text it had. Esc and B do the same before going back. With nothing changed, Mic opens the system menu as before.
- A Lua cart's
textmode()now reaches the console. - Moy Mesh v2 is in moybyte-org/carts: pages open on a row rather than a text field, so K goes back straight away, and a field's hint says what Enter does ("Done", or "Save" once changed).
Updating
Over the air on the T-Deck, the Guition S3 and both P4s. The Zero flashes from the site or by cable, as for v0.18.
v0.18 — Moybyte becomes an operating system
Moybyte v0.18: Moybyte becomes an operating system. Apps can be written in Python, Lua, WebAssembly or C, run side by side and in the background, and reach the board's hardware through permissions you grant. There is a real shell, SSH and a terminal in the browser. This is the biggest release so far: the whole 2026-11 OS sprint (#246), about 650 changes since v0.17.
Apps in any language, all treated the same
- Four kinds of app, one set of rules. Python, Lua, compiled WebAssembly and native C programs (on the P4s) all become processes. Each one can be an app with a window, a background service, or both.
- One UI toolkit everywhere.
ui.*is a single C library, so a Lua, WebAssembly or C app draws the same buttons, lists, fields, dialogs and popovers as the built-in apps, and behaves the same on every board. - The same calls on every tier: messages between apps, notifications, timers and alarms (
moybyte.at, cron), files and preferences, the clipboard, opening a file with another app, sharing, achievements and the system log. - Apps open files by type. An app says which file types it opens, and the console offers it for them.
- New for app makers: crypto (hardware random numbers, SHA-256, HMAC, AES, Ed25519 and the curve maths a mesh stack needs), Lua's
ioandosover the app's own files, and the clock in real Unix time on every tier. - The
moy-appSDK plugin creates, checks and pushes an app.moy-app checkworks out which permissions a module needs from what it imports.
Several apps at once, and in the background
- Background services. An app can run a service that keeps going after you close its window. Examples are a music player, achievements and a mesh radio. Services can start with the console, and restart on a crash with a back-off.
- Several apps open at once on every board, the T-Deck included.
- A task manager: hold Mic (T-Deck) or Start to see what's running, how much CPU and memory each process uses, and stop one.
- Notifications from any app or service.
- Per-game achievements: a game declares its badges in its manifest. The achievements service, written in Lua, awards them and shows your progress.
- On the S3 boards, Lua, WebAssembly and C services keep running when a big game stops Python to free memory. Only Python services pause.
Permissions and safety
- The trust ladder. An app asks for what it needs (network, radio, files, devices) when you install it, and only gets that. Built-in apps are identified by where they come from, not by what they claim.
- Native C apps are isolated on the P4s. They run in the CPU's user mode with memory protection. A crashing or hostile program is stopped without taking the console down. This was tested with deliberate attacks, a stack-pivot set and a long teardown soak.
- The WebAssembly engine was fuzzed with malformed and hostile modules, on the host and on the boards.
- https checks certificates on every console. Only the signed updater skips it, because its manifest carries its own signature.
- A recovery console. After three crashes in a row the board boots to a safe floor with a text console. From there you can start safe mode, open a REPL, or install an update.
- A system log in Settings → About → System log.
- The OS design now has a threat-model section: what Moybyte protects against, and what it doesn't.
A real shell
- The Terminal has a shell: pipes, scripts, variables,
ls/cat/cp,top, a text editor,cronandat. pkginstalls and updates apps from the command line.- Settings are a plain text file you can read and edit.
- Native and WebAssembly commands: C programs built with the SDK (an unmodified
ncandheadamong them) and WASI command-line programs run from the shell. WASI commands also run in the browser's Terminal.
Reach your console from a computer
- SSH into any console board (Ed25519 keys in
/etc/authorized_keys, or a password). The console announces itself on the network as<name>.local. - SFTP: mount the console's files on your computer.
- A web terminal in the browser, signed in with the console's device key.
- The board as a USB drive: on the T-Deck and the Waveshare P4, Settings → General → USB drive shows the SD card to a computer. The console takes the card back when the computer lets go.
- The Zero is reachable by SSH, SFTP and the web terminal too.
Hardware for apps
- Apps borrow hardware through leases: GPIO pins, I2C, SPI, UART, LoRa (raw and LoRaWAN), the microphone, Bluetooth, USB host devices (HID, serial, MIDI) and the camera. Only one app holds a device at a time, and the console takes it back when the app ends.
- Events from every source: buttons, the network, the radio, USB devices plugging in and out, connectivity changes.
- USB host on the P4s: apps can open USB keyboards, mice, serial adapters and MIDI devices on the high-speed port.
- On the T-Deck, the GPS is declared and the battery level is read correctly. Screen brightness applies on every board.
Music and sound
- Music plays in C as a system service. Internet radio and music files keep playing in the background without costing the foreground app frame time.
- 44.1 kHz stereo output on the P4s.
- Games keep their frame rate while a stream plays. On the T-Deck, Brick Siege dropped to 51 fps with a stream on; it now holds 52.4.
- Internet radio in the browser: SomaFM and Swiss Jazz play, and the audio no longer stutters or repeats after a few seconds.
Moy Mesh
- Moy Mesh, a messenger that speaks Meshtastic's LoRa protocol, is the first app built on the new platform. It sends and receives channel and direct messages with Meshtastic devices and shows signal strength per message. It runs as a background service, so messages arrive while you play.
- It installs from moybyte-org/carts (release
moymesh-v1) on the T-Deck.
The desk and the toolkit
- New toolkit parts, shared by every app:
- chat bubbles and a signal glyph;
- popovers with a button row;
- list rows with subtitles, icons, monograms, counts and tags;
- "Older messages" loading;
- field details;
- paste into fields;
- dialog focus;
- page titles in the top bar.
- Bigger tap targets on the Guition S3, where rows are 36 px tall.
- Apps have their thumbnails in the Play menu on the T-Deck and the P4s.
- The Editor's Resize popover no longer flickers between layouts.
The browser console and the site
- Two windows on the desk stay apart: typing goes only to the focused one, and each keeps its own title and tools. This fixes Notes and the Terminal mixing in the browser console.
- The browser console's Terminal runs WASI commands.
- The site's flasher brings the board back up after flashing. Before, the Waveshare P4 stayed on a black screen until you reset it. The page now resets each board with that board's own line sequence.
- The site's Flash button shows and works again.
- The Zero has more room: its image dropped the parts it doesn't use.
Fixes
- A failed compiled load after a game stopped Python no longer leaves the T-Deck unresponsive.
- The Guition P4's backlight no longer whines at any brightness below full: the backlight's PWM runs at 25 kHz.
- Messages between apps are flood-safe: each sender has a queue cap, and dispatch is fair.
- The store tidies away the old
written/folder beside the carts folder. - Many smaller fixes across the shell, the toolkit and the boards.
Updating
- T-Deck, Guition S3, Waveshare P4, Guition P4: update over the air as usual, or flash from the site.
- This release adds a core-dump partition and grows the Guition P4's app slots.
- A board that updates over the air keeps its old partition table, which works with this firmware.
- Flashing from the site or by cable installs the new layout.
- Zero: flash it from the site or by cable. Its image no longer fits the old app slot, so the over-the-air update is refused.
v0.16 — one UI engine under the home
Moybyte v0.16: one UI engine under the home, and the 10.1″ P4 stops freezing.
The home runs on the engine
- The home's bands (carousel, grid and icons) draw through the C UI engine's tables of parts. A step redraws only the cards that changed, and the engine keeps finished card faces between frames.
- The desk's panes, dividers, pane focus and Sheet go through the same engine (
ui.split,ui.part_at). - The top bar's state is an engine block, and a change redraws only the part of the strip it touched.
- The icons view scrolls much faster than v0.15.1 on every board. On the P4s a step is up to 3–6× cheaper.
Desk play
- Play on the desk is full screen. The pause card's Play in a window moves the game into a window, and maximize makes it full screen again.
- Projects has a third button, Play, which opens the game in a window.
- A game moved into a window leaves the Editor, with no Game tab left behind. Closing the Editor closes its docked playtest.
Notes, Music, Settings
- Notes colours Markdown the way Code colours a program. A program open in Notes can be Run.
- New note over an open note takes the keyboard.
- Full-screen Notes is a normal app window.
- The desk Song pane edits and plays the song.
- A two-way icon choice in Settings is a toggle at row height.
Fixes
- Guition P4: a hardware deadlock in the P4's rotate engine could freeze the screen and reset the board while browsing the home. Ported from upstream ESP-IDF and extended to rotated output.
- A card cut at the left edge of the desk shelf no longer disappears.
- A docked playtest follows its Editor window when the window moves.
- Taps on the desk Editor's tabs and zoom show without another input.
- Esc over a full-screen game always pauses it.
- A browser console built before the tree moved warns that it's stale.
No partition table changed: a board on v0.15.1 updates over the air.
v0.15.1 — fix release
Fix release for v0.15.
- Typing in Notes no longer allocates on every frame, so it stops feeding the collector and stuttering.
v0.15 — the 2026-10 shell
Moybyte v0.15: the 2026-10 shell.
One cable flash needed. Every board's partitions changed, so a board on v0.14.1 needs one flash over USB (from the site's flasher). The old updater refuses the larger image and leaves the board as it was.
The Moy look
- Every surface is in the 2026-10 look: the home's grid and icons, Achievements, About, the Code tab's overlays, the kernel's screens and the boot splash.
- The Editor's theme mode replaces Edit icons, and a theme with no look of its own takes Moy's.
- In the browser, a first run's theme follows the page's light or dark scheme, and the site uses the Moy theme's colours.
A native kernel
- The console's frame loop, its input drivers (touch, the T-Deck keyboard and trackball, the BLE central) and its screens are C.
- A board whose VM fails to start lands on a recovery floor instead of a boot loop. It can retry, start safe, open the REPL, or install an update over WiFi.
- The kernel formats an erased store, so a first boot mounts it.
Scrolling and text
- Every page glides and flings, and a scroll moves the pixels the last frame drew instead of redrawing them.
- A drag scrolls text by the lines the finger moved, at any speed.
- The Code tab and theme Config draw their rows in C, and
ui.text_viewgives any app the same text area. - Notes scrolls the same way, and Delete deletes forward in every text editor.
Desk
- Desk windows keep what each buffer shows, so a still window costs nothing.
- The pause menu and the system menu ride over a paused game.
- The desk column holds every app the home's Apps tab does, Notes included.
- The T-Deck's trackball steps every fullscreen surface, the home included.
v0.14.1 — fix release
Fix release for v0.14.
- Firmware updates over WiFi stream straight into the spare slot, so the Guition boards (whose internal flash cannot hold the image) update again.
- Compiled carts in the browser no longer fail to load on a first open that grows the console's memory.
v0.14 — compiled carts and a store
Moybyte v0.14: compiled carts, and a store.
Compiled carts
- Carts written in C, C++ or Rust and built as WebAssembly run on every tier: compiled natively on the boards, on the browser's own engine, and on the host.
- A compiled cart keeps its own files (write, erase and list) and can use the console's second core for its own work.
- Its frames go straight from the cart's memory to the glass, and its sound reaches the speaker in about 29 ms.
- A cart built for a newer console is refused before it loads, with a "Needs an update" notice.
- Settings → Unknown sources lets the owner run unsigned compiled carts, with a plain warning about what that allows.
- Showcase carts: Jet Teapot, ESP 88 and Doom run on every console board.
Get Carts
- The console's store installs published carts from moybyte-org/carts over WiFi, on the boards and in the browser.
- A cart the engine could not load is refused before its download.
Covers
- A cart's cover is its
cover.png, shown on the shelf and in the store in direct colour. A PICO-8 import's label becomes its cover.
Faster and steadier
- USB pushes run at the card's and the flash's pace, from C.
- A play frame allocates nothing, so the console no longer feeds the collector during a game.
- With PERF DIAG off, the console writes no periodic line at all.
- T-Deck: boot no longer drops to the REPL on early serial traffic, plus memory and SD read fixes.
- moy core 0.4.
v0.13 — a fifth board and one frame scheduler
Moybyte v0.13 — a fifth board, and one scheduler for every game's frame.
New board: Guition JC8012P4A1C 10.1″ (beta)
- The second ESP32-P4 console: a landscape desk on portrait glass, rotated onto the panel by the P4's PPA, with the GSL3680 touch calibrated and the same windowed desktop as the Waveshare P4.
- The whole desk composites off the CPU, and big blocks rotate through internal SRAM, so a full frame costs about half what it first did.
- Every on-glass check passes on it (24 of 24), and it builds, flashes and updates over the air like the other boards.
- It ships as beta. Fast games make the whole panel blink for a frame, and WiFi is off on the board's factory C6 radio firmware. Both are tracked in #220.
Games run at the speed they declare
- One scheduler runs a game's logic at its manifest rate (30, or 60 with
"fps": 60) and draws on whatever divisor the board can hold. Logic never slows down to match the drawing, which is what FRAMESKIP and the frame governor did; both are gone. - A game written against
dtcan declare"fps": "free"and run with the loop. Brick Siege, Bullet Storm and the other dt-scaled seed games now do. - Ported PICO-8 carts that declare 60 run their logic at 60 even when a board draws them slower.
- Settings → STEADY decides how long the scheduler remembers before it changes the divisor.
PICO-8
- A cart's PICO-8 tabs import as separate files, and a cart may be several scripts, each compiled as its own chunk.
- Palette, inverted fill,
flip, font, line and title fixes, re-vendored from moy-spec. split,rnd,srand, the palette lookup span andmapare C verbs on the PICO-8 tier, and the bit operators share one 16.16 lane.- A Lua cart's
cfg()reads its config on the boards; it always returned the default before.
Text, scripts and files
- Notes is the console's one text app. NEW asks for a name, a note carries an edit toolbar, and every kind of text file opens in the same editor (JSON opens indented).
- The vault holds plain
.md,.pyand.luafiles under their whole names, and RUN on a script runs it as a cart with no folder. - Files opens an item by what it is and comes back to itself afterwards; the projects list scrolls under a finger; a cart's own image opens in Paint.
- The Code tab holds a file rather than a whole cart, and a Lua cart's code commits through Lua's parser.
Storage
- A picture is one format (deflated palette indices) on every tier, and it is read a kilobyte at a time, never as a whole raster.
- A save is two writes and a stamped backup instead of five metadata operations, and every editor tab commits on an idle debounce, so switching tabs finds nothing left to write.
- Changed: files in the older picture, notebook and text formats read as absent instead of being migrated, since there are no users to migrate yet. They stay on the card unused until it is wiped.
Input and screens
- Tap targets keep a physical size floor on the boards that declare their glass size, independent of the font scale.
- Lua carts get the pointer, with a mouse's lifetime, and can quit like Python carts.
- The WiFi radio is a lease: off unless the web console, an update, the WiFi panel, a network cart or a match is holding it.
- The map editor gains an overview rung, so every shipped map fits on screen whole.
Performance
- The Guition S3 runs Hop Quest, Sky Run and Star Catcher at 60 fps, up from 50 to 54: the game snapshot copies on the GDMA engine instead of the CPU.
- The T-Deck's PSRAM runs at 120 MHz with the temperature retune.
- A fullscreen play frame allocates nothing it allocated last frame, and the seed games' particle loops stopped reallocating every frame.
- A cart with a painted backdrop, a child's own drawing as wallpaper, and Paint's 1:1 view keep working however long the console has been up.
- Per-cart numbers for all four console boards are in #66.
Fixes
- A typed field (WiFi password, cart info, new script, scene tag, a rename) no longer commits on a still-held Enter.
- Bluetooth keyboard bonds survive a power cut in the middle of a save.
- The Guition S3's flush frees a band's queue slot when the band starts and ends a failed frame with chip-select released.
- A cover image the heap refuses is a missing thumbnail, not a dead session; a cart whose source will not read is refused before the editor opens.
- Syncing a board's store to the browser is bounded by a chunk, not by the biggest cart on the card.
Removed
- The Sheets app and the
table()verb, thetext()verb and cart-folderdocs/assets, and the Beeper cart (its sound verbs are an example in the cart API doc).
Under the hood
- Every console board boots through one shared boot spine, and the four touch drivers share one raw-to-screen mapping.
- The release gate and
make preflightrun exactly what CI runs, including the checks that compare built artifacts with their sources, and the OTA update browser suite joined CI. - Every board tool asks which board it is driving instead of assuming a serial port, and
make device-portnames every attached board. - Several large modules split along their seams, and 28,000 lines of unused vendored Lua left the repository.
Known issues
- Guition 10.1″: fast games blink the panel for a frame; WiFi is off on the factory C6 firmware (#220).
- Guition 10.1″: Hop Quest declares 60 fps but draws at about 45 there, so its frame rate alternates between 45 and 30 every few seconds.
Firmware build 10. Flash from the site, or take it over the air on the stable channel.
v0.12 — PICO-8 comes to Moybyte
Moybyte v0.12 — PICO-8 comes to the console.
PICO-8 import
- Drop a
.p8or.p8.pnginto the browser console and it converts and plays — the importer reads the cart, ports its Lua under a generated shim, and reports up front which side of the line a cart is on. - Ported carts run on a real PICO-8 machine — the 64 KB memory map, the screen palette, the fill pattern, the flags, coroutines, and the 3×5 system font — so
peek/poke,memcpyfades and the table-formpal()all behave, and the hot verbs run as C rather than Lua. - The 12-cart corpus (Celeste, Poom, Pico Off Road, Dungeons & Diagrams, …) runs; the ones that don't are named, not silent.
moy core 0.3
- The 3D verbs
tri/trib/sspr/tlineare core now, not provisional. - New on every tier:
oval/ovalb, thefillpdither,sget/ssetsheet-pixel read/write, and the screen palette (pal(c0, c1, 1)). - The screen palette composes into the draw table instead of a flush-time pass — the pass measured ~half a frame on every board, so a cart sets it before
clsand it costs nothing per pixel. - One cart, every tier: the SPEC.md §11 conformance suite is pixel-identical on the host and all three boards (verified on glass).
Performance (the S3 boards)
- The Lua VM's hot loop and lookups live in IRAM; a
{}, a printed integer, and a float result each stopped costing a malloc; the small-object pool gives chunks back; and the PSRAM reserve keeps a full card of carts loadable.
Fixes
- The screen palette and the table-form
pal()show PICO-8's real colours (D&D's floor is navy, Off Road's title is white again). - A cart's palette and its tile flags reach the raster.
- The PICO-8 machine's memory is reserved at boot, so Lua carts run on every board even after a long session fragments the heap.
- A census use-after-free the newer toolchain caught.
Tooling
- One
push_cartfor every board (transport isboard.tomldata). - The conformance harness reaches the S3 boards (
--board), and a scene push no longer rescans the whole store (130 s → 9 s on the Guition). - A heap-fragmentation probe reports the largest free block at each cart exit (
MEMX, measurement mode).
Firmware build 9. Flash from the site, or take it over the air on the stable channel.