commit | 0b35bf237b190ccfbdb9e71cd7057c03c880ad48 | [log] [tgz] |
---|---|---|
author | swissChili <swisschili@fastmail.com> | Thu Feb 18 12:49:40 2021 -0800 |
committer | swissChili <swisschili@fastmail.com> | Thu Feb 18 12:49:40 2021 -0800 |
tree | 64e95eaebd8c52f0c85363c2fee7b11b97983699 | |
parent | d8137921b3319a2b7e215920e37f46919e66964b [diff] [blame] |
Add printf, gdb support, fix gdt
diff --git a/src/interrupts.c b/src/interrupts.c index 615f367..c8ded7c 100644 --- a/src/interrupts.c +++ b/src/interrupts.c
@@ -11,5 +11,7 @@ void isr_handler(struct registers regs) { - vga_write("Interrupt triggered\n"); + vga_write("Interrupt triggered! "); + vga_putx(regs.interrupt_number); + vga_write("\n"); }