diff options
author | dzwdz | 2021-08-09 22:29:47 +0200 |
---|---|---|
committer | dzwdz | 2021-08-09 22:29:47 +0200 |
commit | 0b3eb29ded00fe33b2657535d873dfe8238686ea (patch) | |
tree | 1fc26228ccadc91d55588666810dd2c4765a0c70 /src/kernel | |
parent | 57586147f6327d4ca1d630d7b336cce20656bc39 (diff) |
print the boot heart on both VGA and serial
Diffstat (limited to 'src/kernel')
-rw-r--r-- | src/kernel/arch/i386/tty/tty.c | 4 | ||||
-rw-r--r-- | src/kernel/main.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/kernel/arch/i386/tty/tty.c b/src/kernel/arch/i386/tty/tty.c index 300bbcc..89a8602 100644 --- a/src/kernel/arch/i386/tty/tty.c +++ b/src/kernel/arch/i386/tty/tty.c @@ -5,6 +5,10 @@ void tty_init() { vga_clear(); serial_init(); + + // write hearts + vga_write("\x03 ", 2); + serial_write("<3 ", 3); } void tty_write(const char *buf, size_t len) { diff --git a/src/kernel/main.c b/src/kernel/main.c index 3fee5c9..7796c44 100644 --- a/src/kernel/main.c +++ b/src/kernel/main.c @@ -22,8 +22,6 @@ static void run_init(struct kmain_info *info) { } void kmain(struct kmain_info info) { - tty_const("\x03 "); - tty_const("mem..."); mem_init(&info); |