mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-31 22:48:21 +00:00
13 lines
170 B
C
13 lines
170 B
C
#include <arch/io.h>
|
|
|
|
void e9_putc(char c){
|
|
outb(0xE9, c);
|
|
}
|
|
|
|
void e9_puts(char* s){
|
|
size_t len = strlen(s);
|
|
|
|
for(uintmax_t i = 0; i < len; ++i)
|
|
outb(0xE9, s[i]);
|
|
}
|