示例#1
0
        public static void Redirect(this SystemBus sysbus, long from, long to, long size)
        {
            var redirector = new Redirector(sysbus.Machine, to);
            var rangePoint = new BusRangeRegistration(from.By(size));

            sysbus.Register(redirector, rangePoint);
        }
示例#2
0
 public static void Redirect(this SystemBus sysbus, long from, long to, long size)
 {
     var redirector = new Redirector(sysbus.Machine, to);
     var rangePoint = new BusRangeRegistration(from.By(size));
     sysbus.Register(redirector, rangePoint);
 }
示例#3
0
 public BusRegistered(T what, BusRangeRegistration where)
 {
     Peripheral        = what;
     RegistrationPoint = where;
 }