You could start applying for other jobs. When you find one, you can put in your papers at the current company and join the other one. Also, isn't it possible for you to talk to your managers and let them know fo the situation? Can't you tell them that you aren't really happy workign on prolog and would like to be shifted to a team working on some other platforms?