pub async fn run(&mut self) {
        // 700 instructions per second
        let interval = time::interval(Duration::from_micros(1429));
        tokio::pin!(interval);

        loop {
            interval.as_mut().tick().await;
            self.timer.cycle();
        }
    }
/// Runs the emulator.
///
/// The emulator runs at a speed of 700 instructions per second (700 Hz).
Runs the emulator.
The emulator runs at a speed of 700 instructions per second (700 Hz).
Runs the emulator . The emulator runs at a speed of 700 instructions per second ( 700 Hz ) .
pub async fn run(&mut self) {
        // 700 instructions per second
        let interval = time::interval(Duration::from_micros(1429));
        tokio::pin!(interval);
        loop {
            interval.as_mut().tick().await;
            self.timer.cycle();
        }
    }
pub async fn run ( & mut self ) { // 700 instructions per second let interval = time :: interval ( Duration :: from_micros ( 1429 ) ) ; tokio :: pin ! ( interval ) ; loop { interval . as_mut ( ) . tick ( ) . await ; self . timer . cycle ( ) ; } }
Runs the emulator.
Runs the emulator .
&mut self
&mut self