Minor code clean up, and added some convenience to the draw_string function.
This commit is contained in:
@@ -3,5 +3,8 @@
|
||||
|
||||
void interrupt_handler(struct isr_state stack)
|
||||
{
|
||||
write_to_com(COM1_PORT, "Interrupt detected!\n");
|
||||
write_to_com(COM1_PORT, "Divide by zero detected!\n");
|
||||
write_to_com(COM1_PORT, "Halting system!\n");
|
||||
asm("cli");
|
||||
asm("hlt");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user