Ok, so you were doing what you loved, because you love it. That's fine. But at the same time, you were working for a business, and the manager of that business should have known that they were hurting their bottom line because they allowed people to come in on the weekends.
For the reason why, read peopleware, or http://www.igda.org/why-crunch-modes-doesnt-work-six-lessons
It keeps amazing me how clearly peopleware spells out how you're supposed to manage software teams, and how few teams are actually managed that way.