From 31b0bb37324f39dd56f659743f20c011617aa360 Mon Sep 17 00:00:00 2001 From: Lizzy Fleckenstein Date: Sun, 10 Dec 2023 18:25:37 +0100 Subject: uwu --- Makefile | 3 ++- stage3/anna.c | 21 +++++++++++++++++++++ stage3/anna.h | 6 ++++++ stage3/main.c | 5 ++++- 4 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 stage3/anna.c create mode 100644 stage3/anna.h diff --git a/Makefile b/Makefile index 8e09152..fb3b7e2 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,8 @@ STAGE3 = \ stage3/paging.o \ stage3/heap.o \ stage3/font.o \ - stage3/letters.o + stage3/letters.o \ + stage3/anna.o cuddles.img: stage1.out stage2.out stage3.out cat stage{1,2,3}.out > cuddles.img diff --git a/stage3/anna.c b/stage3/anna.c new file mode 100644 index 0000000..d590ee7 --- /dev/null +++ b/stage3/anna.c @@ -0,0 +1,21 @@ +#include "font.h" + +void uwu() +{ + print( + " -------- -------- " "\n" + " --/ \\ / \\--" "\n" + " / \\/ \\" "\n" + "/ \\" "\n" + "| |" "\n" + "| anna |" "\n" + "\\ /" "\n" + " \\ /" "\n" + " \\ /" "\n" + " \\ /" "\n" + " \\ /" "\n" + " \\ /" "\n" + " \\ /" "\n" + " \\ /" "\n" + " \\/" "\n"); +} diff --git a/stage3/anna.h b/stage3/anna.h new file mode 100644 index 0000000..42bb664 --- /dev/null +++ b/stage3/anna.h @@ -0,0 +1,6 @@ +#ifndef ANNA_H +#define ANNA_H + +void uwu(); + +#endif diff --git a/stage3/main.c b/stage3/main.c index 630379b..d3ebe9d 100644 --- a/stage3/main.c +++ b/stage3/main.c @@ -7,6 +7,7 @@ #include "letters.h" #include "interrupts.h" #include "pic.h" +#include "anna.h" void init() { @@ -70,7 +71,9 @@ void init() init_interrupts(); pic_init(); - unmask_irq(IRQ_PIT); + uwu(); + + // unmask_irq(IRQ_PIT); enable_irqs(); halt(); -- cgit v1.2.3