OK I took the car to the mechanic since I couldn't figure out wtf was wrong (got codes 15 and 21, replaced TPS and temp sensor, still get codes and bad TPS symptoms). He called and said it needed a new battery.
Put in a new battery, strarted it up, and went for a 20 minute test drive. Half way through the check engine light came on! Same 2 codes. The light turned off after a few seconds though (before it was on all the time) and the car was running normally again.
I took the car back and explained what happened. His best guess was bad ground or bad wiring between the computer and the two sensors. The smaller wire coming off the negative battery terminal wasn't really grounded, as I found it was attached to a PILE of rust that used to be the wall next to the battery.
Any ideas? Anyone ever made an entireley new duke wiring harness?
Need my car running again... 
------------------

1984 Fiero SE