mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-22 12:33:29 +00:00
Disk II: Don't overwrite data bus when not asked to
Return DidNotLoad rather than 0xff from read_address on odd-numbered addresses so that the data bus is not overwritten with 0xff on those accesses.
This commit is contained in:
parent
e9420fc48d
commit
01cf7462d5
@ -294,7 +294,7 @@ int DiskII::read_address(int address) {
|
||||
break;
|
||||
}
|
||||
decide_clocking_preference();
|
||||
return (address & 1) ? 0xff : shift_register_;
|
||||
return (address & 1) ? DidNotLoad : shift_register_;
|
||||
}
|
||||
|
||||
void DiskII::set_activity_observer(Activity::Observer *observer) {
|
||||
|
Loading…
Reference in New Issue
Block a user