mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 23:52:26 +00:00
Attempts a fuller setting of GPIP inputs.
This commit is contained in:
parent
1aaa6331a0
commit
d44734d105
@ -654,8 +654,14 @@ class ConcreteMachine:
|
||||
GPIP 0: centronics busy
|
||||
*/
|
||||
mfp_->set_port_input(
|
||||
0x80 |
|
||||
((keyboard_acia_->get_interrupt_line() || midi_acia_->get_interrupt_line()) ? 0x0 : 0x10) // Interrupts are active low.
|
||||
0x00 | // b7: Monochrome monitor detect (1 = is monochrome).
|
||||
0x40 | // b6: RS-232 ring indicator.
|
||||
0x20 | // b5: FD/HS interrupt (0 = interrupt requested).
|
||||
((keyboard_acia_->get_interrupt_line() || midi_acia_->get_interrupt_line()) ? 0x0 : 0x10) | // b4: Keyboard/MIDI interrupt (0 = interrupt requested).
|
||||
0x08 | // b3: Unused
|
||||
0x04 | // b2: RS-232 clear to send.
|
||||
0x02 | // b1 : RS-232 carrier detect.
|
||||
0x00 // b0: Centronics busy (1 = busy).
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user