Exemple #1
0
 public static attoseconds_t HZ_TO_ATTOSECONDS(XTAL x)
 {
     return(ATTOSECONDS_PER_SECOND / x);
 }
Exemple #2
0
 public static attotime from_hz(XTAL xtal)
 {
     return((xtal.dvalue() > 1.0) ? new attotime(0, HZ_TO_ATTOSECONDS(xtal)) : from_hz(xtal.dvalue()));
 }
Exemple #3
0
 public static attotime from_ticks(u64 ticks, XTAL xtal)
 {
     return(from_ticks(ticks, xtal.value()));
 }
Exemple #4
0
 u64 as_ticks(XTAL xtal)
 {
     return(as_ticks(xtal.value()));
 }
Exemple #5
0
        }                                                                                                                                                                                                                                 //#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__);