public void Execute(BaseMemoryMap memoryMap) { if (!File.Exists(_filename)) { return; } var file = File.OpenRead(_filename); var buffer = new byte[file.Length]; file.Read(buffer, 0, buffer.Length); file.Close(); memoryMap.Write(buffer, 0, buffer.Length, Offset); }
public void Execute(BaseMemoryMap memoryMap) { memoryMap.WriteByte(Offset, _value); }
public MemoryMapByteProvider(BaseMemoryMap memoryMap) { _memoryMap = memoryMap; }
public TestArm32ExecutionEnvironment(ICpuState cpuState, BaseMemoryMap memoryMap, IInterruptBroker interruptBroker) { CpuState = cpuState; MemoryMap = memoryMap; InterruptBroker = interruptBroker; }