Bringing Back the Write-Protect Sensor on an X68000 Floppy Drive

The Sharp X68000 shipped with 3.5-inch floppy drives that were state of the art in the late 1980s, and four decades later their mechanical subtlety is starting to betray them. Among the usual suspects — belts turning to glue, heads clogging with oxide — the write-protect sensor is a frequent point of failure, and the symptom is unmistakable: every disk reports as write protected, or none of them ever do. Swapping the original switch for a small reed switch is a tidy, fully reversible repair that keeps the rest of the drive geometry untouched.

This guide covers the failure modes you are likely to see, the electrical behaviour of a reed switch in this position, where Australian hobbyists can buy the parts, the physical swap itself, and the test sequence that confirms the fix. It assumes you are comfortable with a soldering iron and a multimeter, and it draws on notes made during a recent repair of an NEC FD1157C drive fitted to a XVI Compact tower sitting on a workbench in a Brisbane garage workshop.

Why the Original Sensor Stops Working

The factory write-protect sensor inside an X68000 floppy drive is usually one of two designs. Early drives used a sub-miniature mechanical microswitch that was physically deflected by the plastic tab on a write-protected diskette. Later drives, including most of the Sony and Mitsumi units fitted to the ACE and PRO models, used an optical interrupter: a small photo-interrupter pair with a mechanical slider between them that the tab pushed into and out of the light beam. Both designs share a vulnerability — they rely on tiny moving parts that see action every time a disk is inserted.

Plastic fatigue is the usual killer. The slider or actuator arm loses its spring tension, the moulded pivot wears, or the tab on the diskette itself grinds a groove into the sensor housing. Oxidation builds up on the contacts of mechanical switches, and the LED/phototransistor pair in optical units drifts out of spec, especially when the small aperture gets dusty. In coastal Australian cities such as Sydney and Brisbane the ambient humidity sits above 60 percent for much of the year, and that moisture accelerates corrosion on the metal parts inside the drive. Inland in Adelaide the air is much drier, but that dryness can harden the lubricants on the slider and make the action sluggish in a very different way.

The symptoms fall into two camps. Either the drive always reports a disk as write protected and refuses to format or save, or it never recognises a write-protected disk and lets you overwrite a tab-locked original. Either way the operating system reports the error immediately on boot or on first access, which makes the fault easy to localise to the sensor rather than the controller or cable.

How a Reed Switch Replaces the Sensor

A reed switch is a hermetically sealed glass capsule containing two ferromagnetic reed blades held just apart. When a magnetic field comes close enough, the blades snap together and complete a circuit. Mount a small neodymium magnet on the moving slider inside the drive, fit a reed switch in place of the original sensor, and you have a contactless equivalent that has no mechanical wear surfaces of its own.

The reed switch is wired across the same two pins the original sensor used, normally open, so the drive electronics see a clean logic-level change when the magnetised slider moves past. Because the capsule is sealed, humidity and dust in the chassis are irrelevant, and the only thing that wears is the slider bearing, which is easy to lubricate with a tiny drop of synthetic grease.

Sensor type Typical failure mode Contact rating Reversibility Approx. part cost in AUD
Original mechanical microswitch Contact oxidation, plastic fatigue 0.1 A, 5 V DC Replace with identical part $8–$15
Optical photo-interrupter LED drift, dust in aperture, cracked housing N/A (open-collector output) Replace with identical or compatible part $5–$12
Reed switch + small magnet Essentially none for the switch itself; magnet can be re-bonded 0.5 A, 10 V DC typical Fully reversible, no trace cutting $3–$6 for the switch, $1–$2 for the magnet

The numbers in the right-hand column are typical walk-in prices at a suburban Jaycar Electronics, where the small SIP-package reed switches such as the SS12A series are kept in the sensor drawer. Even with shipping and GST factored in, the reed-switch route is usually cheaper than hunting down an original NOS sensor from a Japanese seller.

Sourcing Components in Australia and from Japan

