I see. My method was kind of cheap, and obviously not appropriate for MAME / MESS. I just attached another unnamed core, and at startup it would check which add-on chip was present and jump to its entry point. If there were no appropriate chip, it'd go into a dummy loop that would add a full second worth of clock cycles to the counter. Didn't slow down ordinary games by more than ~1%.