I have heard several stories like yours, and none of them ended well.
It has not happened to me, because I would have quit after even a single missing paycheck -- the job market for software developers is just too good for anyone to be willing to put up with this kind of abuse.
I really hope you are looking for another job rather than staying where you are and hoping to get a paycheck. And I also really hope you are talking to a qualified lawyer about this.