internal void Init1(CustEE ee) { this.ee = ee; }
public static bool Rec1(uint addr, SortedDictionary <uint, MobUt.Tx8> dicti2a, CustEE ee) { #if AllowRec1 string dirlib = Settings.Default.dirlib; string flib = Myrec.Getflib(addr, dirlib); if (!File.Exists(flib)) { Myrec.Privrec1(addr, new MemoryStream(Uteeram.eeram, false), dirlib); if (!File.Exists(flib)) { return(false); } } Assembly lib = Assembly.LoadFile(flib); Type cls1 = lib.GetType("ee1Dec.C.Class1"); object o = Activator.CreateInstance(cls1, ee); MethodInfo mi = cls1.GetMethod(LabUt.addr2Funct(addr)); MobUt.Tx8 tx8 = (MobUt.Tx8)Delegate.CreateDelegate(typeof(MobUt.Tx8), o, mi); dicti2a[addr] = tx8; System.Diagnostics.Debug.WriteLine("## " + addr.ToString("X8")); return(true); #else return(false); #endif }