Remove debug logging:

This commit is contained in:
pjht 2024-01-30 12:58:05 -06:00
parent cfa3c0da05
commit 51e0893c04
Signed by: pjht
GPG Key ID: CA239FC6934E6F3A
3 changed files with 0 additions and 13 deletions

View File

@ -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();

View File

@ -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
}
}

View File

@ -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;
}
}