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                                                                                                                                   

Shop categories

SuperULA

PID: LOTH000263


SuperULA

Our price:

379.00 PLN

Weight: 0.1 kg

Login or register to buy

Buy more, pay less:

  • for 2 pieces and more - 3% (367.63 PLN)
  • for 5 pieces and more - 3% (367.63 PLN)
  • for 10 pieces and more - 3% (367.63 PLN)
  • for 50 pieces and more - 3% (367.63 PLN)
Like Ask Tell

 

 

 

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.


What it replaces, what it adds

Replaces

  • The original Ferranti/Amstrad ULA — no more failed chips, no more overheating
  • All 16 × DRAM chips (4116 / 4164) — SuperULA carries 8 MB of onboard PSRAM
  • The RF modulator — replaced by clean digital RGB out via the included Mini-DIN9 adapter

Adds

  • Since firmware 1.04 - Divmmc  - sd card mass storage device ( external sd module needed LIKE THIS ONE)
  • TurboSound — 2 × AY-3-8912 on the standard #FFFD / #BFFD ports
  • SAA1099 — 6-voice stereo
  • ULAplus — 64-colour extended palette
  • Covox mono (Pentagon / SpecDrum standard)
  • SounDrive — 4-channel stereo Covox
  • Extended RAM up to 4 MB (Pentagon mode)
  • Four machine personalities, switchable from an on-screen menu
  • Shadow ROM — 32 × 16 KB ROM images in flash, no EPROM needed
  • In-system flashing from a program running on the Spectrum itself
  • 3,7MB of user flash 

 


Machine modes

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.

Pentagon memory paging

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.


Video

Standard ULA rendering includes cycle-accurate memory contention — the timing quirks that games actually depend on.

Timex SCLD is implemented in full:

  • Dual screen — switch between two display files
  • HiColor — 8×1 attribute resolution instead of 8×8
  • HiRes — 512×192 monochrome
  • SCLD screen-disable and the #F4 paging register

ULAplus 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.


Memory

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.


Sound — and how it actually gets out

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.


Profiles and the on-screen menu

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.

  • Profile list, with each name read live from flash
  • DiagROM — boot straight into the diagnostic ROM
  • Config — boot the on-board configuration utility *
  • ENTER to move, SPACE to select

//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.


In-system flashing

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.


Hardware specifications

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

Compatibility

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.


RGB adapter wiring (Mini-DIN9 → SCART)

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.


Engineering notes

  • Written in SystemVerilog, ~5 300 lines
  • Clocking: single 12 MHz crystal → PLL → 56 MHz and 28 MHz domains
  • Timing fully closed with margin: 65.7 MHz achieved on the 56 MHz domain, 45.3 MHz on the 28 MHz domain — measured at the worst-case corner (1.71 V, 85 °C)

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.


Please read this first. Five times, at least.

  • If you are not confident with soldering, or you don’t have the right tools, don’t do this yourself. Have a technician fit it, or send your Spectrum in — installation is 60 € plus postage. Contact us to arrange it.
  • The wrong tool, or the wrong hand, will damage your SuperULA. Installation is easy; inexperience is expensive.
  • Any damage or harm to your hardware is not covered by any warranty.
  • SuperULA does not produce YUV and never will. That is a part of history best forgotten. Brrrrr.
  • The concept assumes the RF modulator is removed and the supplied Sega Mini-DIN9 RGB adapter is fitted in its place.
  • Automatic external ROM detection. SuperULA detects when a device carrying its own ROM (e.g. a DivMMC interface) is present on the edge connector. 
  • NEVER USE any metal objects to make connection between SW pins. ONLY TACT SWITCH - extra cable or Your orginal RESET BUTTON ! 

 

 

 

 

 

 


Real hardware video: Sr_ULA + MEDUSA + Bizon

 

 

 

Inside BOX:

  • SuperULA module
  • FPGA RGB adapter
  • Flat ZIF cable

 

 

 


Product gallery


 

Firmware, Flash Generator, installation manuals

https://lothar.dscloud.biz:5001/sharing/PO3cHAho6

 

 

