Repository navigation
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.