public virtual void SetDefaultDevice(MemoryMappedDevice Device) { DefaultDevice = new BusSlot(0, Device.Size, Device); }
public virtual void Attach(int Start, int End, MemoryMappedDevice Mem) { MemoryDevices.Add(new BusSlot(Start, End, Mem)); }
public virtual void Attach(int Start, MemoryMappedDevice Mem) { Attach(Start, Start + Mem.Size, Mem); }
public BusSlot(int Start, int End, MemoryMappedDevice Mem) { this.Start = Start; this.End = End; this.MemoryDevice = Mem; }