unsigned short scancode; unsigned short status; char typed[] = ""; while(1 == 1) { //status = inportb(0x64); scancode = inportb(0x60); if(scancode == 0x1e) //A { k_printf("A", 5); update_cursor(6, 1); } }