For most hobbyists, the parts live within driving distance. Jaycar stores in Melbourne, Sydney, Perth and the smaller regional centres all stock a handful of sub-miniature reed switches and neodymium disc magnets in the right size range. The through-hole SIP package is easier to solder onto the original sensor pads than an SMD part, and the magnet dimensions matter less than you would think — anything from 3 mm to 6 mm in diameter and 1 mm to 2 mm thick is strong enough to actuate a typical 5 V reed switch from the small travel inside the slider.

When the exact form factor is needed, Japanese surplus dealers on Yahoo Japan Auctions and the usual Mercari listings carry original Mitsubishi and Sony sensors pulled from donor drives. Shipping is straightforward through Japan Post's EMS service or through forwarding services that consolidate orders. Parcels clear Australian customs under AUD$1000 without duty, and GST is collected at the border on imports above AUD$1000 in declared value, so ordering a handful of parts rarely attracts extra tax. Expect two to three weeks from click to doorstep via Australia Post, which is slower than domestic delivery but acceptable for a weekend project.

Reference photos and a bill of materials with part numbers are kept on the X68000 resource directory so that you can match what you see inside your drive to a known-good substitute before ordering.

The Physical Replacement Procedure

Start by removing the drive from the chassis and placing it on an anti-static mat. Unplug the power and data ribbon, and keep the mounting screws in a magnetic tray so they do not vanish into the carpet. The drive cover is usually held by four small Phillips screws on the underside; once they are out, the top cover lifts off and exposes the sensor at the rear of the disk slot.

Desolder the original sensor. If it is a mechanical microswitch with two pins, this is straightforward. If it is an optical interrupter, note the orientation of the small slot in the housing — the slider passes through it — and desolder the four pins carefully so the pads do not lift. Clean the pads with a little braid and isopropyl alcohol.

Mount the reed switch in place of the original. A small drop of hot-melt glue or a piece of 3M VHB tape holds it firmly to the chassis, and the leads can be trimmed to length and soldered to the original pads. Take care with any series protection diode that may have been on the original sensor; a reed switch has no polarity but the surrounding circuitry might. A continuity test with a multimeter between the two pads will confirm an open circuit when no magnet is present.

Glue a small neodymium disc magnet to the underside of the slider with a tiny amount of cyanoacrylate, orienting it so that when the tab on a write-protected diskette pushes the slider, the magnet passes within a millimetre or two of the reed switch. Test the action by hand: with no disk inserted the multimeter should read open, with a disk inserted it should read closed briefly as the slider moves past, and then open again at rest. Adjust the magnet position until the actuation is reliable but the switch is not held closed at rest.

Testing, Calibration and Long-Term Reliability

Refit the drive cover, reinstall the drive in the chassis, and power the X68000 up with a freshly formatted Human68k system disk. Boot to the command prompt and insert a known-good blank disk. Type format a: and confirm that the system does not report a write-protect error. Insert a disk with the plastic tab slid open and confirm that the system refuses to write to it — that is the proof that the logic is inverted correctly.

A more thorough check uses a small test program that toggles the write-protect line through every state. The X68000 BIOS exposes the floppy status through I/O ports, and a short assembly snippet can read the relevant register, display the bit on screen, and log the transitions over a few insert-and-eject cycles. Running that for ten or fifteen cycles confirms that there are no intermittent misses, which is the main risk when the magnet sits a fraction of a millimetre too far from the switch.

Long term, the only consumable in the new arrangement is the small magnet bond. A dab of cyanoacrylate is usually enough for years of normal use, but if the magnet ever comes loose it is a five-minute fix to re-bond it. The reed switch itself is rated for hundreds of millions of actuations, which is several lifetimes of even the most enthusiastic X68000 disk-swapping.

If your drive needs more than just the sensor — a new belt, a head clean, a recap of the controller board — the same methodical approach works for each subsystem. Pull the drive, order the parts, and put that write-protect error behind you. A careful write-up with photos of your own repair is one of the most useful contributions you can make to the wider preservation effort, and the next person to wrestle with a stubborn Sony drive will thank you for it.

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.