예제 #1
0
        public MGLDriver(IEmulationInstance emulator, ComponentParameters parameters)
        {
            this.Emu          = emulator;
            this.MemorySystem = this.Emu.Cpu.Memory.MemorySystem;
            _parameters       = parameters;
            _caps             = new MGLCapabilities();
            this.Properties   = new DisplayProperties();

            _statisticsSource = new MGLStatisticsSource(this);
            Diag.Instance.Counters.RegisterSource(_statisticsSource);
        }
예제 #2
0
        public MGLDriver( IEmulationInstance emulator, ComponentParameters parameters )
        {
            this.Emu = emulator;
            this.MemorySystem = this.Emu.Cpu.Memory.MemorySystem;
            _parameters = parameters;
            _caps = new MGLCapabilities();
            this.Properties = new DisplayProperties();

            _statisticsSource = new MGLStatisticsSource( this );
            Diag.Instance.Counters.RegisterSource( _statisticsSource );
        }