Dynamics of a creep-slip model of earthquake faults