Building a Null Modem Cable for X68000 Serial File Transfer

The Sharp X68000 remains remarkably useful for transferring disk images, utilities, source code, and small experimental programs through its RS-232C serial port. A carefully wired null modem cable provides a simple bridge between the computer and a modern workstation, especially when floppy disks, SCSI devices, or network adapters are unavailable.

The basic idea is straightforward: transmit and receive lines must cross between the two computers, and the signal ground must be shared. The practical details require more care because the X68000 commonly uses a 25-pin serial connector, while many USB serial adapters expose a 9-pin connector or a captive cable.

This guide covers connector selection, signal wiring, handshaking options, testing, and file-transfer software. It is intended for preservation work and regular use, where a reliable cable is preferable to repeatedly experimenting with unknown commercial adapters.

Identify The X68000 Serial Interface

The X68000 serial interface is an RS-232C port, meaning it uses voltage levels and signal conventions from the RS-232 family. It is not the same as a five-volt or 3.3-volt TTL UART found on microcontrollers. A USB-to-TTL cable connected directly to the computer can damage the serial interface or produce meaningless data.

Most X68000 systems provide a 25-pin D-sub serial connector. Before buying parts, inspect the connector on the individual machine and check its gender. The connector’s gender determines whether the cable needs a male or female plug, while the electrical role determines how the signals must be crossed. These are separate issues, and a cable can have the correct plug shape while still being electrically wrong.

The computer at the other end may use a DB9 serial connector, a DB25 connector, or a USB serial adapter with a detachable lead. Choose an adapter that explicitly supports RS-232 voltage levels. FTDI, Silicon Labs, and Prolific-based products are common, but chipset quality varies, especially with inexpensive clones. A genuine adapter with stable drivers is usually worth the additional cost.

Gather Parts And Plan The Cable

For a basic build, use a suitable X68000-side D-sub plug, the connector required by the host computer, a shielded multi-core cable, backshells, strain relief, and a continuity tester. A cable with at least three conductors is enough for software-controlled or three-wire transfers. Five or more conductors make it possible to support hardware flow control and additional modem-control signals.

Keep the cable reasonably short. A one- to two-metre lead is convenient on a workbench and less likely to collect electrical noise. Longer RS-232 cables can work, but cable quality, baud rate, grounding, and the connected equipment become increasingly important. Shielding is useful, although the shield should be connected according to the connector and equipment design rather than casually tied to any nearby ground point.

Before soldering, draw the wiring as a pin-to-pin plan. Label each side as X68000 or host, then write the signal name beside every connection. This prevents the common mistake of looking only at pin numbers while forgetting that the two devices must exchange transmit and receive signals. Photograph or save the final pinout so the cable can be repaired later.

Select A Null Modem Wiring Method

A null modem cable replaces the modem that would traditionally sit between two serial devices. Since both computers generally behave as data-terminal equipment, the cable crosses the outgoing and incoming data paths. The simplest arrangement uses transmit, receive, and signal ground.

The following reference assumes the host side uses a standard PC-style DB9 serial connection. Verify the X68000 connector pin assignments against a service manual or trusted hardware reference before applying power. Pin numbering is viewed from the solder-cup side in many connector diagrams, while diagrams may show the mating face, so physical orientation deserves careful attention.

Connection purpose X68000 DB25 signal Host DB9 signal Basic cable
X68000 transmit to host receive TXD, pin 2 RXD, pin 2 Cross
X68000 receive from host transmit RXD, pin 3 TXD, pin 3 Cross
Signal reference SG, pin 7 GND, pin 5 Straight
Request to send RTS, pin 4 CTS, pin 8 Cross if used
Clear to send CTS, pin 5 RTS, pin 7 Cross if used
Data set ready DSR, pin 6 DSR, pin 6 Optional
Data carrier detect DCD, pin 8 DCD, pin 1 Optional
Data terminal ready DTR, pin 20 DTR, pin 4 Optional

The three-wire version uses only pins 2, 3, and 7 on the X68000 side and pins 2, 3, and 5 on the DB9 side. It is often the best starting point because fewer conductors mean fewer solder joints and fewer possible errors. If transfer software is configured for hardware flow control, however, the three-wire cable may appear dead even when the data wiring is correct.

A full-handshake cable crosses RTS and CTS and may connect the modem-control lines as shown above. Some devices work better with local loopback connections instead, such as tying RTS to CTS and DTR to DSR and DCD on the same connector. That arrangement depends on the software and the specific serial device, so a direct crossed handshake cable is the safer first choice when both ends expose compatible signals.

Build And Test The Connection

Cut the cable with enough extra length to work comfortably inside both backshells. Strip only the insulation needed for the solder cups, slide the backshell and strain-relief parts onto the cable first, and then solder the conductors. Use different wire colours for TXD, RXD, ground, and handshaking lines. A small piece of heat-shrink tubing over each solder joint reduces the chance of adjacent pins touching.

Check every solder joint mechanically. A dull or cracked joint can pass a quick continuity test and fail when the connector is moved. Do not allow the cable shield to contact signal pins, connector shells, or backshell hardware unless the intended wiring diagram calls for it. The shield and signal ground serve different purposes.

