public byte AddDevice(IProcessor processor, IDevice device, IDeviceView view, byte slot) { if (devices.ContainsKey(slot)) { return AddDevice(processor, device, view); } else { devices[slot] = device; device.Attached(GetInterruptDelegate(processor), view); return slot; } }