Connecting an HxC Floppy Emulator to an ST

From Atari Wiki
Jump to navigation Jump to search

The HxC Floppy Emulator is a great piece of kit to replace or use alongside your original floppy drive. It will allow Atari users to run software/games straight from disk 'images' with no need to rely on legacy floppy drives that are fast diminishing through failures. Once those legacy drives are all gone, that's your lot!


Using HxC as a replacement for the internal floppy drive

Info to be added


Using HxC as an external drive whilst still retaining the original internal floppy drive

Method 1: an intermediate connector on a homemade enclosure

This solution provides a means to use the HxC as an external peripheral and attach it to the external drive port on an ST. This method also provides the flexibility to hook your HxC up to other machines (ST, Falcon, Amiga, PC, Mac etc) simply by changing the peripheral cable.

Tools you will need

  • Phillips Screwdrivers
  • Soldering iron
  • Solder
  • Heat Shrink (Optional)
  • Small electronics-style side cutters
  • ESD protection
  • Drill or handheld hobby tool
  • Helping Hands (Optional)
  • Goggles
  • Gloves
  • Face Mask

Parts list

  • Project Case - I used Maplin product code: LF11
  • 14-Way Male DIN plug and 14way data cable - I ordered a ready made cable from 16/32 (http://sales1632.myzen.co.uk/acatalog/Atari_Cables.html)
  • 15-Way Male connector - I used a 2-row type so as not to confuse it with VGA
  • 15-way female connector
  • USB-B chassis mount connector
  • Veroboard
  • 34-way IDC flat floppy cable

Part 1 - Drive select mod

Since the Atari will not natively boot from Drive B (DS1) a small modification inside the ST will need to be made first to add the ability to swap the internal and external drive ID's using a switch mounted on the rear of the machine so you can choose to boot from either source (See Drive Select Swap Mod)

Part 2 - Mounting the HxC into a case and making the intermediate connector

1. Desolder the USB connector and LED's from the board and replace the USB connector with a small run of USB cable (I have used a USB-A to USB-B coupler on my chassis. Consequently I have used a USB-A connector on a short run of cable):

2. Remount the LEDs onto a small piece of veroboard - bridge all the positive connectors together:

3. Cut all the necessary holes in the chassis for the LED array, USB socket and 15-way male DSUB.

4. Wire up the LED array to the HxC board as shown here:

5. Wire up the 34-way flat cable to the 15way DSUB to make the intermediate connector (Using all these lines means you can use the HxC on non-atari hardware also):

34w - 15w

2  ------  1
8  ------  9
10 ---- 2
12 ---- 10
14 ---- 3
16 ---- 11
18 ---- 4
20 ---- 12
22 ---- 5
24 ---- 13
26 ---- 6
28 ---- 14
30 ---- 7
32 ---- 15
34 ---- 8

ANY ODD LINE - Shielding  (see my pic - the one with the heat-shrink around it)

6. Finished assembly:

Part 3 - Making the Peripheral Cable

Finally, here's how to make the cable for your new peripheral:

15w DSUB --- 14w DIN

1 -------------- NC
2 -------------- 5
3 -------------- NC
4 -------------- 9
5 -------------- 11
6 -------------- 13
7 -------------- 1
8 -------------- NC
9 -------------- 4
10 ------------- 6
11 ------------- 8
12 ------------- 10
13 ------------- 12
14 ------------- 14
15 ------------- 2
SHIELD ----- 3 + 7


Method 2: Connecting the ST to the HxC with a single cable

If you have bought one of the more recent cased HxC rev C drive emulators, or you want a simpler cable solution, you may want to connect the ST directly to the HxC with no intermediate connector. If you don't feel confident enough or can't be bothered to make this, contact Galax or someone else who has commented on the forum threads about about having a cable made.

Parts list

Qty | Digi Key # | Manufacturer #    | Description
----+---------- -+-------------------|------------------------------------------
1   | OR981-ND   | Omron XG5M-3432-N | CONN DBL ROW SOCKETS 34POS AWG24
2   | OR943-ND   | Omron XG5S-1701   | CONN SEMI-COVER 17POS FOR XG5M
0.5 |                                | Atari ST male-male 14 pin DIN floppy cable

(You only need half a floppy cable, as you can cut it in half and use it to make two of these cables)

Connector Pinout

34 Way Connector on HxC  = 14 Pin DIN Atari ST Floppy Connector
------------------------   ---------------------------------------
2  Density Select        =  
4  Reserved              =  
6  Reserved              =  
8  Index                 =  4     Index Pulse     (yellow)
10 Motor Enable A        =  8*    Motor On        (dkbrown*) 
12 Drive Sel B           =  6     Drive 1 Select  (purple)
14 Drive Sel A           =  5     Drive 0 Select  (dkgreen)
16 Motor Enable B        =  8*    Motor On        (dkbrown*)
18 Direction             =  9     Direction In    (orange)
20 Step                  =  10    Step            (grey)
22 Write Data            =  11    Write Data      (pink)
24 Floppy Write Enable   =  12    write gate      (ltblue)
26 Track 0               =  13    Track 00        (ltbrown)
28 Write Protect         =  14    Write Protect   (ltgreen)
30 Read Data             =  1     Read Data       (red)
32 Head Select           =  2     Side 0 Select   (white)
34 Disk Change/Ready     =  
Any Odd Pins             =  7 + 3 Logic Ground    (black + dkblue)

* Both Motor Enable A and B are connected to the ST's Motor On (makes sense to me!)

The colours refer to the wires in my ST floppy cable. No idea if these are universal, but it may speed up your continuity checking a bit!

I stripped and tinned the wires before pressing into the 34 way rectangular connector, because I was only prototyping it at first. You should be able to just crimp the insulated wire into the connector, which is quicker and easier.

A handy guide to the pin numbering of the ST's 14 pin floppy connector is here, remember that this numbering is of the socket on the ST as you look at it, so when you hold the plug of the cable facing towards you the numbering would be mirrored: [1]

Jumper settings

Jumper settings for HxC as both drives A and B. You can boot from the HxC's drive A in this mode. This works perfectly with an ST or STM, but the internal floppy drive should be unplugged with an STFM, STE, etc.:

Jumper settings for HxC as external drive (HxC thinks it is 'A' which is the default on power up, ST sees it as 'B'. Only 1 jumper is connected, the one on the right is just half plugged in so I don't lose it):

Power cable

You'll also need a power cable, I connected the +5v and -ve pins from a recycled USB cable to an old connector that I adapted, would be easier to buy the correct adapter.




back to Hardware hacks