コード例 #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 BusRegistered(T what, BusRangeRegistration where)
 {
     Peripheral        = what;
     RegistrationPoint = where;
 }