burritos/src/main.rs

15 lines
439 B
Rust
Raw Normal View History

2023-01-11 14:58:12 +01:00
mod simulator;
use simulator::machine::Machine;
use simulator::mem_cmp;
2022-10-19 16:39:38 +02:00
2022-10-05 16:30:21 +02:00
fn main() {
let mut m = Machine::_init_machine();
let path = "memoryJump.txt".to_string();
let checker = mem_cmp::Mem_Checker::from(&path);
mem_cmp::Mem_Checker::fill_memory_from_Mem_Checker(&checker, &mut m);
2023-03-05 23:49:28 +01:00
//mem_cmp::Mem_Checker::print_Mem_Checker(&checker);
//Machine::print_memory(&mut m, 0x400000, 0x405000);
2023-03-07 17:32:59 +01:00
//Machine::run(m);
2022-10-05 16:30:21 +02:00
}