2021-10-20 22:53:25 +00:00
|
|
|
|
|
|
|
use moa_console::ConsoleFrontend;
|
2023-05-01 04:32:33 +00:00
|
|
|
use moa_systems_computie::build_computie;
|
2021-10-20 22:53:25 +00:00
|
|
|
|
|
|
|
fn main() {
|
2023-06-10 22:28:21 +00:00
|
|
|
let matches = ConsoleFrontend::args("Computie68k Emulator")
|
|
|
|
.get_matches();
|
2022-10-09 16:40:20 +00:00
|
|
|
|
2023-06-10 22:28:21 +00:00
|
|
|
let mut frontend = ConsoleFrontend::new();
|
2021-10-20 22:53:25 +00:00
|
|
|
|
2023-06-11 00:39:20 +00:00
|
|
|
let system = build_computie(&mut frontend).unwrap();
|
2023-06-10 22:28:21 +00:00
|
|
|
frontend.start(matches, system);
|
2021-10-20 22:53:25 +00:00
|
|
|
}
|
|
|
|
|