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