⚠️ WARNING

Before flashing the FPGA, disconnect any device attached to the edge connector.

Flashing with a device connected may:

  • cause permanent damage to the FPGA or the level shifter,
  • leave the system permanently reporting an external device with its own ROM connected to the ZX Spectrum, blocking configuration and/or preventing correct operation.

 

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 !

  • Download last firmware from FILES tab and save it to disk.
  • connect USB C CABLE to Super ULA and to PC
  • in device manager new device will be detected.
  • Follow manual in order to install drivers and download software: https://lotharek.pl/MANUALS/Gowin_FPGA_PROGRAMMER.pdf
  • power off zx spectrum
  • disconnect all devices from edge connector
  • permament shorten pins JTAG_EN together to enable "jtagging" - i do with tweezers PIC
  • power on ZX SPECTRUM 
  • flash it
  • power off, remove jtag_enable connection
  • FPGA USED: GW1N-2B

 

WARNINGS: 

  • do not use any usb hubs! direct computer connection only
  • use decent shortest possible usb c cables 
  • disconnect all usb devices, that may interfere with jtagging ( all virtual com ports, other programmers, Arduino/Rasperry stuff,  etc. 
  • to be sure all works, only mice/Keyboards shall be left.. 
  • I know -  i am overreacting, but maybe it helps :-)

Producent

LOTHAREK FHU Przemysław Krawczyk
ul. Bukowa 18
42-610 Miasteczko Śląskie, Polska
E-mail: lotharek@lotharek.pl
NIP UE: PL6312246599

Identyfikacja produktu

Identyfikator produktu (PID): LOTH000263
Nazwa produktu: SuperULA

Pobierz Deklarację Zgodności UE (PDF)

Informacje o bezpieczeństwie

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.

  • Nieprawidłowy montaż może spowodować uszkodzenie urządzenia lub podłączanego sprzętu.
  • Urządzenie nie jest zabawką — przechowywać poza zasięgiem małych dzieci (zawiera małe elementy).
  • Chronić przed wilgocią, wysoką temperaturą oraz wyładowaniami elektrostatycznymi (ESD).
  • W przypadku wątpliwości co do montażu skontaktuj się z nami przed instalacją.
  • Produkt należy użytkować zgodnie z dołączoną instrukcją / opisem na stronie produktu.

Zgodność z przepisami UE

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.

Manufacturer

LOTHAREK FHU Przemysław Krawczyk
Bukowa 18
42-610 Miasteczko Śląskie, Poland
E-mail: lotharek@lotharek.pl
EU VAT: PL6312246599

Product identification

Product identifier (PID): LOTH000263
Product name: SuperULA

Download EU Declaration of Conformity (PDF)

Safety information

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.

  • Incorrect installation may damage this device or the equipment it is installed in.
  • This is not a toy — keep out of reach of small children (contains small parts).
  • Protect from moisture, high temperature and electrostatic discharge (ESD).
  • If in doubt about installation, please contact us before fitting the device.
  • Use this product only as described in the included instructions / product page.

EU regulatory compliance

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.

Hersteller

LOTHAREK FHU Przemysław Krawczyk
Bukowa 18
42-610 Miasteczko Śląskie, Polen
E-Mail: lotharek@lotharek.pl
USt-IdNr.: PL6312246599

Produktkennzeichnung

Produktkennzeichnung (PID): LOTH000263
Produktname: SuperULA

EU-Konformitätserklärung herunterladen (PDF)

Sicherheitshinweise

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.

  • Ein fehlerhafter Einbau kann dieses Produkt oder das Zielgerät beschädigen.
  • Kein Spielzeug — von Kleinkindern fernhalten (enthält Kleinteile).
  • Vor Feuchtigkeit, hohen Temperaturen und elektrostatischer Entladung (ESD) schützen.
  • Im Zweifel vor dem Einbau bitte Kontakt mit uns aufnehmen.
  • Nur gemäß beiliegender Anleitung / Produktbeschreibung verwenden.

Konformität mit EU-Vorschriften

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.