|
|
@ -12,18 +12,9 @@ fn main() { |
|
|
|
let cfgu = Cfgu::init().expect("Couldn't obtain CFGU controller"); |
|
|
|
let cfgu = Cfgu::init().expect("Couldn't obtain CFGU controller"); |
|
|
|
let _console = Console::init(gfx.top_screen.borrow_mut()); |
|
|
|
let _console = Console::init(gfx.top_screen.borrow_mut()); |
|
|
|
|
|
|
|
|
|
|
|
println!( |
|
|
|
println!("\x1b[0;0HRegion: {:?}", cfgu.get_region().unwrap()); |
|
|
|
"\x1b[0;0HRegion: {:?}", |
|
|
|
println!("\x1b[10;0HLanguage: {:?}", cfgu.get_language().unwrap()); |
|
|
|
cfgu.get_region().unwrap() |
|
|
|
println!("\x1b[20;0HModel: {:?}", cfgu.get_model().unwrap()); |
|
|
|
); |
|
|
|
|
|
|
|
println!( |
|
|
|
|
|
|
|
"\x1b[10;0HLanguage: {:?}", |
|
|
|
|
|
|
|
cfgu.get_language().unwrap() |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
println!( |
|
|
|
|
|
|
|
"\x1b[20;0HModel: {:?}", |
|
|
|
|
|
|
|
cfgu.get_model().unwrap() |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Main loop
|
|
|
|
// Main loop
|
|
|
|
while apt.main_loop() { |
|
|
|
while apt.main_loop() { |
|
|
|