Exemplo n.º 1
0
 public void Reset()
 {
     TheCPU.AsyncReset();
     TheCPU1541.AsyncReset();
     TheSID.Reset();
     TheCIA1.Reset();
     TheCIA2.Reset();
     TheIEC.Reset();
 }
Exemplo n.º 2
0
        public void NewPrefs(Prefs prefs)
        {
            open_close_joysticks(GlobalPrefs.ThePrefs.Joystick1On, GlobalPrefs.ThePrefs.Joystick2On, prefs.Joystick1On, prefs.Joystick2On);
            patch_kernel(prefs.FastReset, prefs.Emul1541Proc);

            TheDisplay.NewPrefs(prefs);

            TheIEC.NewPrefs(prefs);
            TheJob1541.NewPrefs(prefs);

            TheREU.NewPrefs(prefs);
            TheSID.NewPrefs(prefs);

            // Reset 1541 processor if turned on
            if (!GlobalPrefs.ThePrefs.Emul1541Proc && prefs.Emul1541Proc)
            {
                TheCPU1541.AsyncReset();
            }
        }