EUG PD


Hard Drive Extension

 
Published in EUG #16

Click Me To Retrieve The EUG #16 Navigation Bar!

My project for this summer was to attach a Winchester Drive (Hard Disk (HD)) to my Electron. Over the last year or so I have been collecting the hardware and software required and a couple of weeks ago I found the last piece in the jigsaw.

The major components involved in the project were:

  1. The Hard Disk Drive - I used a Maxtor 15 head/1023 cylinder drive with a ST506 interface. The format used by ADFS is that each cylinder has 32 sectors each containing 256 bytes: 256 x 32 x 1023 x 15=125,706,240 bytes
  2. The Hard Disk Controller - I used a OMT5200 controller. This card carries out all the disk housekeeping and has two interfaces - a SCSI (Small Computer Systems Interface - pronounced skuzzy) and a ST412/506 interface. The block diagram shows how everything is linked together
  3. The Host Adaptor - This part I had to build myself. I had obtained a copy of the Acorn Host Adaptor circuit diagram and had started to build the circuit on Vero board but it turned out to great a task. I eventually contacted a member of a BBC user group who helped me obtain a circuit board, this made life a lot easier.
  4. The 1MHz bus - I used the low cost bus from Pres, this had to be modified by removing the data buffer chip and wiring through the NPGFC signal from the cartridge slot connector to the 1Mhz bus connector.
  5. Pres Plus 3 ADFS - I have Pres' Plus 3 cartridge disk interface which uses their own version of Acorn's ADFS - v1.10, this software doesn't have the necessary patches to talk to the HD so I had to obtain a copy of Acorn's original Electron ADFS ROM v1.0. The ADFS ROM has to be fitted to the highest priority socket available.
  6. Extra cartridge slot - My plus 1 cartridge slots are full with the Disk Interface and Slogger's Click cartridge so I had to wire up a third slot to the Plus 1 for the 1MHz bus. Luckily the 1MHz bus doesn't involve any ROM decoding so it was a simple case of paralleling up to one of the existing slots. Warning: The Acorn Plus 1 expansion ROM socket is wired for a maximum ROM size of 8K - this is fine if you are using the original ROM or Slogger's Expansion ROM but the Pres AP2 is a 16K ROM and fails to be recognised in the Plus 1 - The modification to make the socket 16K is fairly simple but involves a lot of soldering. The Socket has to be removed, then the 5V tracks have to be cut on both sides of pin 26, a wire link has to inserted to loop round the cut tracks at pin 26, re-solder the socket in place and finally link address "A13" from the underside of the cartridge slot to pin 26.
  7. And lastly a PSU - I used on old IBM supply. They come with a built in off/on switch and all the connectors to connect to the drive, the controller card and the host adaptor.

A heck of a lot of interfaces isn't it? But it isn't as complicated as it sounds. Of course, if you can pick up a BBC hard drive then all that is needed is the 1MHz bus which would make life a bit easier.

The connecting together of all the interfaces is by the use ribbon cable and press connectors (IDC) all available from Maplin Electronics.

I don't know how many of you know my system but it was getting a bit power hungry, with all my add-on boards the power supply was getting so hot it was almost melting the table top. Now with the HD it was getting like spaghetti junction so I made the decision to fit the lot into a PC Mini Tower case. I spent some time tracking one down that could hold two 5.25" drives, the size of my HD, and two 3.5" floppy drives. I eventually found one in a local computer shop for £50 (mail order prices work out about the same once you add £10 post & packing), not a bad price considering you get a nice looking box with a sub-frame that is designed to take both types of drive and a cool running 200W switched mode power supply (just what the Elk needed!).

It was a tight fit to get all the boards in to the mini tower, on reflection a midi tower case might have been a better choice affording more room to run all the ribbon cables. The boards I had to fit in other than the drives were:

  1. Elk Motherboard with the Master RAM board
  2. Slogger's SP64
  3. Plus 1 with AP3/4, Click, 1MHz bus and AP6
  4. Host adaptor
  5. HD controller

With the Elk Motherboard mounted on the side wall of the case and the Plus 1 on the bottom, I had to build a flexible adaptor to connect them together. The keyboard now being remote involved running a ribbon cable from the Elk Motherboard to a 25W "D" connector on the rear of the case and another one from this connector to the keyboard. Overall the length is around 1m. This proved to be too long for reliable use so I I changed the Diodes on the keyboard from silicon 1N4148 (0.7V volt drop) to Germanium OA91 (0.3V volt drop) which seems to have cured the problem.

The following diagram shows how I squeezed this lot into the case:

Click Me To Retrieve The EUG #16 Navigation Bar!

Advantages
There are two obvious advantages to a Hard Drive, the first being that it can store masses of amounts of data and programs and the other its speed. I have already transferred about 60% of floppies using just over 5 Mega bytes of disk space. But the reason I haven't transferred everything will come to light under the heading of disadvantages.

Regarding speed, to give you some idea of the data transfer speed I set up a simple test, spell check a View document with Viewspell (disk-based dictionary) in Mode 3.

The system : Electron using ADFS with 3.5" floppy drive and the Hard drive. Viewspell with an example document of 429 words (210 unique).

I also tried the same test on a BBC B+ using ADFS with a 3.5" floppy drive, a 5.25" floppy drive with DFS and the hard drive.

Machine 3.5" FD 5.25" FD HD
Electron (N) 1m 22s N/A 26s
Electron (T) 1m 22s N/A 16s
BBC B+ ADFS 2m N/A 15s
BBC B+ DFS N/A 2m 38s N/A

It can be seen from the results that the Electron is hanging around and waiting to get the data from the floppy drive since there is no gain in speed between Normal and Turbo modes. When it comes the the Hard Drive however, the drive is hanging around for waiting for the Electron to accept more data. No doubt if the Electron could go faster the time would reduce further for the check.

One other side effect of the hard drive is that there is no longer any screen flickering in Modes 0 to 3.

Disadvantages
The disadvantages arise from incompatible software e.g.

T2P3 - You can store all the files on the HD, you can type *T2P3 and get a full menu, but, if you select a file then the computer goes to the floppy drive!!!!!

Click - Click is great, using EXTREE for file management is a must but the one important facility it claims it has, does not work and that is the HD BACKUP!!!!

Stop Press 64 - This program was written with floppy disks in mind so I can't blame the package but the drive selection option allows drives 0 to 3 to be selected, the drive numbers with the HD attached are 0(HD), 4 and 5 (FD) so I can't pick up screens, pages, fonts from the floppy drives. One other limitation within SP64 is that the full name can't be used with the keyboard options when LOADing and SAVEing. I must say at this point that loading pages and screens takes only a couple of seconds and if the points mentioned above can get sorted, then for speed and ease of use, it's the best (monochrome) DTP package on the market.

Well that's it, if anyone wants help or advice about fitting a Hard Disk Drive to their Electron then please write, I will do my best to help.

Derek Walker

Thanks, Derek, for another really interesting article.

I am in the process of developing a Host Adaptor for the Elk using circuits from various sources not least Derek. If anyone is interested in possibly having a Hard Disk on their Elk, could they contact me asap so that I can gauge interest?

Also, I desperately need help from someone with access to ultra-violet double-sided PCB-making facilities. If anyone can help, contact me now!

Gus Donnachaidh, EUG #16

Derek Walker