Please, check our SMD/THT services - smd.lotharek.pl; from idea to ready devices
Please, check our SMD/THT services - smd.lotharek.pl; from idea to ready devices
PID: LOTH000263
Every SuperULA is individually tested on a working ZX Spectrum before it leaves the workshop. If it ships, it works.
My support will be genuinely helpful — as long as you are upgrading a working machine. A Spectrum that boots, shows a picture, and responds to the keyboard. That is the baseline.
Installation is not the hardest mod you will ever do, but it is not a beginner project either. It involves removing the ULA and the RAM, soldering four wires, and fitting the RGB adapter in place of the RF modulator. If you are not confident with your tools and your skills — please have a technician do it, or send the board to me for professional fitting (60 € + postage).
If something does not work after installation — write me an e-mail. I am here to help and I will do my best to get you sorted.
However — and I say this with love — please understand:
I cannot help you if the board you are modifying is a complete corpse that spent the last 30 years in a damp basement. If the Z80 is dead, the edge connector is corroded, the power regulator is gone and half the traces have turned to dust — no upgrade in the world will fix that. SuperULA replaces the ULA, the RAM and the modulator. It does not resurrect the dead.
Start with a machine that works. Then make it extraordinary....
and please always upgrade firmware (FILES tab) .. i have many reports and already improved many things :-)
2 small PCBs set: one 24 × 52 mm board replaces the ULA, all the RAM, second the sound chips and the RF modulator. Main is CORE LOGIC, second is receiver/demuxer and audio/video generator.
SuperULA drops straight into the ULA socket of any Issue 2–6 ZX Spectrum 48K. It does not emulate the Z80 — it drives the real CPU already on your board, generating its clock, interrupts, reset and memory timing exactly as the Ferranti chip did. Everything around that CPU is rebuilt in an FPGA: memory, video, paging, sound and storage.
No cut traces. Four wires. And the machine that boots is whichever machine you tell it to be.
Replaces
Adds
#FFFD / #BFFD ports
Four personalities, each with correct video timing, memory map, contention behaviour and I/O decoding — not approximated, regenerated from first principles.
| Mode | Video timing | RAM |
|---|---|---|
| ZX Spectrum 48K | 312 lines, 224 T/line, 69888 T/frame | 48 KB |
| ZX Spectrum 128K | 311 lines, 228 T/line, 70908 T/frame | 128 KB |
| Pentagon 128 | 320 lines, 224 T/line, 71680 T/frame | up to 4 MB |
| Timex TC2048 | 312 lines, 224 T/line | 48 KB + SCLD modes |
48K, 128K and Timex keep their original memory sizes. Extended memory is available exclusively in Pentagon mode, across three paging schemes.
Mode 00 — Profi (1 MB)
Ports #7FFD + #DFFD. Page = {DFFD[2:0], 7FFD[2:0]} → 64 × 16 KB.DFFD D3 enables all-RAM mode; D4 unlocks the 7FFD paging lock.
Mode 01 — Pentagon 1024 (1 MB)
Ports #7FFD + #EFF7. Page = {7FFD[5], 7FFD[7:6], 7FFD[2:0]} → 64 × 16 KB.EFF7 D2 switches 7FFD D5 between bank-select bit (1 MB) and paging lock (128K). D3 enables all-RAM.
Verified against AUMT memory tester, option 1.
Mode 10 — Pentagon + Scorpion (4 MB)
Ports #7FFD + #1FFD. Page = {1FFD[7:6], 1FFD[4], 7FFD[7:6], 7FFD[2:0]} → 256 × 16 KB.
Full 4 MB addressing with Pentagon-compatible base paging.
Verified against AUMT memory tester, option 6.
Standard ULA rendering includes cycle-accurate memory contention — the timing quirks that games actually depend on.
Timex SCLD is implemented in full:
#F4 paging registerULAplus provides a 64-colour palette via ports $BF3B / $FF3B, held in on-chip block RAM and read back correctly by software that queries it.
Output is 9-bit RGB (3-3-3) with composite sync, digital, straight to the adapter board.
Behind the ULA sits a PSRAM controller running at 56 MHz across a 23-bit address space, fronted by an intelligent arbiter.
The arbiter juggles three masters — CPU reads, CPU writes and video fetches — and adds a prefetch engine that speculatively pulls the next likely byte while the bus is idle. Write buffering, request ageing and prefetch invalidation are all handled in hardware, so the Z80 stalls as rarely as physically possible.
Shadow ROM. All ROM images live in PSRAM, not in an EPROM. At power-on SuperULA copies 32 × 16 KB ROM slots (512 KB) from SPI flash into PSRAM. The physical ROM socket is still used when an external device pages its own ROM.
External ROM auto-detection. SuperULA probes N_ROM_CS at boot. If a DivMMC-style interface is present, it steps back and lets that board own the ROM space. If not, it serves ROM itself. No jumpers, no settings — it works out what it’s plugged into.
This is the part worth understanding, because it explains the whole board.
SuperULA streams RGB, composite sync, the entire Z80 bus and every audio enable flag off-board over a custom 8-bit synchronous link running at 56 MHz — a framed, self-synchronising protocol. At the far end sits the second FPGA, on the supplied RGB adapter board.
That adapter turns the stream into the picture and the sound. The AY chips, SAA1099, Covox and SounDrive all live there, watching the Z80 bus in real time, and their output leaves on the same Mini-DIN9 connector as the video.
One cable out of the Spectrum. Video and stereo audio, both digital-clean, both from the same link.
Every audio device is individually switchable per profile — you decide which machine gets which chips.
You store four independent profiles in flash. Each carries its own machine type, ROM set, memory configuration, ULAplus enable and full audio device selection.
Press the button and the screen goes black: SuperULA takes over the video and the CPU, and shows you a menu.
//ONLY WHEN NO EXTERNAL ROM DETECTED; if detected — config.tap must be loaded/
There is no keyboard controller involved. While the CPU is held in reset, SuperULA drives the highest address lines itself and reads the keyboard matrix directly — the same trick the ULA has always used, turned inward.
Two seconds after every reset a discreet Profile: banner appears in the lower border, so you always know which machine you booted.
Pick a profile and the machine reboots as a different computer. Instantly.
You never need an external programmer. SuperULA exposes the SPI flash to the Z80 through ports $00F3 and $01F3 — ROM images and configuration can be rewritten from a program running on the Spectrum.
Configuration is stored with a magic header, version field and XOR checksum. If the block fails validation, SuperULA falls back to safe defaults rather than booting into a corrupted state.
The FPGA bitstream itself updates over USB-C.
| FPGA (main) | Gowin GW1N-2 |
| FPGA (RGB adapter) | Gowin GW1N, QFN48 — video + sound |
| Link between them | Custom 8-bit synchronous, 56 MHz |
| RAM | 64 Mbit (8 MB) PSRAM, BGA, bottom-mounted |
| ROM | 32 Mbit SPI flash |
| Bitstream update | USB-C |
| PCB | 4-layer, 24 × 52 mm, double-sided |
| Video out | 9-bit RGB (3-3-3) + CSYNC, via Sega Mini-DIN9 adapter |
| Wires to Z80 | 3 — M1, RESET, IORQ |
| Wires to ROM | 1 - new ROMS_CS_N |
Works with external DivMMC, DivIDE, Kempston joystick interfaces and other edge-connector peripherals. Directly compatible with ESXDOS for SD card mass storage.
SuperULA does not produce composite or YUV video. RGB only.
Direct connections only. No electronics between the SCART and Mini-DIN pins.
| Signal | Mini-DIN | SCART | Remarks |
|---|---|---|---|
| RED | 7 | 15 | direct connection |
| GREEN | 3 | 11 | direct connection |
| BLUE | 1 | 7 | direct connection |
| CSYNC | 4, 5 | 20 | direct connection |
| AUDIO LEFT | 8 | 2 | direct connection |
| AUDIO RIGHT | 9 | 6 | direct connection |
| BLANK | 2 | 16 | direct connection |
| GND | 0 / shield | 4, 18, … | direct connection |
In the reference photo, the pin shown as +5V is in fact the blanking signal — ignore the label.
Every clock-domain crossing is explicitly constrained. The bus snapshot, memory arbiter and CPU clock generator are timed against real, verified multicycle relationships rather than blanket exceptions. The design closes because it is correct — not because the analyser was told to look away.
![]() |
![]() |
![]() |
|
![]() |
|||
Real hardware video: Sr_ULA + MEDUSA + Bizon
Inside BOX:
⚠️ WARNING
Before flashing the FPGA, disconnect any device attached to the edge connector.
Flashing with a device connected may:
FLASHING FPGA:
All You need is regular USB-C cable (good quality please!). DivMMC has built in JTAG USB bridge programmer. Do not buy any external programmer! NOT NEEDED !
WARNINGS:
LOTHAREK FHU Przemysław Krawczyk
ul. Bukowa 18
42-610 Miasteczko Śląskie, Polska
E-mail: lotharek@lotharek.pl
NIP UE: PL6312246599
Identyfikator produktu (PID): LOTH000263
Nazwa produktu: SuperULA
Pobierz Deklarację Zgodności UE (PDF)
Produkt przeznaczony jest dla użytkowników posiadających podstawową wiedzę techniczną w zakresie montażu i obsługi urządzeń elektronicznych. Przed instalacją lub podłączeniem urządzenia należy odłączyć zasilanie sprzętu, w którym jest ono montowane.
Produkt spełnia wymagania norm RoHS oraz WEEE. Urządzenia elektroniczne i elektryczne nie powinny być wyrzucane razem z odpadami komunalnymi — po zakończeniu eksploatacji należy przekazać je do punktu zbiórki zużytego sprzętu elektronicznego.
LOTHAREK FHU Przemysław Krawczyk
Bukowa 18
42-610 Miasteczko Śląskie, Poland
E-mail: lotharek@lotharek.pl
EU VAT: PL6312246599
Product identifier (PID): LOTH000263
Product name: SuperULA
Download EU Declaration of Conformity (PDF)
This product is intended for users with basic technical knowledge of installing and handling electronic devices. Disconnect power from the host device before installing or connecting this product.
This product complies with RoHS and WEEE requirements. Electronic and electrical equipment must not be disposed of with household waste — please take it to an appropriate e-waste collection point at the end of its life.
LOTHAREK FHU Przemysław Krawczyk
Bukowa 18
42-610 Miasteczko Śląskie, Polen
E-Mail: lotharek@lotharek.pl
USt-IdNr.: PL6312246599
Produktkennzeichnung (PID): LOTH000263
Produktname: SuperULA
EU-Konformitätserklärung herunterladen (PDF)
Dieses Produkt richtet sich an Nutzer mit grundlegenden technischen Kenntnissen beim Einbau und Umgang mit elektronischen Geräten. Trennen Sie das Zielgerät vor dem Einbau oder Anschluss von der Stromversorgung.
Dieses Produkt erfüllt die Anforderungen von RoHS und WEEE. Elektro- und Elektronikgeräte dürfen nicht über den Hausmüll entsorgt werden — bitte geben Sie das Gerät am Ende seiner Lebensdauer bei einer entsprechenden Sammelstelle ab.