When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations include, but are not limited to, the eBay Partner Network.
By the way, if you really did connect J2 to J4 and J5, then you connected the 160 Baud ALDL data line to ground. I don't think you hurt anything by doing this, but it's a good lesson as to why you should confirm before jabbing wires into the diagnostic port.
Under which module? IIRC "C12" is just "no codes" (for Module 1), whereas H64 is either "Bank 2 (Right Front) Heated Oxygen Sensor (HO2S) #1 Circuit (Lean Exhaust Indicated)" (for Module 4) or "TPS Malfunction" (for Module 9). "C" means "Currently Active" and "H" means "Historical; not currently active."
Because Module 9 has numbered codes just like every other module. While 22 is TPS on Module 4, 64 is TPS on Module 9. They are totally different computers with different inputs.
Best of luck to you. From the sound of it you meant Module 4, and you already know the cause because your engine is a basketcase. Fix your mechanical issues before you try to chase electrical ones.