Project

General

Profile

Revision 43

minor changes. added compile.sh

View differences:

lab3.c
98 98
        if(kbd_print_scancode((~c[0])&BREAK_CODE_BIT, size, c)) return 1;
99 99
    }while(!(size == 1 && c[0] == ESC_BREAK_CODE));
100 100

  
101
    uint8_t cmd = 0;
102
    if(kbc_read_cmd(&cmd)) return 1;
103
    cmd = (cmd | INT_KBD) & (~DIS_KBD);
104
    if(kbc_change_cmd(cmd)) return 1;
101
    if(kbc_restore_kbd()) return 1;
105 102

  
106
    if (kbd_print_no_sysinb(sys_inb_counter)) return 1;
103
    if(kbd_print_no_sysinb(sys_inb_counter)) return 1;
107 104

  
108 105
    return 0;
109 106
}

Also available in: Unified diff