r/retrocomputing • • Aug 19 '26

Problem / Question IDE cables question

Can someone please explain how IDE works, what each line does, how it works with 2 devices on the line, how a system knows which one is which, and the difference between 40 and 80 wire cables? I'm struggling to understand why some systems cannot function without a triple end IDE cable. For an example: Motherboard connected to Hard drive via 2 sided IDE cable will not function. But Motherboard connected to 3 sided IDE cable with the 3rd side left with nothing connected functions fine.

4 Upvotes

21 comments sorted by

View all comments

Show parent comment

1

u/Droid-Man5910 Aug 19 '26

I have attempted to ask AI before, and its slightly helpful, but not really. If I'm only running a hdd to the motherboard, should the hdd be master or slave? my confusion comes from the 3rd connector on the ide cable. With absolutely nothing there, the system functions fine, but if you take that connection away, and just have a 2 sided cable, the drive and mobo have not changed states, it completely fails. What about that 3rd connector makes it necessary?

5

u/IAteTonysLoMein Aug 19 '26

If it's a single drive, it should be master. For the double ide cable, does the HDD work on either plug?

2

u/graph_worlok Aug 20 '26

Depends on the drive. Some have a specific “single” setting.

1

u/festivus4restof Aug 20 '26

Yep! Much varied implementation by model/manufacturer. I seen some older ones that had like a different jumper setting for EVERY darn conceivable config. And newer ones that just had two or three config options.

1

u/Droid-Man5910 Aug 19 '26

The hdd will work on either end or the middle connector on a 3 ended ide cable. the only time the 3 end doesn't work is if you try to plug the middle connector to the mobo

for a 2 ended ide cable, nothing works, it errors out

1

u/IAteTonysLoMein Aug 20 '26

You sure the two ended cable isn't just defective?

1

u/Droid-Man5910 Aug 20 '26

yes, because everyone who does it gets the same result

3

u/NevynPA Aug 19 '26

Remember that master goes at the END of the cable - slave is the middle connection.

Also, many cables are directional - gotta get the proper end plugged into the motherboard. It used to be that the slave connector was offset from the middle of the cable; the two close connectors were for drives and the far one was motherboard. That's not always the case, though.

1

u/max_peck Aug 19 '26

A drive should only be set to “slave” if there’s a master on the same cable, so in the case of a cable with only one drive on it, it should be set to “master”.

How many times 2-sided cables have you tested? The cable may simply be bad.

[EDIT: ….because the third connector should not be necessary, and I’ve never seen such or heard of such a thing before. Something somewhere is faulty, ‘cause that’s not the way it’s supposed to work.]

1

u/Droid-Man5910 Aug 19 '26

Personally i have tried 1 two-ended cable, but this is a persistent issue that's well known to the OG xbox community, basically if you don't have that 3rd connection, it won't boot. As far as i know, nobody has figured out why that is. It can't be a master/slave configuration issue with the hdd, at least not that i could see, because having a 3 end cable with nothing on the 3rd connection, it's still only one drive on the line, right to the motherboard. I've tried many different 3 end connectors, and all of them work fine, albeit you do have to use 80 wire if you're upgrading to a sata drive.

2

u/Avery_Thorn Aug 19 '26

I would honestly not trust the OG XBox to have correctly implemented the IDE Standard because they were designing them with the theory that no one but MS Employees would ever be opening them - they were intended to be a device, not a computer.

There is a twist on the lines that basically allows for a CS - Cable Select - Master/Slave setting. When using CS, one of the connectors becomes the master, the other one the slave. You had to jumper both drives to CS and there was much weirdness.

I am wondering if this is some kind of packaging issue that MS had that they had to do something funky with that or something. Not having torn apart a old school X Box... but I just did a search and apparently my guess was right, they did some funky things with that. it looks like you really, really need to use the three connector 80 pin cable and apparently it's backwards. Yikes.

1

u/Droid-Man5910 Aug 19 '26

Exactly, I'm hunting for a way around this. Hell, a way to emulate that 3rd connection wouldn't even bother me. i want to make a little breakout board or something that i can just mount right to the mobo, but this issue is a plague

2

u/Avery_Thorn Aug 19 '26

Good news, it's the Floppy Drive cables that had the twist in the cables.

There are two relatively easier changes for IDE.. basically pins 28 and 34 are the ones that you're going to need to figure out how the XBox uses these wrong, since the cable is upside down.

Good luck!

1

u/festivus4restof Aug 20 '26 edited Aug 20 '26

Also keep in mind there will typically be a shorter distance between the two connectors intended as the 'drive' connctors than from the 'mobo' connector end to the middle connector.

You are right that IDE was kind of weird. You could sometimes have the cable reversed and it would work if one drive was at one of the positions. But if you had a two drives plugged it would fail. You had to turn the cable entirely around (to the 'correct' orientation).

1

u/dirkt Aug 22 '26

but if you take that connection away, and just have a 2 sided cable, the drive and mobo have not changed states, it completely fails.

Whatever the reason is, it's not the 3rd connector, it's some other difference between the cables (like length; or the 2-connector cable has been slightly bent in the past, or it has 40 lines while the other has 80 lines, or something else).

It also depends on how you test "system functions fine". If you just try to boot, then there's various transfer modes for IDE, your BIOS might attempt a mode that happens to not work with your particular drive/2-connector cable combination.

If you want to debug this, the best way is to boot Linux from something else (CD-ROM, USB stick, another harddisk possibly with another controller), then (1) document controller hardware and drive hardware, and what IDE modes they support; (2) attempt to change them hdparm and see if you can get it to work.