My Boss Force me resign/ Denied to move in rental space

Hi, I lived in Delhi till last year in septaember 2016 I got a job offer from a company in Bangalore. They told me that they will give me hike on current salary after probation period i.e. 3 months. Somehow they convinced me. I left delhi I start doing work in this company in october. In starting fifteen days I realized that various thing is wrong in the workplace i.e. boss fired anyone at any stage, he called people from different state and than after 3 or 4 days he told them to leave the company as he didn't like their work and lot more, he asked everyone to stay late after finishing their work hour(extra 2 or 3 hour). With this kind of culture first thought keep coming in mind that to secure your job at any cost. I went their on profile of business development. He gave me tasks of marketing. I was totally doing marketing and was doing good. I was staying over there for min 10-11 hours daily for work as I also want to secure my job and want that hike in three months. Works keep going so office hours but three months passed, six months passed but no sign of increment. I talked to him several times but nothing happens. But this was not the only problem, Main problem starts in Feb 2017 when my boss fired CTO (Cheif Technical Officer). CTO was living in a flat giving by company as perk. It has nothing to do with me till he my boss after firing CTO asked me to shift over that vacate palace on rental basis. I agreed with him and shifted over there in Feb with two other colleagues and giving 8000 pm as rent for single room. Things going fine till after three months he asked me to vacate the place in a single day. I told him where I will be finding a new place to live in single day but He was not in mood to listen anything. I took half day leave and found a pg. One month is about to pass I received a call from him as he was not in town saying that I have to again shift over that vacate place and this time only for two months as he was unable to fetch security amount of that flat from the Owner of that place. I simply refused this time as for me it is difficult to shift every month in a new place and also this is my personal matter as well. But when I refused him for the place he became furious and utter nonsense on call and tried to make pressure on me to shift over there. But I didn't come under pressure and simply refused him. He became angry and asked me to resign if I didn't want to shift over that place. I had no choice left, posted my resignation letter to him on mail and On the same day I have to give all credential, Id card, office belonging to them and left the office. Two months passed from the incident I am still looking for job but my job profile ruined because of him. Please suggest me what can I do.