Right now, the main loop is run_until_alarm() in cpu/src/lib.rs. But the basic design idea is that the cpu crate should be passive, responding to calls from the main program (which operates the UI). So probably most of run_until_alarm() should move to cli/src/main.rs.
Right now, the main loop is
run_until_alarm()
incpu/src/lib.rs
. But the basic design idea is that the cpu crate should be passive, responding to calls from the main program (which operates the UI). So probably most ofrun_until_alarm()
should move tocli/src/main.rs
.