working on exposing vga to userspace
This commit is contained in:
@@ -9,6 +9,7 @@ int is_transmit_empty() {
|
||||
|
||||
void write_serial(char a) {
|
||||
while (is_transmit_empty() == 0);
|
||||
if (a == '\n') outb(COM1, '\r');
|
||||
outb(COM1, a);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user