summaryrefslogtreecommitdiff
path: root/asm/kernel.asm
diff options
context:
space:
mode:
authorandromeda <andromeda@lenovo>2026-03-04 22:45:35 +0100
committerandromeda <andromeda@lenovo>2026-03-04 22:45:35 +0100
commit094e8c288a88db8a349492085381347ccdafc391 (patch)
tree9ee347819e3f7c3b0747c9b725e7f4c69b22d6ac /asm/kernel.asm
parent1b6f76488dcc01c8e6c0efbe07751ebeea18c33b (diff)
use long mode, x86_64-unknown-none works now
Diffstat (limited to 'asm/kernel.asm')
-rw-r--r--asm/kernel.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/asm/kernel.asm b/asm/kernel.asm
index 23c0d5d..b4cbb30 100644
--- a/asm/kernel.asm
+++ b/asm/kernel.asm
@@ -1,4 +1,4 @@
-[bits 32]
+[bits 64]
mov al, 'K'
out dx, al
@@ -18,6 +18,6 @@ mov al, 0x0A
out dx, al
mov al, 0x00
out dx, al
-jmp $
-
-times 512-($-$$) db 0
+.done
+ hlt
+ jmp .done