Remove debug logging:
This commit is contained in:
parent
cfa3c0da05
commit
51e0893c04
@ -333,18 +333,11 @@ impl I8080 {
|
||||
if self.halted {
|
||||
return;
|
||||
}
|
||||
println!(
|
||||
"Finish {} ({:?}), got data {}",
|
||||
self.cycle,
|
||||
self.get_mem_cycle(),
|
||||
data
|
||||
);
|
||||
let mut cond_failed = false;
|
||||
match self.cycle {
|
||||
MCycle::M1 => {
|
||||
self.pc += 1;
|
||||
self.opcode = OPCODE_TABLE[data as usize];
|
||||
dbg!(self.opcode);
|
||||
match self.opcode {
|
||||
Opcode::MovMR(_) => (),
|
||||
Opcode::MovRM(_) => (),
|
||||
@ -796,7 +789,6 @@ impl I8080 {
|
||||
},
|
||||
}
|
||||
if self.cycle == self.opcode.max_m_cycle() || cond_failed {
|
||||
println!("Instruction done");
|
||||
self.cycle = MCycle::M1;
|
||||
} else {
|
||||
self.cycle = self.cycle.next();
|
||||
|
@ -228,9 +228,6 @@ impl Widget for &mut Frontpanel<'_> {
|
||||
}
|
||||
}
|
||||
});
|
||||
// if ui.input_mut(|input| input.consume_shortcut(&KeyboardShortcut::new(Modifiers::NONE, Key::Q))) {
|
||||
// dbg!();
|
||||
// }
|
||||
resp
|
||||
}
|
||||
}
|
||||
|
@ -231,10 +231,8 @@ impl eframe::App for AltairEmulator {
|
||||
match sw {
|
||||
frontpanel::ActionSwitch::RunStop => {
|
||||
if state == SwitchState::Up {
|
||||
println!("STOP RUN");
|
||||
self.running = false;
|
||||
} else if state == SwitchState::Down {
|
||||
println!("START RUN");
|
||||
self.running = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user