mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-27 16:31:31 +00:00
Switched to a ROM trap for typing.
This commit is contained in:
parent
8c70dc5891
commit
a7e4c0c3b5
@ -79,14 +79,9 @@ unsigned int Machine::perform_bus_operation(CPU6502::BusOperation operation, uin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// if(_typer && operation == CPU6502::BusOperation::ReadOpcode && address == 0xEE22)
|
if(_typer && operation == CPU6502::BusOperation::ReadOpcode && address == 0xF495)
|
||||||
// {
|
|
||||||
// if(!_typer->type_next_character())
|
|
||||||
// _typer.reset();
|
|
||||||
// }
|
|
||||||
if(_typer)
|
|
||||||
{
|
{
|
||||||
_typer->update(1);
|
if(!_typer->type_next_character()) _typer.reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
_via.run_for_cycles(1);
|
_via.run_for_cycles(1);
|
||||||
|
@ -89,8 +89,6 @@ class Machine:
|
|||||||
|
|
||||||
// for Utility::TypeRecipient
|
// for Utility::TypeRecipient
|
||||||
virtual bool typer_set_next_character(Utility::Typer *typer, char character, int phase);
|
virtual bool typer_set_next_character(Utility::Typer *typer, char character, int phase);
|
||||||
virtual int get_typer_delay() { return _typer_delay; }
|
|
||||||
virtual int get_typer_frequency() { return 40000; }
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// RAM and ROM
|
// RAM and ROM
|
||||||
|
Loading…
Reference in New Issue
Block a user