make keyboard actually type things
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "../include/screen.h"
|
||||
#include "../include/pic.h"
|
||||
#include "../include/pit.h"
|
||||
#include "../include/keyboard.h"
|
||||
|
||||
typedef size_t uword_t;
|
||||
struct interrupt_frame
|
||||
@@ -75,12 +76,6 @@ __attribute__((interrupt)) void isr_timer(struct interrupt_frame *frame)
|
||||
pic_end_int(0x0);
|
||||
}
|
||||
|
||||
void handle_keyboard()
|
||||
{
|
||||
uint8_t scancode = inb(0x60);
|
||||
printf("%X ", scancode);
|
||||
}
|
||||
|
||||
__attribute__((interrupt)) void isr_custom(struct interrupt_frame *frame)
|
||||
{
|
||||
//terminal_writestring("YOOOOO!!!!!! I LOVE KATYA!!!!");
|
||||
|
||||
Reference in New Issue
Block a user