Using an FPGA to Give the X68000 a Modern Graphics Path
The Sharp X68000 was designed around a video environment that feels unusual beside a current HDMI monitor. Its custom graphics hardware produces sharp 15 kHz RGB signals, supports multiple display modes, and gives software direct control over hardware that modern computers normally hide behind layers of drivers. That directness is part of its appeal, yet it also makes display conversion a technically interesting problem.
An FPGA can sit between the X68000 and a contemporary screen as a smart video companion. Rather than treating the computer as a simple analogue source, the design can sample synchronised RGB, recognise timing, store pixels in memory, and generate HDMI or DisplayPort-compatible output. With additional logic, it can expose registers or shared memory that let software use the FPGA as a graphics coprocessor.
This project suits the preservation-minded spirit of the platform. A careful design keeps the original computer reversible, documents every signal, and avoids forcing a rare machine to accept an undocumented modification. The result can be useful for a collector in Sydney, a repair bench in Melbourne, or an enthusiast in regional Australia who needs dependable output from a machine built for Japanese televisions and RGB monitors.
What the X68000 Needs from Modern Video Hardware
The first task is understanding the source rather than choosing an FPGA board. X68000 models can output several horizontal frequencies, including the familiar 15 kHz modes and higher-frequency modes used by some software and applications. The RGB connection is analogue, while synchronisation may be supplied in a form that differs from the expectations of consumer HDMI equipment. A converter that assumes standard VGA timing can therefore lose sync, crop the picture, or display an unstable image.
A practical interface begins with protection and signal conditioning. Each red, green and blue channel needs a suitable high-speed analogue-to-digital path, with impedance, voltage range and termination chosen for the X68000 output. Sync should be separated or decoded reliably, and the circuit should tolerate imperfect signals from ageing capacitors, tired connectors and repaired power supplies. Keeping the FPGA away from the analogue input stage is sensible: a small input board can handle filtering and level conversion, while a digital board performs sampling and scaling.
The design should also account for the machine’s unusual colour and timing behaviour. Sampling at a fixed clock may work for one mode and fail when the X68000 changes resolution. A phase-locked loop or digitally controlled sampling clock can track the incoming line rate, while a frame buffer absorbs small differences between the source and the display refresh. For low latency, line buffers are preferable where the timing permits; full-frame memory is easier to manage when frame-rate conversion and flexible scaling are priorities.
Choosing an FPGA Architecture and Bus Interface
A modest FPGA development board can handle video capture, synchronisation, line buffering and HDMI output, provided it has enough high-speed memory and a suitable clocking system. Devices from the Xilinx Artix-7, Intel Cyclone, Lattice ECP5 or newer families are common choices. The important specifications are usable logic cells, block RAM, external DDR memory, clock-management resources and a reliable digital video output. An HDMI socket alone does not guarantee that the board can generate a standards-compliant signal.
The FPGA can become a graphics coprocessor in two distinct ways. In a display-focused design, it watches the X68000’s video signals and performs scaling, scanline simulation, aspect-ratio correction and overlay generation. In a more ambitious design, it connects to the X68000’s expansion or system bus and provides command registers, sprite memory, tile maps or a blitter. The latter requires careful bus arbitration, address decoding and electrical interfacing, particularly because the X68000 uses 5 V-era logic while many current FPGA boards use 3.3 V I/O.
A bus-connected accelerator should begin with a narrow, well-defined register set. Status, interrupt, command, source-address and destination-address registers are easier to debug than a large custom graphics API. DMA can follow once the basic transaction path is stable. Level translators must be selected for direction, speed and bus contention; resistive shortcuts that appear to work on a bench can produce intermittent faults after the machine warms up.
Software support is equally important. A small driver library in C or assembly can expose routines for clearing a surface, copying tiles, drawing sprites and waiting for vertical blank. Existing software resources and development notes gathered through the X68000 diary can provide useful historical context, while the accelerator itself should remain optional so original programs continue to boot without it.
Recreating the Picture for HDMI Displays
Modern displays generally expect a digital pixel stream with predictable timings. The FPGA must therefore transform the captured X68000 signal into a format such as 720p or 1080p, often at 60 Hz. The processing chain normally includes sync detection, active-area measurement, analogue sample capture, colour conversion, scaling and output encoding. A configurable border generator is valuable because the visible area and blanking intervals are not always identical across software.
Scaling quality depends on the memory architecture. Nearest-neighbour scaling preserves hard-edged pixel art and is usually the best default for games. Integer scaling can retain the original pixel geometry, although it may leave black borders. A carefully implemented filter can produce a smoother result for desktop software, but interpolation may soften text and sprites. Giving the user selectable profiles is better than imposing one aesthetic on every program.
Scanline effects, shadow-mask simulation and aspect-ratio correction belong in the digital pipeline rather than in the source machine. They can be enabled through FPGA registers or a small on-screen menu. The interface should remain restrained: a few buttons, an infrared receiver or serial control is less distracting than an elaborate overlay that competes with the original display.
For a workshop build, an external RGB-to-FPGA adapter is safer than immediately installing a board inside the X68000. It allows the machine to retain its original video circuitry and makes fault isolation much easier. The enthusiast hardware projects documented by Zack Michaels are a useful reminder that mechanical fit, connector choice and serviceability matter as much as HDL.
Building and Testing the Hardware
Begin with a known-good X68000 and verify its power rails, video connector and sync behaviour before attaching experimental electronics. Old electrolytic capacitors, oxidised connectors and modified power supplies can produce symptoms that look like FPGA bugs. A logic analyser or oscilloscope should be used to record sync width, line frequency and voltage levels. Never connect an unverified FPGA input directly to a signal whose maximum voltage is unknown.
A staged test plan reduces risk. First generate a test pattern from the FPGA and confirm the HDMI output on several displays. Next capture a synthetic RGB source with known timings. Then connect the X68000 through a protected input stage and test one display mode at a time. Finally, exercise mode changes, soft resets, disk loading and long sessions. Testing on a television, a computer monitor and an HDMI scaler can reveal compatibility problems that remain invisible on a single screen.
Australian conditions add practical considerations. A 240 V power supply should be repaired or replaced by a suitably qualified person, and mains-connected modifications must follow the electrical safety requirements applicable in the relevant state or territory. An internal FPGA board should run from a properly regulated low-voltage supply, with fusing and insulation appropriate to the enclosure. Builders selling assembled units also need to consider Australian electrical compliance and the Regulatory Compliance Mark rather than assuming a hobby prototype is automatically suitable for retail sale.
Sourcing is another local concern. Specialist parts may arrive from Japan, Europe or the United States, and shipping to Perth or regional Queensland can cost more than the FPGA board itself. Australian GST, import processing charges and exchange-rate swings should be included in the budget. Local electronics distributors can be worthwhile for connectors, level shifters and regulators, while rare X68000 cables and expansion parts are often found through enthusiast networks such as the X68000 community links.
Comparing Implementation Paths
There is no single correct design. A collector who wants a clean picture may need only a dedicated video processor, whereas a developer writing new software may value bus access and programmable graphics primitives. The following comparison separates the main approaches by complexity, capability and risk.
| Approach | Main function | Hardware complexity | Latency | Best use |
|---|---|---|---|---|
| External FPGA scaler | Captures RGB and outputs HDMI | Moderate | Low to medium | Reliable modern display output |
| FPGA with frame buffer | Scales, converts refresh rate and adds effects | Medium to high | Medium | Mixed monitors and flexible image processing |
| Bus-connected accelerator | Provides registers, memory and graphics commands | High | Depends on bus design | New software and hardware-assisted rendering |
| Internal combined board | Integrates capture, bus access and output | Very high | Potentially low | Advanced permanent installations |
| Commercial scaler plus FPGA add-on | Leaves display conversion to existing equipment | Low to moderate | Varies | Low-risk experimentation |
The most sensible first version is usually an external FPGA scaler with a documented expansion header. It solves the immediate modern-display problem without depending on undocumented bus timing. Once capture and output are reliable, a second revision can add a bus interface or a small graphics engine. Separating these functions also makes the project easier to share: another builder can use the video board without installing an accelerator inside a valuable computer.
Documentation should cover schematics, pin assignments, clock frequencies, HDL source, firmware versions and known display limitations. Include photographs of cable orientation and test points, since a reversed connector can destroy a level translator or an FPGA I/O bank. Reproducible builds are especially valuable in retrocomputing, where replacement parts and development tools may change over time.
The project should preserve the original experience rather than erase it. Keep pixel timing selectable, avoid altering software stored on original disks, and provide a bypass path when the FPGA is removed. A clearly labelled service connector can support future debugging without drilling additional holes into the case. These choices turn a one-off modification into a maintainable preservation project.
An FPGA graphics companion can give the X68000 a practical place beside current displays while respecting the machine’s distinctive architecture. It combines digital design, analogue video, reverse engineering and careful restoration, making it a rewarding project for anyone interested in retrocomputing beyond simple emulation.
Build the video path in stages, publish the measurements and HDL, and record which X68000 models and displays have been tested. Share working schematics and firmware with the wider enthusiast community so future builders can improve compatibility without repeating avoidable mistakes. A well-documented board can keep original hardware in service for many more years while making its distinctive graphics accessible through the screens people use today.
Nereid-X Expansion Board
A personally-produced LAN+USB+Memory expansion board for Sharp X68000 series computers. Multiple production runs were offered, including a final batch and a later revival reproduction run.
Power Supply Repair
X68 power supply repair and modification services were offered by the site owner, with documentation shared through diary entries spanning 2001–2006.
Server & Networking
Notes on FreeBSD administration, ISP changes, server migration, and networking topics. The site itself ran on FreeBSD with the hns diary system and Namazu search integration.
Get in touch
X68K.NET connects Sharp X68000 enthusiasts through community links and shared projects. Reach out with questions about the Nereid project or X68 resources.