Sportrak engine dies

Forum: 

I've just bought a 1990 Sportrak and the engine starts ok from cold but as it warms up the engine dies, It's ok when the engine is warm.
Anyone got any ideas? I thought it may be the automatic choke but have no idea how it works.