I have a feeling your crank broke, starting showing knock and shortly after that you had the catastrophic failure. Based on my personal experience, when the dash light fails, you're got about 5 minutes before the battery is dead and the car cuts off. (I hate that $%^# circuit)