mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-12 15:31:09 +00:00
Fixes keyboard data return.
Input sort of works now! Except that key repeat is way out of control.
This commit is contained in:
parent
5d1970d201
commit
3d91b0a31b
@ -55,7 +55,7 @@ uint8_t GLU::get_keyboard_data() {
|
||||
// The classic Apple II serial keyboard register:
|
||||
// b7: key strobe.
|
||||
// b6–b0: ASCII code.
|
||||
return (registers_[0] & 0x7f) | (status_ & uint8_t(CPUFlags::KeyboardDataFull)) ? 0x80 : 0x00;
|
||||
return (registers_[0] & 0x7f) | ((status_ & uint8_t(CPUFlags::KeyboardDataFull)) ? 0x80 : 0x00);
|
||||
}
|
||||
|
||||
void GLU::clear_key_strobe() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user