mirror of
https://github.com/TomHarte/CLK.git
synced 2024-09-07 12:54:34 +00:00
Adjusted per tests on StarDot; it appears the tape interrupts may fire during audio output, as if in tape output mode.
This commit is contained in:
parent
dae6b45464
commit
97304e22f0
@ -230,11 +230,11 @@ unsigned int Machine::perform_bus_operation(CPU6502::BusOperation operation, uin
|
|||||||
{
|
{
|
||||||
update_audio();
|
update_audio();
|
||||||
_speaker->set_is_enabled(new_speaker_is_enabled);
|
_speaker->set_is_enabled(new_speaker_is_enabled);
|
||||||
_tape.set_is_enabled(!new_speaker_is_enabled);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_tape.set_is_enabled((*value & 6) != 6);
|
||||||
|
_tape.set_is_in_input_mode((*value & 6) == 0);
|
||||||
_tape.set_is_running(((*value)&0x40) ? true : false);
|
_tape.set_is_running(((*value)&0x40) ? true : false);
|
||||||
_tape.set_is_in_input_mode(((*value)&0x04) ? false : true);
|
|
||||||
|
|
||||||
// TODO: caps lock LED
|
// TODO: caps lock LED
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user