So, what you are saying is that, even though the company has not paid me salary for 4 months, and will never give me that amount, just because I was unlucky to have signed the employ,net contract with this company, I have to work another 2 months free of cost just because my appointment letter says 2 months notice period ?
This is neither logical nor what the law requires.
All contracts (including deemed contracts like employment) are based on consideration. Consideration means the amount of money payable for the services or for fulfilling any promise made. If the employer has not paid, or paid less than the contracted value, the consideration is not there and the agreement has no validity.
So, where the contract is invalid or inoperative due to default of one party, the other party is under no obligation to complete his part of the contract.