diff --git a/src/hulk/idt.d b/src/hulk/idt.d index 6ec4f55..3d37181 100644 --- a/src/hulk/idt.d +++ b/src/hulk/idt.d @@ -10,6 +10,7 @@ import hulk.console; import hulk.klog; import hulk.apic; import hulk.cpu; +import hulk.kfont; struct Idt { @@ -151,7 +152,7 @@ public extern(C) void isr(ulong vector, ulong arg, Idt.ExceptionStackFrame * sta default: Console.clear(); - Fb.clear(0xFF8000u); + Fb.rect(0, 0, Fb.width, Kfont.line_height, 0xCC0000u); Klog.writefln("ISR %u, error code 0x%x", vector, arg); Klog.writefln("RIP = 0x%p", stack_frame.rip); Klog.writefln("CS = 0x%x", stack_frame.cs);