Disk Drive And DFS Guide
Disk Drive And DFS Guide
Information.
Release 13.06.1998
This is a first draft release of the BBC Disc Drive documentation.
The document as it exists at the moment is in a very early stage and there is still a fair amount of
information and diagrams to be added.
1) Many people have been asking me for the results of a survey regarding disc drives that I did.
2) It will help people sort out any problems they may be having connecting up drives.
3) Others may have information that is missing in this document and therefore be able to notify me
of gaps and help me fill them in.
The current version of this document will always be available from the BBC Documentation Project
site http://members.magnet.at/marku/bbc.htm .
Mark Usher
[email protected]
T
Disc drive and DFS Guide
2. THE DFS'S 4
2.1. Acorn 4
2.3. HDFS 4
2.5. Watford 4
2.6. Solidisk 4
3. THE DRIVES 4
4. APPENDIX 1 8
5. APPENDIX 2 14
Floppy Disc Controller Technical Information 14
Disc drive and DFS Guide
1. Basic Computer Hardware
If you want to fit a disc drive to your BBC then the BBC must be fitted with a DFS (Disc Filing
System). This basically consists of a floppy disc controller chip, some logic chips and a DFS ROM
containing the software. These were supplied as kits for the BBC micro in two sorts, one based on the
8271 floppy disc controller (FDC) and the other was based on the 1770 (or sometimes even the 1772)
chip. There were also available some kits that combined both of these controllers on one board for
compatibility with protected software, even though the 1770 has an 8271 emulation.
You can check if your BBC has a DFS fitted or not by simply removing the cover and checking IC78
which is above and to the left of the keyboard connector. If it has a chip fitted then your BBC has an
8271 upgrade fitted, if there is a carrier board in this slot then you have a 1770 DFS upgrade fitted,
and if it is empty then you will have to fit a DFS upgrade yourself.
The BBC B+ and Master series computers were fitted with a 1770 controller as standard (later models
were fitted with the 1772), so you will not need to obtain anything for these computers.
Electron owners will need an extra interface that plugs onto the computer externally. The Acorn
manufactured interface is called a Plus 3 and includes a built in 3.5" drive. There were also interfaces
produced by other companies, some included drives and others you had to buy a drive separately
and attach it to the interface yourself.
Fitting.
i) Insert all the IC's into the sockets provided on the main PCB.
ii) On issue 1 or 2 circuit boards only, connect the two pads of link position S8 with a wire link.
iii) On issue 1, 2 or 3 circuit boards only, cut the leg of IC27 pin 9 as close to the PCB as possible
and the track connected to it on the component side of the circuit board between IC27 and IC89,
then reconnect the cut IC leg to the East pad of link S9 with a short length of insulated wire.
iv) On issue 4 boards onwards, cut the TCW link at position S9.
v) Set the following links using MOLEX jumpers:-
S18 – North
S19 – East
S20 – North
S21 – 2 x East/West
S22 – North
S32 – West
S33 – West
Disc drive and DFS Guide
vi) Insert the 8 way DIL switch into the holes on the bottom right hand side of the keyboard and
solder into place. Leave all the switches in the off position.
Before Acorn released their 1770 Upgrade kit, there were many others on the market, most notably
from Solidisk and Watford Electronics. The 1770 upgrade also enables the BBC to use Acorn's ADFS
– Advanced Disc Filing System with floppies which isn't possible with the 8271, although caution must
be used here as the ADFS was released after many of these upgrade boards became available.
Hence, with some 1770 upgrades there is an incompatibility with Acorn's ADFS, most notably the
Solidisk board. Most of the incompatible boards did have a revision released after the issue of ADFS
to overcome this problem. e.g. Solidisk Issue II is compatible with Acorn's ADFS.
Fitting instructions for Acorn's 1770 DFS Upgrade are available in a separate document at
http://www.nvg.unit.no/bbc/doc/1770FittingInstructions.zip
Another point is Acorn's upgrade did not make use of the double density feature available with the
1770 FDC, whereas most of the other upgrades did.
Solidisk released the DFDC (Dual Floppy Disc Controllers) interface board. This was basically a
carrier board with both 1770 and 8271 FDC's thus giving full compatibility. You changed between the
two by the use of a small switch.
OPUS released their DDOS system which is again on a carrier board. I know little about this upgrade
though. They also had some combined RAM disc and floppy drive systems that plugged directly into
the 1MHz bus connector.
Matt Callow [[email protected]] mentioned that he has a 1797 floppy controller mounted on a
separate board (made by Computer Village Ltd.). At boot up the BBC reports 'LVL Dos'. I have no
other information about this upgrade.
Kenda DMFS.
No information. Was this a 1771 based DFS ?
Disc drive and DFS Guide
2. The DFS's
2.1. Acorn
DFS-0.9 8271 BBC B
DFS-0.98 8271 BBC B
DNFS 1.2 8271 BBC B
DFS 2.0j 1770 BBC B/B+ This was the first release of the 1770 DFS and was in
EPROM.
DFS 2.10 1770 BBC B/B+ The same as v2.0j but in ROM.
DFS 2.20 1770 BBC B/B+ The release of the BBC B+ 128 saw version 2.2 DFS
released. This was also used in the Master 128.
Shift-Z Break function included to emulate the 8271.
Extra commands necessary to deal with the 64K of paged
RAM in the B+.
DFS 2.21 No record of it's release or existence.
DFS 2.22 1770 BBC B/B+ Developed to fix an esoteric OSFILE bug.
Also the 128k associated SRAM utilities have been tidied
up to make them more user friendly.
This version will not work in all BBC Model B's fitted with a
1770 upgrade board.
DFS 2.23 1770 BBC B/B+ Cures the problem of v2.22 not working in all BBC's.
DFS 2.24 Master MOS 3.20 Loading with OSFILE &FF returns A=1.
File saves>64K work
DFS 2.25 1770 BBC B/B+ CLOSE#0 and *CLOSE and *SHUT leaves files with
correct length.
Writing to extent works correctly.
Unknown command as LIBFS works correctly
DFS 2.26 1770 BBC B/B+ Last for the B/B+
OSGBPB speeded-up.
All four head step rates implemented i.e.
*CONFIGURE FDRIVE 0 1 2 3
for 1770 6 12 20 30 mS
for 1772 6 12 2 3 mS
DFS 2.27/8 Master Software patch for spurious Motor-on after 1770 reset.
Following fixed:
If a) A file was open
b) the disk had been changed
c) BREAK was pressed
then the old disk catalogue would be written to the new
disk.
DFS 2.29 OSGBPB tube problem introduced at 2.26 fixed.
*CONFIGURE FDRIVE 2 has software delay added to
hardware delay.
This allows for support of slow step rate drives with 1772
fitted, i.e.
*CONFIGURE FDRIVE 0 1 2 3
for 1770 6 12 50 30 mS
for 1772 6 12 32 3 mS
DFS 2.45 Master MOS 3.50 You can now save files longer than 64k bytes.
All four step rates are now used.
OSGBPB now executes more quickly.
CLOSE#0 leaves files with the correct length.
Disc drive and DFS Guide
2.2. Amcom DFS
When running an AMCOM DFS from sideways RAM you must write protect the sideways RAM bank
as the DFS has a copy protection. The major incompatibility with this DFS is that you can't use
coloured titles on a disc as the DFS uses an upper bit in the title string to signify extended mode so
anything out of the ordinary in a disc tittle will confuse it.
2.3. HDFS
Angus Duggans DFS. For a full description of this DFS see
http://www.nvg.unit.no/bbc/doc/HDFS.ps This is in PostScript format.
2.5. Watford
2.6. Solidisk
Disk drives were sold by many different companies for the BBC, including Watford, Viglin and
Cumana amongst others. Most of these drives though were badged drives from Japanese
manufacturers, the most common being Epson, Mitsubishi and TEAC. There were two normal
standards for the 5¼" disk drive, 40 and 80 track. The 40 track drive lays down it's magnetic tracks at
a pitch of 48 tracks per inch (48 TPI) whilst the 80 track drives operate at 96 TPI, i.e. exactly half the
track width of the 40 track drive. Both 40 and 80 track drives were available with a single head (which
records on one side of the disk only) or with a double head enabling recording on both sides. A double
headed drive has therefore twice the storage capacity of a single headed drive.
Many high density PC floppy drives i.e. 3.5" 1.44MB drives and 5¼" 1.2MB drives can also run in low
density modes. Most of the 3.5" drives will switch between the two formats automatically, whereas the
5¼" drives are normally set as 1.2MB drives at the factory and need some jumpers changing before
they will operate in a dual mode. The jumpers that need setting are labelled differently on different
models, but you should look for High/Low density, and the rotation speed jumper. This is set to 360
RPM for high density operation, and so must be changed to dual 300/360 RPM mode so that low
density can also be used.
As far as my test show, these drives will work with a 1770/1772 FDC but cause problems with the
8271 FDC. The reason seems to lie with the 8271 DFS and the timings contained within the DFS
code. Jonathan Harston has written a program that will patch an Acorn DNFS 1.20 ROM image to
change the DFS timings, and my tests show that this does indeed solve the problems. You must also
remember to set the timings on the BBC keyboard links. The program has been included in the
archive that contains this document. Just transfer the program to a disc that also contains an image of
the Acorn DNFS 1.20 ROM. Run the program, you will be asked a few questions to which you answer
yes or no, and then you will be the program will print the *SAVE command that you must use to save
the new image. The program does not save the new image automatically.
2.11.Attaching Drives
First you will need a power supply. You can use the power supply from the underside of the BBC with
a suitable lead. If you don't have a lead then this can be a problem as it is very hard to find the
connector. The exact details are:
Once you have your BBC, DFS, drive and cables, you must configure the drive before connecting it
up. If it is an old PC drive then it will be jumpered as DS1 (Drive 1) by default. If it is to be Drive 0 on
your BBC, you must change the jumper to DS0, and in a dual drive system you would change the
jumper on only one of the drives, so one is DS0 and the second is DS1.
Disc drive and DFS Guide
Also the last drive on the cable, i.e. the one furthest away from the BBC must be terminated. Drives
are also terminated by default. This is fine if you have a single drive system, but in a dual drive
system the terminator must be removed on the drive nearest the BBC on the cable.
Terminators vary between drives. Some look like an IC and are usually in a DIL socket, or sometimes
they are a thin row that is attached to the drives circuit board. Another possibility is that the terminator
can be turned on or off by use of a DIL switch or jumper on the drives circuit board e.g. some
Mitsubishi drives.
Once you have set all of this, you can then attach your drive and BBC together and start trying to
format some disks.
Head Loading
Some drives use a head load solenoid. This means that it requires either a Motor On or a valid Drive
select signal before the head can be loaded against the media for communication with the disk. This
is the purpose of the two, switch or link options found on many drives, HM or HS. These stand for
Head to Motor and Head to Drive Select respectively. This means with the HM link set, the head of
the disk drive will be loaded against the disk any time the motor is started up. It may well be that the
computer wishes to access another drive, but as all the Motor On lines are usually connected
together the motors of all the drives will be activated. Thus, any drive that has the HM option set will
load the head of the drive against the media. When the computer comes to use that drive, then the
drive will already be in a condition to pass information to and from the disk.
Head to Select
With the switch or link set in the HS position then the loading of the head against the media will only
take place when that particular drive is actually selected for communication between its disk media
and the computer. That is to say that with the HS option selected and a drive set to be drive one or
DS1 of the system, then only when drive one is selected will the head of the drive actually be loaded
ready for use.
Self Loading
It may be that you have a drive that contains neither the HS or HM link options. If this is the case the
drive is most likely to be the type whereby the head is loaded against the disk every time the drive
door is closed. This means that the head of the drive is in contact with the disk at all times. This
results in an even higher degree of disk wear than a drive with the HM option set.
Multiplexing
Another connection that can be found on floppy drives is the MX link. This is one that often causes
trouble and confusion. Its purpose is to allow two or more drives to be connected together on the
same cable. Incorrect setting of this can cause surprising results, even causing you to think there is a
fault with another drive on the system.
Disc drive and DFS Guide
The MX link should not be set in most drives, however in some of the early TEAC drives the opposite
is true. It is also quite normal for the MX link not to be made in single drive systems.
0 8 Start up Mode
1 7
2 6
3 5 0 !BOOT on Shift Break
1 !BOOT on Break
4 4 Disk Stepping times
5 3
6 2 0 HADFS Floppy driver
1 external driver
7 1 0 DNFS. Starts in DFS
1 DNFS. Starts in NFS
NB: Some documents state the last two times for head load are 32 and 64, not 8 and 16.
Here are the settings for the 1770 controller (up to DFS v2.29)
Setting link 3 and not link 4 will give you the slowest step time possible
with the 1772. You should avoid setting the step time of a standard 5.25
inch disc drive to 2 or 3ms with the 1772 chip, as most drives will not work
at these speeds.
Disc drive and DFS Guide
3. Appendix 1
Disc Drive Chart
This chart should help you find a drive to use with the BBC. 1.2MB and 1.44MB models have not
been included. The In use column signifies if a particular drive is known to be used with a BBC
4. Appendix 2
Floppy Disc Controller Technical Information