r/atarist • u/ThePenultimateNinja • 19h ago
The 'ST Pocket' - A dedicated Atari ST emulation handheld that you can make for $40
My goal with this project was to make a dedicated Atari ST handheld device that just works. You can build one yourself using this (free) firmware and a $40 handheld.
For the hardware, I chose the Powkiddy RGB10X, for the following reasons:
- Reasonably priced and has adequate specs to emulate the ST well.
- Available in a warm grey color that is very similar to the ST.
- Has a single analog stick for the mouse.
- Has a 640x480 screen, so it can do true integer scaling of the ST screen in all three display modes.
- Has a headphone jack.
For the software, I built custom firmware based on the Hatari emulator, using Claude Code.
The firmware is tailored to this specific device, and will not work on other handhelds.
It is built using buildroot, and it boots extremely fast - about six seconds to the GEM desktop.
Holding the power button during a game triggers an automatic save state before shutting down. Press the power button again, and it will take you straight back into your game where you left off.
It is intended primarily as a gaming device. Optimizing the screen to work well on the display meant some compromises had to be made, and demos etc. might not display properly.
Most ST fans are already familiar with the Hatari emulator, but there are several new features added specifically for this build: a custom virtual keyboard designed to be easier to use on the small screen (based on the hatariB one), a battery icon, buttons to adjust mouse speed, and a 'brake' button for the mouse, which allows you to slow it down to 25% speed during use for fine control. There is a custom save state menu with four slots.
Unlike most Hatari builds, you don't have to toggle back and forth between joystick and mouse - the D-pad is the Atari joystick, and the analog stick controls the mouse.
I hope others will build this handheld too - an RGB10X costs about $40, and this firmware will turn it into a dedicated Atari ST appliance.
I made this device for my own use, and thought it would be nice to share with other ST fans. If you encounter any weird behavior please let me know, but please note that I am not accepting feature requests.
Download here:
https://archive.org/details/st-pocket-1.0-source
Installation instructions:
Write the image to an Micro SD card (16GB or larger) using balenaEtcher or similar.
Put the card in the slot on the left side of the handheld and power it on. On first boot, it will make a second partition called USERDATA.
Wait for it to finish. You should get an error message that the TOS image is missing. Press the power button for 2 seconds to power down the unit, and remove the Micro SD card.
Copy your TOS image (TOS 1.02 recommended) to the 'tos' folder in the USERDATA partition.
Copy your disk images to the 'disks' folder. Supports ST, MSA, DIM and STX disk images (zipped is fine).
Put the card back in the handheld, power on, and enjoy!
.........................................................
The unit runs the Hatari emulator, but there are several custom features specific to this firmware:
- The stick is the mouse and the D-pad is the joystick, both at the same time. There is no switching between them.
- The plus and minus buttons change the mouse speed, so you can fine-tune it to your liking, or even per game.
- Hold R1 to temporarily slow the mouse to a quarter speed for exact work.
- Start opens the Hatari Menu, the stick or the D-pad moves the pointer, Y or B clicks, and A goes back.
- An on-screen keyboard with the full UK ST layout that can be toggled between a standard layout, or a tenkeyless one, which is a bit bigger and easier to read if you don't need the numpad.
- A quick save menu (Select) with 4 save slots. Each slot shows the name of the disk, and the unit asks before it loads or saves over a slot.
- Hold the power button in a game, and the unit saves the game and switches off. At the next power on, the game continues where you left off.
- To shut down without saving a snapshot, press Start to open the Hatari menu, then press the power button.
- A small battery icon in the screen border. It turns red when the battery is low and shows a lightning mark while charging.
- At very low battery, the unit saves and switches off by itself, so a flat battery never loses your game.
- Volume and brightness bars on the screen. The unit remembers your levels.
- The power light turns red while the ST floppy drive is in use, like a real drive light.
- The disk browser opens in your disks folder and cannot leave it. The other file pickers open only in their own folders, so they cannot damage the system files.
- Menu options that can break the unit are removed.
- The unit remembers your machine and TOS choice between starts.
- It finds any TOS file in the tos folder by itself, and shows a clear message if there is none.
- Your files go on their own partition on the Micro SD card, which the unit makes at the first start. Copying games from a PC can never touch the system files.
- You can change the button layout in a text file on the card.
- It starts straight to the GEM desktop in a few seconds, with no text on the screen.
- A sharp picture with true integer scaling, and no tearing.




