Mplatform

deki-anbernic-boards

The Anbernic RG40XX H as a build target. Pick it in the Build panel: Build makes an app for the handheld's stock firmware, and Install puts it on the SD card or sends it over Wi-Fi, where it shows in the Apps list.

chip
ARM Cortex-A53
depends on
deki-input, deki-rendering

A handheld is a package too. The Anbernic RG40XX H runs Linux on an Allwinner H700, four ARM Cortex-A53 cores, with a 640x480 screen, buttons and two sticks, and the game is a Linux program built for it with Arm’s cross compiler, which the editor downloads and checks itself. The RG40XX H was provided by Anbernic.

TargetHandheldScreenInput
anbernic_rg40xx_hAnbernic RG40XX H, stock firmware640x480 in 32-bit colour, the panel’s own sizeThe buttons, the d-pad and the left stick as keys, and both sticks as sticks, through deki-input

The game draws at the panel’s own 640x480 and is handed to a thread of its own that shows each frame in step with the panel’s refresh, without a copy. Pixel art drawn at twice its size moves a screen pixel at a time with the camera’s Pixel Perfect on.

Install copies the app to a card in a card reader, or over Wi-Fi to the handheld with the card still inside: give the platform the handheld’s address, and the editor logs in with your SSH key. Either way each file is checked before it replaces the old app, the script that starts it goes last, and an app the editor did not install is left alone.

It is in the Package Manager from Deki 0.40. 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 Anbernic RG40XX H?

Yes. Deki’s editor builds a game for the RG40XX H’s stock firmware and installs it on the SD card or over Wi-Fi, where it shows in the Apps list. 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.40.

How fast is it?

The first-game guide’s farm, a four-layer isometric map drawn at twice its size on the 640x480 screen, runs at the panel’s 60 frames a second.

What does not work yet?

Sound, the battery, the brightness, rumble and HDMI out. 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.