Add: cursor & verbose output

This commit is contained in:
xamidev
2024-08-23 15:22:19 +02:00
parent 6d0c9ac62b
commit a029218acd
10 changed files with 40 additions and 30 deletions

View File

@@ -1,6 +1,7 @@
#include "system.h"
#include "io.h"
#include "idt.h"
#include "../libc/stdio.h"
extern void irq0();
extern void irq1();
@@ -69,6 +70,7 @@ void irq_install()
idt_set_gate(45, (unsigned)irq13, 0x08, 0x8E);
idt_set_gate(46, (unsigned)irq14, 0x08, 0x8E);
idt_set_gate(47, (unsigned)irq15, 0x08, 0x8E);
printf("[kernel] installed irq 0-15\n");
}
void irq_handler(struct regs *r)