From 0b3eb29ded00fe33b2657535d873dfe8238686ea Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 9 Aug 2021 22:29:47 +0200 Subject: print the boot heart on both VGA and serial --- src/kernel/arch/i386/tty/tty.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/kernel/arch') 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) { -- cgit v1.2.3