

VideoULA Programmer
VideoULA replacement for BBC Micro - 44 pin ATF1504AS version
- Size
- 56 × 38 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 10
- Nets
- 34
- Pads
- 55
- Tracks, vias
- 78, 0
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 4 Sep 2026
- Updated
- 4 Sep 2026
Overview
VideoULA Programmer is an open-source printed circuit board by kgl2001, from the kgl2001/VideoULA_V03 repository on GitHub. It is a 2-layer board of 56 × 38 mm with 10 parts on 34 nets, routed with 78 tracks and 0 vias.
Its parts include 2 connectors, 1 resistor, 1 IC and 1 switch. It belongs with the interfaces and adapters boards of this library.
README
README.mdVideoULA V03 — BBC Micro Video ULA Replacement
44-pin Atmel ATF1504AS CPLD Version
This repository contains the hardware design and firmware for the VideoULA V03, a drop-in replacement for the VC2069 Video ULA (IC6) in the Acorn BBC Micro Model B and Master 128.
Project Overview
The original BBC Micro Video ULA (IC6) is a custom ASIC that is no longer manufactured. Failed or missing ULAs result in a non-functional machine. This project provides a modern replacement using a CPLD and a small external SRAM for palette storage.
There are three hardware versions of this replacement, each in a separate repository:
| Version | CPLD | Macrocells | Tool | Repository |
|---|---|---|---|---|
| V01 | Xilinx XC9572XL-10-VQ44 | 72 | ISE 14.7 | VideoULA_V01 |
| V02 | Xilinx XC9572XL-10-VQ64 | 72 | ISE 14.7 | VideoULA_V02 |
| V03 | Atmel ATF1504AS-10AU44 | 64 | Quartus 13.0 SP1 | This repo |
All three versions share the same 28-pin DIP footprint as the original ULA and are pin-compatible with the BBC Micro motherboard.
V03 Hardware
- CPLD: Atmel ATF1504AS-10AU44 (64 macrocells, 5V) — still in production
- SRAM: ISSI IS62C256AL-45TLI (32K×8, 5V, TSOP-28, 45ns) — only locations 0-15 and bits 0-3 used
- Oscillator: 48MHz SMD oscillator (3225 package, 5V) — optional in 16MHz mode
- Clock buffer: 74LVC1G17 (SOT-23) — Schmitt trigger buffer on 16MHz CLK_IN
- No LDO required — everything runs at 5V
Key differences from V01/V02
- 5V CPLD — ATF1504AS operates at 5V throughout, no LDO required
- Higher output voltage — 5V logic outputs directly compatible with Master 128 custom ICs requiring higher logic 1 voltage; no output clock buffering needed
- Still in production — ATF1504AS is actively manufactured by Microchip, unlike the obsolete XC9572XL
- 64 macrocells — slightly fewer than the XC9572XL's 72, but sufficient for the design (52/64 used in 48MHz build)
- Quartus 13.0 SP1 — uses Altera/Intel Quartus instead of Xilinx ISE
- Separate CLK_16M and CLK_48M GCK pins — no solder bridge needed to switch modes
Hardware Revisions
| Revision | Status | Changes |
|---|---|---|
| Rev01 | PCB designed, not yet built or tested | Initial release |
Firmware
The firmware is written in Verilog and built using Altera Quartus 13.0 SP1. The same Verilog source file (src/VideoULA.v) is shared between V02 and V03.
The Quartus project targets the EPM7064STC44-10 device — the Altera MAX7000S equivalent of the ATF1504AS, which Quartus supports natively. The .pof output is converted to a .jed file using the pof2jed utility for programming the ATF1504AS.
Operating Modes
Two firmware builds are required — one per operating mode. Both CLK_16M and CLK_48M are wired to dedicated GCK pins, so no hardware changes are needed to switch modes — simply reprogram the CPLD with the appropriate .jed file.
48MHz Mode (recommended)
- Uses the onboard 48MHz oscillator as the master clock
- Generates all BBC clock outputs (8/4/2/1MHz, CRTC, 6MHz) internally
- Provides clean, phase-locked 6MHz output for the SAA5050 teletext chip (tD ≈ 20ns ✓)
- Works reliably on all machines from cold power-up
- Build: uncomment
`define CLK_48MHZinVideoULA.v
16MHz Mode
- Uses the BBC motherboard's 16MHz clock as the master clock (via Schmitt trigger buffer)
- The 48MHz oscillator is optional in 16MHz mode:
- Not fitted: BBC's existing 6MHz circuit drives the SAA5050 as normal
- Fitted: CPLD generates clean phase-locked 6MHz output (connect via IC37 replacement board)
- Build: uncomment
`define CLK_16MHZinVideoULA.v
Quartus Build Instructions
- Open Altera Quartus 13.0 SP1
- Open
VideoULA.qpf - Select the operating mode by uncommenting the appropriate
defineinsrc/VideoULA.v - Run
Start Compilation(Ctrl+L) - Convert the output
.poffile to.jedusingpof2jed - Program the ATF1504AS using the V03 programmer board (see below)
Programming the ATF1504AS
Unlike V01 and V02, the V03 board does not have an onboard JTAG connector. This is because the ATF1504AS shares its JTAG pins with I/O pins used by the BBC Micro bus interface — they cannot be used for JTAG programming while the board is installed in the computer.
To program the V03 board, a dedicated programmer board is required. This programmer:
- Accepts the V03 VideoULA board as a plug-in module
- Is powered from the BBC Micro auxiliary power socket (Molex +5V/+12V connector)
- Has a switch to select between normal I/O mode and JTAG programming mode
- Has a standard JTAG header for connection to a compatible JTAG programmer (e.g. running ATMISP)
The KiCAD design files for the programmer board and FreeCAD design files for a suitable enclosure are included in this repository.
Programming procedure:
- Remove the V03 board from the BBC Micro
- Insert the V03 board into the programmer
- Connect the programmer to the BBC Micro auxiliary power socket
- Connect a JTAG programmer to the JTAG header on the programmer board
- Set the switch to JTAG programming mode
- Program the
.jedfile using ATMISP or compatible software - Set the switch back to I/O mode
- Remove the V03 board from the programmer and reinstall in the BBC Micro
Quartus Warning Suppression
The following warnings are suppressed in the .qsf and are expected/harmless:
| Message | Reason |
|---|---|
| 15705 | Unused clock port pin assignment (expected when only one clock mode is built) |
| 20028 | Parallel compilation not licensed — informational only |
| 199027 | Output file format — .pof is generated correctly |
| 332174, 332049 | Timing analysis informational messages |
| 335095 | TimeQuest latch analysis — no latches in design |
SRAM Wiring
The external SRAM stores the 16-entry colour palette (4 bits per entry):
| SRAM Pin | Connection |
|---|---|
| A0-A3 | CPLD SRAM_ADDR[0:3] |
| A4-A14 | GND (tie low) |
| D0-D3 | CPLD SRAM_DATA[0:3] (bidirectional) |
| D4-D7 | Leave unconnected |
| /WE | CPLD SRAM_nWE |
| /OE | GND (always output enabled) |
| /CS | GND (always selected) |
6MHz Clock for Mode 7 (Teletext)
- 48MHz mode: CLK_6M pin provides clean phase-locked 6MHz (tD ≈ 20ns ✓). Connect to SAA5050 via IC37 replacement board.
- 16MHz mode, oscillator fitted: CLK_6M provides clean phase-locked 6MHz, self-correcting every 1µs. Connect via IC37 replacement board.
- 16MHz mode, oscillator not fitted: CLK_6M output ignored. BBC motherboard's existing 6MHz circuit used as normal.
PCB Design Notes
The PCB has been designed using KiCAD V10 as a 2-layer board. It can easily be changed to a 4-layer board with GND/Power planes on the inner layers if signal integrity is a concern.
JLCPCB Fabrication
The board design includes a 5×5mm silkscreen box on the underside of the PCB. This is used by JLCPCB to position a QR code serial number. When ordering from JLCPCB:
- Select Specify position in the QR code / 2D barcode options during the ordering process
- If this option is not selected, JLCPCB will print the 5×5mm silkscreen box as-is and attempt to place the QR code at a different location of their choosing
If not using JLCPCB, the chosen fabricator will likely print the 5×5mm box as a plain white square on the PCB. To avoid this, remove the silkscreen box from the PCB design and regenerate the Gerber files before submitting.
Assembly
A combined CPL (Component Placement List) and BOM (Bill of Materials) Excel file is included in the Gerbers folder. This can be used directly with the JLCPCB PCBA (PCB Assembly) service.
Note that the JLCPCB Economy PCBA process only assembles components on one side of the PCB. Select the top side for assembly — this leaves only the SRAM and its associated decoupling capacitor to be hand soldered to the underside of the board.
Known Limitations
- SCART/HDMI adapter compatibility: Some SCART→HDMI display adapters may show minor pixel artefacts with non-standard screen modes. RGBtoHDMI and direct CRT connections are not affected.
Compatibility
Designed for BBC Micro Model B and Master 128. The 5V CPLD outputs are directly compatible with the higher logic 1 voltage required by some Master 128 custom ICs.
Credits
- Ken Lowe — PCB design, Verilog development and testing
- hoglet (Stardot forums) — Clock architecture analysis, DRAM timing analysis, community testing
- Stardot community — Testing, feedback and suggestions
Licence
Hardware: Creative Commons BY-SA 4.0
Firmware: MIT Licence
Parts
10| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | MountingHole | MountingHole:MountingHole_2.7mm_M2.5_ISO14580 | H1, H2, H3, H4 |
| 1 | 1K | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1 |
| 1 | Conn_01x04 | VideoULA:conn_hdd_15-24-4441 | J1 |
| 1 | JTAG_IDC | Connector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_Vertical | J2 |
| 1 | SW_SPDT | VideoULA:SW_SS12D00 | SW1 |
| 1 | Skidog | VideoULA:skidog_inv | G1 |
| 1 | VC2069 Socket | Package_DIP:DIP-28_W15.24mm_Socket | IC1 |
More from kgl2001/VideoULA_V03
1- 2 layers17.8 × 35.6 mm

