Minor code clean up, and added some convenience to the draw_string function.

This commit is contained in:
2020-08-06 17:00:05 -05:00
parent 9fe73abe53
commit db1a68188f
5 changed files with 35 additions and 39 deletions
+4 -1
View File
@@ -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");
}