Project

General

Profile

Revision 81

added documentation

View differences:

mouse.c
138 138
    uint8_t stat;
139 139
    while(true){
140 140
        if((ret = util_sys_inb(STATUS_REG, &stat))) return ret;
141
        //printf("%x\n",stat);
141 142
        if((stat&OUT_BUF_FUL) && (stat&AUX_MOUSE)) {
142 143
            if(stat & (PARITY_ERROR | TIME_OUT_REC)) return OTHER_ERROR;
143 144
            if((ret = util_sys_inb(OUTPUT_BUF, byte))) return ret;

Also available in: Unified diff