XF551 ROM Patches and 720K Hack (Bob Woolley)

Year
1989
Type
DIY project
Category
Disk drive firmware modification
Manufacturer
Homebrew (Bob Woolley, San Leandro Computer Club)

Overview

Within a year of getting one of the first XF551s, Bob Woolley, editor of the San Leandro Computer Club (SLCC) journal, took the drive apart, wrote a disassembler for its Intel 8050 microcontroller and worked out the firmware. His article "Inside the XF551 Disk Drive" appeared in Atari Interface Magazine in January 1989, with editorial notes by Len Spencer. It is the do-it-yourself ancestor of the XF35 kit that Innovative Concepts later sold. Here are the patches, so you can burn your own EPROM.

What Woolley found

  • The drive really is double-sided, and despite the manual, MyDOS, SuperDOS and SpartaDOS can format it DSDD. Side two's tracks run from the inside out, which is why a single-sided drive can still read the first 40 tracks of a DSDD disk.
  • It spins at 300 RPM, the PC standard, not the 288 RPM of older Atari drives. A clock about 4% fast puts the data in the same physical place, but speed-check programs will report 300.
  • It uses the index hole. It will read and write the back of any disk but will only format the back if the jacket has a second index hole. See the XF551 entry for how this differs between Mitsumi and Chinon mechanisms.
  • The ROM is socketed, so a 2764 EPROM can replace it. Spencer added that some drives use an 8040, which has the same 256 bytes of RAM but no internal ROM. The 8050's internal ROM is apparently never used anyway.

High-speed commands (for programmers)

  • The DSDD format command is $23. Set bit 7 ($A3) for the high-speed sector skew. SSSD and SSED formats have no fast skew, although data still transfers at high speed.
  • For a high-speed transfer, set bit 7 of any command, so Get Sector $52 becomes $D2. Send the command frame at normal speed ($28 in AUDF3, $D204), then switch $D204 to $10 for the data frame.
  • The drive accepts Percom-like Get/Put option table commands ($4E/$4F), but only bytes 4–8 are changed, and only the three built-in formats are recognised. Asking for 512-byte sectors still gives you 256.

ROM patches

All addresses are offsets in the 8K drive ROM image. Burn the patched image into a 2764.

Change Location: old → new
Renumber the drive to D5:–D8: $0095: $31 → $35 (use $33 for D3:–D6:, and so on)
Fix the write-before-speed bug (it can start writing a track before the disk is up to speed) $528: $90 → $00; $C1D: $88 → $80; $E25: $88 → $80
80 tracks per side (720K) $680: $28 → $50; $80F: $30 → $60; $811: $FD → $FA
3 ms seek for 3.5-inch mechanisms $53D: $00 → $03; $57B: $18 → $13; $9D1: $08 → $03; $B15: $18 → $13
Write precompensation for 3.5-inch drives $61D: $F6 → $F4; $621: $F6 → $F4; $D0D: $A2 → $A0

Spencer noted reports that the spin-up fix may be unnecessary, but he had hit the problem himself and applied it.

Fitting a 3.5-inch drive

Woolley used a Mitsubishi MF353B from JDR Microdevices, which plugs into the 5.25-inch drive's connectors and uses the same mountings. The 34-pin cable turned out to be too short. He desoldered the board connector and fitted a longer cable. Another hacker, Joe Wyks, managed instead to pry the top off the board connector and crimp a new cable in place without soldering, which is easier on the board, and Spencer preferred it. Power-connector adapter cables cover the rest. Then format with SpartaDOS XINIT option 7 (double-sided, 80 tracks) for 2,880 double-density sectors (720K).

Notes

  • The article ends with a warning that its contact details are out of date. The technical content still applies to the stock XF551 ROM it was written for. Check your ROM before patching: the byte values listed must match.
  • Several DOS versions (SpartaDOS X, SuperDOS 5.0, DOS XE) support XF551 high speed directly, and a CompuServe patch (XF32D.BAS) did the same for SpartaDOS 3.2D, giving almost twice the speed of DOS 2.0.
  • For ready-made alternatives see the XF35 kit, Hyper-XF and Speedy XF.

Credits