Repository navigation
The console's firmware: pinyol 43d703a, with sixteen games in its flash and the Cirera menu. Twenty-eight commits since 0.9.1.
- The console does not crash on what a game does. A draw call that draws again from inside its own options, a Lua error raised where no game could catch it, a
requirethat loops back on itself, a pattern that never ends, a font zero pixels high, a WAV past 2 GB: each is an error on the screen now, not a reset. Calls nested through C and nested JSON (what the radio receives too) stop within the console's 16 KB stack: apcallnine deep, a JSON thirty-two deep. - The system update takes pinyol only. An image from another project is refused before it is written.
- A game resent over the cable keeps its saves, and a save made in the last moment is kept too. The card's installer puts pinyol in place without touching
saves/. - Point lights in
raycast(): Celler's candles light the gallery round them. Unlit columns run the old loop, so it costs only where there is light. - The world is skipped under a partial cover (a full-screen canvas over it): the frame is cheaper where nothing of it shows.
- The site has an Actualizar la consola button beside the installer: the system alone, with the games and the saves kept.
- Library: a game's zip may weigh up to 64 MB.
The games in the flash are the same sixteen as in 0.9.1; Celler is the only one that changed (its candles).
Easiest: install it from the browser. Open https://pinyol.ipaud.dev/consola/#instalar in Chrome or Edge on a computer, plug the board in over USB and press Instalar en la consola (or Actualizar la consola to keep what is on it).
With esptool, the whole flash in one image:
esptool.py --chip esp32s3 -b 921600 write_flash 0x0 pinyol-console-0.9.2-full.binor the five pieces where idf.py flash puts them:
esptool.py --chip esp32s3 -b 921600 write_flash 0x0 bootloader.bin 0x8000 partition-table.bin \
0xf000 ota_data_initial.bin 0x20000 pinyol_console.bin 0x420000 game.binBuilt from commit 43d703a with ESP-IDF 5.4.2.
Tested on a Freenove FNK0104N (ESP32-S3R8, 16 MB flash): this release's pinyol_console.bin and ota_data_initial.bin were written to it, with the games on its microSD. It booted and ran juntos with the radio on at 60 fps with no error in its log; the stack limits, the cable replace keeping its saves and the refusal of a foreign image were checked on the board with the same code before the release. game.bin and the full 16 MB image were not written to a board this time.