Beispiel #1
0
        public MOS6502(Memory.MemoryMap memory, byte phase)
        {
            _opFactory = new MOS6502_OpFactory(this);

            _memory = memory;
            _phase  = phase;
        }
 public CortexM(IDapAccessLink link,
                DebugAccessPort dp,
                MEM_AP ap,
                Memory.MemoryMap memoryMap = null,
                byte core_num = 0) : base(link, memoryMap)
 {
     this.arch            = 0;
     this.core_type       = 0;
     this.has_fpu         = false;
     this.dp              = dp;
     this.ap              = ap;
     this.core_number     = core_num;
     this._run_token      = 0;
     this._target_context = null;
     // Set up breakpoints manager.
     this.fpb        = new FPB(this.ap);
     this.dwt        = new DWT(this.ap);
     this.sw_bp      = new SoftwareBreakpointProvider(this);
     this.bp_manager = new BreakpointManager(this);
     this.bp_manager.add_provider(this.fpb, EBreakpointType.BREAKPOINT_HW);
     this.bp_manager.add_provider(this.sw_bp, EBreakpointType.BREAKPOINT_SW);
 }
Beispiel #3
0
        public MOS6502(Memory.MemoryMap memory, byte phase)
        {
            _opFactory = new MOS6502_OpFactory(this);

            _memory = memory;
            _phase = phase;
        }
Beispiel #4
0
 public MOS6510(ushort ioAddress, ushort ioSize, Memory.MemoryMap memory, byte phase)
     : base(memory, phase)
 {
     _port = new CPUPort(ioAddress, ioSize);
 }