Lines Matching refs:peripheral
25 var peripheral = new MappedMemory(machine, 10); in ShouldNotUnregisterSinglePeripheralFromGroup()
26 machine.SystemBus.Register(peripheral, new BusPointRegistration(0x0)); in ShouldNotUnregisterSinglePeripheralFromGroup()
27 machine.SystemBus.Unregister(peripheral); in ShouldNotUnregisterSinglePeripheralFromGroup()
29 machine.SystemBus.Register(peripheral, new BusPointRegistration(0x0)); in ShouldNotUnregisterSinglePeripheralFromGroup()
30 machine.PeripheralsGroups.GetOrCreate("test-group", new [] { peripheral }); in ShouldNotUnregisterSinglePeripheralFromGroup()
34 machine.SystemBus.Unregister(peripheral); in ShouldNotUnregisterSinglePeripheralFromGroup()
50 var peripheral = new MappedMemory(machine, 10); in ShouldUnregisterPeripheralGroups()
51 machine.SystemBus.Register(peripheral, new BusPointRegistration(0x0)); in ShouldUnregisterPeripheralGroups()
52 … var group = machine.PeripheralsGroups.GetOrCreate("test-group", new [] { peripheral }); in ShouldUnregisterPeripheralGroups()
53 Assert.IsTrue(machine.IsRegistered(peripheral)); in ShouldUnregisterPeripheralGroups()
55 Assert.IsFalse(machine.IsRegistered(peripheral)); in ShouldUnregisterPeripheralGroups()