Honda prelude runs bad stalls until the check engine light comes on then it's fine what could be wrong?

Honda prelude runs bad stalls until the check engine light comes on then it's fine what could be wrong? - 1

Its not fine. The service light kicks on to put the car in a limp home mode so its drivable

It's not a limp home mode. It goes to a open loop mode when the engine light comes on. When it is in open loop the engine is cold and the emission controls are not working at that time so what you have is when the temp comes up to the point where the computer starts to control the emissions the computer notices a fault and does it's best to work around it. I'd say your EGR valve does not work correctly, may just need to be cleaned. Get the codes read and work from there.