| 1347 | } |
| 1348 | |
| 1349 | void draco_keycode(uae_u16 scancode, uae_u8 state) |
| 1350 | { |
| 1351 | if (currprefs.cs_compatible == CP_DRACO && (currprefs.cpuboard_settings & 0x10)) { |
| 1352 | if (draco_kbd_buffer_len == 0 && !(draco_reg[3] & DRSTAT_KBDRECV)) { |
| 1353 | draco_key_process(scancode, state); |
| 1354 | } else { |
| 1355 | draco_kbd_in_buffer[draco_kbd_in_buffer_len++] = scancode | (state ? 0x8000 : 0x00); |
| 1356 | } |
| 1357 | } |
| 1358 | } |
| 1359 | |
| 1360 | static void draco_hsync(void) |
| 1361 | { |
no test coverage detected