1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-30 22:29:56 +00:00

Fixed: BC2 is always implicitly set. The machine is now periodically checking the AY's register 14 (i.e. the first input port), so probably there's enough here now to implement keyboard input.

This commit is contained in:
Thomas Harte 2017-08-01 17:05:11 -04:00
parent cb732e5d5f
commit 3b292273c7

View File

@ -264,7 +264,8 @@ class i8255PortHandler : public Intel::i8255::PortHandler {
ay_->set_control_lines(
(GI::AY38910::ControlLines)(
((value & 0x80) ? GI::AY38910::BCDIR : 0) |
((value & 0x40) ? GI::AY38910::BC1 : 0)
((value & 0x40) ? GI::AY38910::BC1 : 0) |
GI::AY38910::BC2
));
break;
}