Beispiel #1
0
        public async Task HardResetAsync()
        {
            SetCycleCounter(0);

            //wait until processing stopped
            if (Worker != null)
            {
                await Worker;
            }

            //reset cpu
            Cpu.Reset();
        }