aboutsummaryrefslogtreecommitdiff
path: root/src/kernel.c
diff options
context:
space:
mode:
authorMarvin Borner2019-09-16 19:44:04 +0200
committerMarvin Borner2019-09-16 19:47:23 +0200
commitf1e62229ca1ce4d7768268724204772049341282 (patch)
tree624ef3b73c855d55f4472c14725898796a3e89e5 /src/kernel.c
parente7834a6bc1715faaca4b60e86609f8b62598814a (diff)
Added basic frequency sound generator
Changes to be committed: new file: src/graphics/graphics.h modified: src/kernel.c new file: src/sound/frequency.c new file: src/sound/sound.h modified: build.sh Changes not staged for commit: deleted: src/graphics/vga.h modified: src/input/ps2/keyboard.c modified: src/input/ps2/mouse.c modified: src/interrupts/irq.c modified: src/interrupts/isr.c modified: src/memory/memory.c
Diffstat (limited to 'src/kernel.c')
-rw-r--r--src/kernel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kernel.c b/src/kernel.c
index 0e1b020..102c21e 100644
--- a/src/kernel.c
+++ b/src/kernel.c
@@ -1,8 +1,9 @@
-#include "graphics/vga.h"
+#include "graphics/graphics.h"
#include "gdt/gdt.h"
#include "interrupts/interrupts.h"
#include "input/input.h"
#include "timer/timer.h"
+#include "sound/sound.h"
void kernel_main(void) {
gdt_install();
@@ -18,5 +19,6 @@ void kernel_main(void) {
mouse_install();
terminal_write_string("Melvix loaded successfully!\n");
+ beep();
// __asm__ ("div %0" :: "r"(0)); // Exception testing x/0
} \ No newline at end of file