// device-level overrides protected override void device_start() { m_dimemory = GetClassInterface <device_memory_interface_m6502>(); m_diexec = GetClassInterface <device_execute_interface_m6502>(); m_distate = GetClassInterface <device_state_interface_m6502>(); mintf = m_dimemory.space(AS_PROGRAM).addr_width() > 14 ? new mi_default() : new mi_default14(); init(); }
// device-level overrides protected override void device_start() { m_dimemory = GetClassInterface <device_memory_interface_m6502>(); m_diexec = GetClassInterface <device_execute_interface_m6502>(); m_distate = GetClassInterface <device_state_interface_m6502>(); if (cache_disabled) { mintf = new mi_default_nd(); } else { mintf = new mi_default_normal(); } init(); }