Computing supernova collapse to neutron stars and black holes