public static attoseconds_t HZ_TO_ATTOSECONDS(XTAL x) { return(ATTOSECONDS_PER_SECOND / x); }
public static attotime from_hz(XTAL xtal) { return((xtal.dvalue() > 1.0) ? new attotime(0, HZ_TO_ATTOSECONDS(xtal)) : from_hz(xtal.dvalue())); }
public static attotime from_ticks(u64 ticks, XTAL xtal) { return(from_ticks(ticks, xtal.value())); }
u64 as_ticks(XTAL xtal) { return(as_ticks(xtal.value())); }
} //#define MCFG_DEVICE_ADD(_tag, ...) device = emu::detail::device_add_impl(config, _tag, __VA_ARGS__); public static void MCFG_DEVICE_ADD(out device_t device, machine_config config, device_t owner, string tag, device_type type, XTAL clock) { device = emu.detail.mconfig_global.device_add_impl(config, tag, type, owner, clock); } //#define MCFG_DEVICE_ADD(_tag, ...) device = emu::detail::device_add_impl(config, _tag, __VA_ARGS__);