mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Removed logging.
This commit is contained in:
parent
1439ca0580
commit
69d78dfdb3
@ -111,7 +111,6 @@ template <class T> class MOS6522 {
|
|||||||
case 0xb: _registers.auxiliary_control = value; break;
|
case 0xb: _registers.auxiliary_control = value; break;
|
||||||
case 0xc:
|
case 0xc:
|
||||||
_registers.peripheral_control = value;
|
_registers.peripheral_control = value;
|
||||||
printf("Peripheral control %02x\n", value);
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// Interrupt control
|
// Interrupt control
|
||||||
@ -125,7 +124,6 @@ template <class T> class MOS6522 {
|
|||||||
else
|
else
|
||||||
_registers.interrupt_enable &= ~value;
|
_registers.interrupt_enable &= ~value;
|
||||||
reevaluate_interrupts();
|
reevaluate_interrupts();
|
||||||
printf("[%p] Interrupt mask -> %02x\n", this, _registers.interrupt_enable);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -19,9 +19,6 @@ Machine::Machine() :
|
|||||||
_keyboardVIA.set_delegate(this);
|
_keyboardVIA.set_delegate(this);
|
||||||
_tape.set_delegate(this);
|
_tape.set_delegate(this);
|
||||||
set_reset_line(true);
|
set_reset_line(true);
|
||||||
|
|
||||||
printf("User port: %p\n", &_userPortVIA);
|
|
||||||
printf("Keyboard: %p\n", &_keyboardVIA);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Machine::~Machine()
|
Machine::~Machine()
|
||||||
@ -146,7 +143,7 @@ void Machine::add_prg(size_t length, const uint8_t *data)
|
|||||||
void Machine::set_tape(std::shared_ptr<Storage::Tape> tape)
|
void Machine::set_tape(std::shared_ptr<Storage::Tape> tape)
|
||||||
{
|
{
|
||||||
_tape.set_tape(tape);
|
_tape.set_tape(tape);
|
||||||
set_typer_for_string("LOAD\n");
|
set_typer_for_string("LOAD:\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
void Machine::tape_did_change_input(Tape *tape)
|
void Machine::tape_did_change_input(Tape *tape)
|
||||||
|
Loading…
Reference in New Issue
Block a user