With both devices disconnected from power, test the finished cable using a multimeter in continuity mode. Confirm each intended connection, then test that TXD is not shorted to RXD, ground, or a neighbouring pin. Check the connector shell and shield for accidental contact. If the cable contains handshaking lines, verify their crossings individually rather than assuming the group is correct.

A loopback test can validate the host adapter before involving the X68000. On a DB9 adapter, temporarily connect its transmit and receive pins together, open a terminal program, and check whether typed characters echo. Remove the loopback bridge before connecting the X68000. This confirms that the computer, driver, terminal program, and adapter are functioning independently of the custom cable.

Configure Serial Transfer Software

A terminal program on the modern computer should initially use conservative settings: 9600 baud, 8 data bits, no parity, and 1 stop bit, commonly written as 9600 8N1. Disable hardware flow control when using a three-wire cable. Software flow control using XON/XOFF may be useful, but it can interfere with binary data if the transfer program does not handle it correctly.

The X68000-side application must use matching settings. Terminal programs, command-line communication utilities, and file-transfer tools may expose different names for the same options. Check baud rate, character length, parity, stop bits, and flow control on both ends. A mismatch can produce garbled text, repeated characters, or a silent connection.

For binary files, use a protocol designed to detect errors. XMODEM is widely supported and easy to understand, while its checksum mode is less robust than CRC mode. YMODEM can transfer batches of files and include filenames, but it requires compatible software at both ends. ZMODEM is convenient when available because it can restart interrupted transfers, although older X68000 tools may have limited support.

Start with a small text file. If the text arrives correctly, transfer a small binary file and compare its size or checksum on both systems. A binary transfer that completes with the wrong length indicates a protocol, flow-control, or terminal-mode problem rather than a cable that merely “mostly works.”

Diagnose Silent And Corrupted Transfers

No response usually points to connector gender, incorrect pin orientation, TXD and RXD not being crossed, missing signal ground, or flow control being enabled without the necessary wires. If the terminal displays random symbols, compare the baud rate and framing settings first. RS-232 communication is sensitive to even a single mismatch in baud rate or parity.

A transfer that starts and then stops often indicates hardware flow control or buffer overruns. Disable RTS/CTS on both ends when using the three-wire arrangement. If the X68000 software requires hardware flow control, install the additional crossed lines and confirm their assignments with a meter. Some USB serial drivers also expose flow-control defaults that must be changed manually.

Intermittent errors can come from a weak solder joint, a loose backshell, electrical noise, or an unreliable USB adapter. Test at a lower speed, replace the adapter, and gently flex the cable near each connector while monitoring a text transfer. If errors occur only when a monitor, converter, or other peripheral is active, improve cable routing and keep the serial lead away from power wiring.

Serial transfers are especially useful when working on modified hardware. For example, the display side of a restoration may involve a GBS-8200 converter; the practical details of that kind of video work are documented in this VGA output project. Keeping the serial cable electrically separate from video-converter wiring makes troubleshooting much easier.

Use The Cable As A Preservation Tool

Once the connection is reliable, it becomes a practical way to move diagnostic utilities, configuration files, game saves, disk images, and programming tools. It can also provide a recovery path when a hard disk installation is damaged but the X68000 still boots from floppy media. Keep a known-good terminal program and a small transfer utility on a floppy or other local boot medium.

Document the finished cable with connector type, pinout, cable length, adapter model, and tested settings. Store that information with the machine. Future repairs are faster when the cable does not have to be reverse-engineered, particularly if the connector has no visible marking or the backshell hides the solder cups.

Treat transferred disk images and system files as preservation material. Keep an untouched master copy, use descriptive filenames, and record whether the file was transferred in binary mode. When possible, verify checksums after transfer. The wider X68000 community and ongoing hardware projects are collected through the X68K.NET resources, which can help place a serial-transfer setup in the context of broader restoration work.

Practical Build Recommendations

  • Start with a three-wire TXD, RXD, and signal-ground cable at 9600 8N1.
  • Use a genuine RS-232 USB adapter rather than a TTL UART module.
  • Confirm every pin with a continuity tester before connecting powered equipment.
  • Disable hardware flow control unless RTS and CTS are deliberately wired.
  • Test with a small text file before transferring disk images or other valuable binaries.

A correctly built null modem lead is a modest accessory, but it greatly expands what an X68000 can do on a modern workbench. Build it carefully, label it clearly, and preserve the pinout alongside the machine. Then use the serial link to move tools, recover files, and keep original hardware active rather than treating it as a display piece.

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.

A two-ink risograph print in muted slate-blue and charcoal on off-white paper, showing a stylized desktop computer monitor beside a circuit board with soft geometric trace lines, conveying a calm retro-computing workshop atmosphere. A two-ink risograph print in deep purple and dark grey on cream stock, depicting a compact expansion card with connector ports and subtle Japanese technical annotations, evoking a hobbyist electronics bench. A two-ink risograph print in teal and charcoal on warm white paper, showing a server rack silhouette with soft network-line motifs and a small weather icon, suggesting a personal server room corner.

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.