Mplatform

deki-miyoo-boards

The Miyoo Mini as a build target. Pick it in the Build panel: Build makes an app for the Miyoo's menu, and Install puts it on the handheld's SD card, where it shows in Apps, with the stock firmware or Onion OS.

chip
ARM Cortex-A7
depends on
deki-input

A handheld is a package too. The Miyoo Mini runs Linux on a dual-core ARM Cortex-A7 with a 640x480 screen, and the game is a Linux program built for it with Arm’s cross compiler, which the editor downloads and checks itself.

TargetHandheldScreenInput
miyoo_miniMiyoo Mini, stock firmware or Onion OS320x240 in 32-bit colour, scaled 2x onto the 640x480 panelThe buttons and d-pad, as keys, through deki-input

The game draws at 320x240 in the panel’s own 32-bit colour. A thread of its own scales each frame up into the panel’s framebuffer, with the CPU’s NEON vector unit, and flips to it in step with the panel’s refresh, which it measures when the game starts. Frames are shown whole and evenly: a game at 30 frames a second shows 30 even ones, and a frame that stays up longer than the rest is named in the log as a hitch. The frame-rate counter counts frames as they go up on the panel, not as the game’s loop turns.

deki-3d’s software rasteriser shares the work between both cores. Measured on a Miyoo Mini, a lit, textured island of 6,000 triangles holds the panel’s 60 frames a second, and one of 13,000 holds 30.

Install copies the app to a card in a card reader: every Miyoo card in a removable drive is listed, with whether it has the stock firmware or Onion (tested on Onion; stock is expected to work the same way), and each file is read back and checked before it replaces the old app, so a card pulled out halfway still has the old one.

It is in the Package Manager from Deki 0.30. The toolchain is pinned for Windows so far, and sound, the battery and the brightness are not done yet. Details are in the README.

Questions

Can I make a game for the Miyoo Mini?

Yes. Deki’s editor builds a game for the Miyoo Mini and installs it on the SD card, where it shows in Apps on the stock firmware or Onion OS. The game is a Linux program built with Arm’s cross compiler, which the editor downloads itself. The package is in the Package Manager from Deki 0.30.

Can the Miyoo Mini run 3D games?

Yes. deki-3d’s software rasteriser shares the work between the Miyoo Mini’s two cores: a lit, textured scene of 6,000 triangles holds 60 frames a second, and one of 13,000 holds 30.

What does not work yet?

Sound, the battery and the brightness. It has been tested on Onion OS; the stock firmware is expected to work the same way. The toolchain is pinned for Windows so far.

Sponsors

all thanks →

Companies that provide hardware so Deki can run on it. Each board gets an official Deki package, kept maintained, with examples ready to run.

Friends

Projects whose work Deki uses or runs on.