i've implemented interrupts, and keyboard driver, but i cant put char on screen when intterrupt happens.
this is my keyboard handler
Code: Select all
static void keyboard_callback(registers_t regs) {
kprintf("int"); // for debug only, but anyway it does not print anything on screen;
dlog("key int"); // it works
u8 scancode = inb(0x60);
char *sc_ascii = convert(scancode, 10);
print_letter(scancode); //<-- it is function that call shell_handler() and it should print text on screen.
}
how to solve this problem?
code - https://github.com/s04v/OSv1.0