Resistive and ferritic-wall plasma dynamos in a sphere