示例#1
0
        // 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();
        }
示例#2
0
文件: m6502.cs 项目: kwanboy/mcs
        // 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();
        }