summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kobert <dennis@kobert.dev>2019-10-24 16:47:09 +0200
committerDennis Kobert <dennis@kobert.dev>2019-10-24 16:47:09 +0200
commit865280798e136eede0897b23e9957b7d9ff8c890 (patch)
tree14139641f50aa4533357798c073bb0fe27be384c
parentcfc84a31ffbef835d25219899ba88d2b760630e4 (diff)
Add kernel entry
-rw-r--r--kernel/boot.asm8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/boot.asm b/kernel/boot.asm
new file mode 100644
index 0000000..839457e
--- /dev/null
+++ b/kernel/boot.asm
@@ -0,0 +1,8 @@
+global start
+
+section .text
+bits 32
+start:
+ ; print 'OK'
+ mov dword [0xb8000], 0x2f4b2f4f
+ hlt