Having some trouble with M50 harness power wires. Best to explain with pics:

These wires come out of the main engine harness at the firewall.
WIRE A: I believe this is supposed to connect to the power distribution block. I did a continuity test and it registers with pin #26 on the DME plug.
WIRE B: I believe this is the harness ground that's supposed to connect to the strut tower. Continuity test registers it with about a zillion pins on the DME plug, so I'm pretty sure it's the harness ground.
I connected wire A to the power distribution block and grounded wire B to the strut tower. When I turn the key halfway, all the electronics come on and work--interior lights, windows, gauge cluster, on board computer, blinkers, headlights, hell even the seat warmers. When I try to START the car, however, there's just a loud snap and EVERYTHING goes out for about 5 minutes, after which the electrical system seems to work again. I've only done it twice, once with both wire A and wire B grounded and once with wire A connected to the power distribution block.
As far as I can tell, everything else is wired correctly--the big red wire that goes across the firewall is connected to the power distribution block and the two ends are connected to the starter and the fusebox. Another big red wire connects the starter to the alternator.
I think my problem may have something to do with this thing:

As far as I can tell, the car had an aftermarket Alpine alarm installed in it at some point--the guy who had it before me, for whatever reason, cut it all out. I have the entire system and all the cut wires, and I can see the cut ends behind the passenger side dash. I think this is part of it. This wire comes out of the chassis on the passenger side and it has some body harenss wires crimped into it, as well as these fuses. I don't know if it should be grounded or connected to the power distribution block. The big black horn thing in the picture--I think that's the aftermarket alarm horn. Can anyone confirm any of this or tell me either way what it is?
Help me start my car! I don't want to fry this harness and i nearly shit my pants every time I even THINK about turning the key.
Also, slightly related, does this groundwire go anywhere? THis is the only one I've seen as long as I've been working on the car but I have a feeling it might be important:

Thanks in advance!
LooN

These wires come out of the main engine harness at the firewall.
WIRE A: I believe this is supposed to connect to the power distribution block. I did a continuity test and it registers with pin #26 on the DME plug.
WIRE B: I believe this is the harness ground that's supposed to connect to the strut tower. Continuity test registers it with about a zillion pins on the DME plug, so I'm pretty sure it's the harness ground.
I connected wire A to the power distribution block and grounded wire B to the strut tower. When I turn the key halfway, all the electronics come on and work--interior lights, windows, gauge cluster, on board computer, blinkers, headlights, hell even the seat warmers. When I try to START the car, however, there's just a loud snap and EVERYTHING goes out for about 5 minutes, after which the electrical system seems to work again. I've only done it twice, once with both wire A and wire B grounded and once with wire A connected to the power distribution block.
As far as I can tell, everything else is wired correctly--the big red wire that goes across the firewall is connected to the power distribution block and the two ends are connected to the starter and the fusebox. Another big red wire connects the starter to the alternator.
I think my problem may have something to do with this thing:

As far as I can tell, the car had an aftermarket Alpine alarm installed in it at some point--the guy who had it before me, for whatever reason, cut it all out. I have the entire system and all the cut wires, and I can see the cut ends behind the passenger side dash. I think this is part of it. This wire comes out of the chassis on the passenger side and it has some body harenss wires crimped into it, as well as these fuses. I don't know if it should be grounded or connected to the power distribution block. The big black horn thing in the picture--I think that's the aftermarket alarm horn. Can anyone confirm any of this or tell me either way what it is?
Help me start my car! I don't want to fry this harness and i nearly shit my pants every time I even THINK about turning the key.
Also, slightly related, does this groundwire go anywhere? THis is the only one I've seen as long as I've been working on the car but I have a feeling it might be important:

Thanks in advance!
LooN
Comment