Lines Matching defs:shift_flags
345 uint8_t scancode, asciicode, shift_flags;
361 shift_flags = read_byte(0x0040, 0x17);
368 shift_flags ^= 0x40;
369 write_byte(0x0040, 0x17, shift_flags);
386 shift_flags &= ~flag;
388 shift_flags |= flag;
389 write_byte(0x0040, 0x17, shift_flags);
395 shift_flags |= 0x04;
396 write_byte(0x0040, 0x17, shift_flags);
408 shift_flags &= ~0x04;
409 write_byte(0x0040, 0x17, shift_flags);
421 shift_flags |= 0x08;
422 write_byte(0x0040, 0x17, shift_flags);
432 shift_flags &= ~0x08;
433 write_byte(0x0040, 0x17, shift_flags);
447 shift_flags ^= 0x20;
448 write_byte(0x0040, 0x17, shift_flags);
461 shift_flags ^= 0x10;
462 write_byte(0x0040, 0x17, shift_flags);
471 if ((shift_flags & 0x0c) == 0x0c) {
494 if (shift_flags & 0x08) { /* ALT */
497 } else if (shift_flags & 0x04) { /* CONTROL */
504 } else if (shift_flags & 0x03) { /* LSHIFT + RSHIFT */
508 if (shift_flags & scan_to_scanascii[scancode].lock_flags) {
517 if (shift_flags & scan_to_scanascii[scancode].lock_flags) {
590 uint8_t scan_code, ascii_code, shift_flags, led_flags, count;
595 shift_flags = read_byte(0x0040, 0x17);
597 if ((((shift_flags >> 4) & 0x07) ^ (led_flags & 0x07)) != 0) {
603 led_flags |= ((shift_flags >> 4) & 0x07);
640 shift_flags = read_byte(0x0040, 0x17);
641 SET_AL(shift_flags);
715 shift_flags = read_byte(0x0040, 0x17);
716 SET_AL(shift_flags);
717 shift_flags = read_byte(0x0040, 0x18) & 0x73;
718 shift_flags |= read_byte(0x0040, 0x96) & 0x0c;
719 SET_AH(shift_flags);