MAME also simulated hardware (connect this resistor to that transistor etc). This is all hardware and no CPU.