Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 12:02 05 Dec 2026 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : A ZX Spectrum emulator app for the PicoMite

Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 12327
Posted: 06:43pm 04 Dec 2026
Copy link to clipboard 
Print this post

New: a ZX Spectrum emulator for the PicoMite

The PicoMite now has a Sinclair ZX Spectrum, the 48K and the 128K, as a loadable program: spectrum.app, started with RUN like the other apps. It is pico-spec, DnCraptor's port of the ESPectrum emulator by Víctor Iborra and David Crespo, the same emulator as the Colour Maximite 2's. It runs at the Spectrum's own 50 frames a second, with its sound, its tapes and snapshots, and pico-spec's on-screen menus and file browser. The Spectrum's ROMs are built in, so it needs nothing else to start.

It runs on the PicoMitePC3 firmware (the PicoComputer 3, the PicoComputer 2 and the Olimex RP2350pc) and the PicoMitePicoCalc firmware, V8.00.00b6 or later. It should also run on the PicoMiteHDMIUSB with its PSRAM enabled, but so far it has only been tried on a Pico Computer 3 and a PicoCalc.

DRIVE "B:" : CHDIR "/spectrum"
RUN "spectrum.app"


Using it
• On the PicoComputer 3 it needs OPTION RESOLUTION 640x480. On the PicoCalc there is nothing to set: its 320x240 picture sits in the middle of the 320x320 screen.
• It starts as a 48K Spectrum. The F1 menu chooses another machine, the 128K or the Pentagon and Byte machines pico-spec also has, and it starts as that one from then on. The 48K and 128K have been tried; the others are as pico-spec has them.
• Put your tapes and snapshots in B:/spectrum and open them with F5, which starts a tape by itself, or choose a tape and type LOAD "" as on a real Spectrum. No games are included.
• Snapshots save your place in a game: F4 saves one and F3 loads it.

+--------------+---------------------------------------------+
| Keys         | What they do                                |
+==============+=============================================+
| F1           | The menu                                    |
| F3, F4       | Load and save a snapshot, in numbered slots |
| F5           | Open a file                                 |
| F6           | Start or stop the tape                      |
| F9, F10      | Volume down and up                          |
| F11          | Reset the Spectrum                          |
| F12          | Restart the emulator (it asks first)        |
| Shift        | Caps Shift                                  |
| Ctrl         | Symbol Shift                                |
| Ctrl+Alt+End | Back to MMBasic                             |
+--------------+---------------------------------------------+

Ctrl-C is a Spectrum key here (Symbol Shift and C), so it does not end the program. USB gamepads step through its menus and are its joysticks, Kempston unless the menu says otherwise, as on the Colour Maximite 2; they have not been tried on the PicoMite yet.

On the PicoCalc Ctrl+Alt+End is Ctrl+Alt+Shift+Del, and F6 to F10 are Shift with F1 to F5. F11 and F12 cannot be typed there (Ctrl+Shift+F1 and F2 arrive with Ctrl held), so reset or restart it from the F1 menu.


Speed and sound
It has 28% of its time to spare on a PicoComputer 3 at 315 MHz, and 39% on a PicoCalc at 436 MHz. The heart of the emulator, its Z80 and the code that draws the picture, is copied into the RP2350's own SRAM as it starts (about 70 KB with its stack), and the rest runs from the PSRAM. That is why it needs 640x480 on the PicoComputer 3: at 720x576 the larger framebuffer leaves too little SRAM. RUN "spectrum.app", "-stats" prints its frames a second and its time to spare every 5 seconds.

The sound, the beeper and the 128K's AY chip, comes through OPTION AUDIO's output.

Installing
It is in the spectrum folder of PicoMite_Programs-8.00.00b6.zip, on the V8.00.00b6 release, updated on 4 December: https://github.com/UKTailwind/PicoMite/releases/tag/PicoMite-V8.00.00b6 . The firmware has not changed, so if you already have b6, just download the zip again; on the PicoCalc it runs on the PicoMitePicoCalc b6 firmware posted here. Copy the spectrum folder to the root of the SD card with a card reader, or by TFTP, which keeps a file's exact size (XMODEM pads it, and RUN then refuses it). The PicoMite App User Guide, in the release's supplementary manuals zip, has a new chapter on it.


Licences and source
spectrum.app is under the GNU GPL version 3, as pico-spec is; miniz and the WD1793 emulation in it are under the MIT licence, and its MP3 decoder is RealNetworks' Helix, under the RealNetworks Public Source License. The licences are in the zip's licences folder, and the source is apps/spectrum in the firmware's repository, https://github.com/UKTailwind/PicoMite , which fetches pico-spec at the commit named there and applies its patches.

The ROMs are not under the GPL. Amstrad have kindly given their permission for the redistribution of the Sinclair and Amstrad ROMs (the 48K, 128K, +2 and their Spanish versions) but retain that copyright. That permission does not cover the others built in (TR-DOS, the Pentagon, Byte and Profi ROMs, Mr Gluk's reset service and Paul Farrow's ZX81 ROM), which are as pico-spec has them and belong to their authors.

Thanks to DnCraptor for pico-spec, to Víctor Iborra and David Crespo for ESPectrum, and to José Luis Sánchez for its Z80 emulation.
 
terekgabor
Senior Member

Joined: 02/01/2026
Location: Hungary
Posts: 180
Posted: 07:40pm 04 Dec 2026
Copy link to clipboard 
Print this post

Peter! Working great on PicoCalc! I like it very much!

G@bor
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026