mirror of
https://github.com/TomHarte/CLK.git
synced 2025-04-04 13:31:26 +00:00
Ensures the AY goes high impedance when not in read mode.
This commit is contained in:
parent
0b14850467
commit
59f8eeb05a
@ -276,8 +276,9 @@ void AY38910::set_control_lines(ControlLines control_lines) {
|
||||
}
|
||||
|
||||
void AY38910::update_bus() {
|
||||
data_output_ = 0xff;
|
||||
switch(control_state_) {
|
||||
default: break;
|
||||
default: break;
|
||||
case LatchAddress: select_register(data_input_); break;
|
||||
case Write: set_register_value(data_input_); break;
|
||||
case Read: data_output_ = get_register_value(); break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user