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