Similar boards
- 2 layers57 × 55.2 mm

LogicAnalyzer
gusmanb/logicanalyzer
24 channel, 100Msps logic analyzer hardware and software
10 parts5.1kGPL-3.0 - 2 layers32.2 × 15.4 mm

Protector
byrantech/laptop
anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.
10 parts4.3kMIT - 2 layers14.4 × 10.1 mm

Q3Q SWAB A1-00 Temperature + Test Points + OPT3001
joeycastillo/Sensor-Watch
A board replacement for the classic Casio F-91W wristwatch
10 parts2.1k - 2 layers26 × 18 mm

- 2 layers44.3 × 30.5 mm

Lime2-SATA RevA
OLIMEX/OLINUXINO
OLINUXINO is Open Source / Open Hardware, low cost from EUR 24 Linux Industrial grade Single Board Computer capable to operate -25+85C
10 parts1.5k - 2 layers150 × 50 mm

Breakout 55pin 963063-15-Connector
rusefi/rusefi
rusefi - GPL internal combustion engine control unit
10 parts1.2k - 2 layers17.8 × 43.2 mm

Nano Adapter
VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group
10 parts1.1kGPL-3.0 - 2 layers53.9 × 23.2 mm

Buffer
hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI
10 parts1kGPL-3.0
Questions
How big is the VideoULA Programmer PCB?
It measures 56 × 38 mm and has 2 copper layers, 1.6 mm thick.
What parts does the VideoULA Programmer use?
10 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the VideoULA Programmer KiCad files?
From the kgl2001/VideoULA_V03 repository on GitHub, at the commit this page was made from: the board is KiCAD Files/Rev01 - Programmer/VideoULA_Programmer.kicad_pcb and its schematic KiCAD Files/Rev01 - Programmer/VideoULA_Programmer.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the VideoULA Programmer design in my own project?
Its repository states no licence, so its author keeps all rights: ask kgl2001 before reusing the design.