its the black wire you want to look at, but if the dash warning lights are coming on its nothing to do with thye ignition switch or wiring, its either the ecu relay or the wiring between the rear of the fusebox and the ecu
oh and black/yellow wire is the x-over feed for the lights, wipers, blower etc. nothing to do with tyhe ecu.
although saying that if car has been bodged or if there is an aftyermarket immobiliser that could be the reason dash works but not ecu, look for dodgy splices to black and black/yel wire