use long mode, x86_64-unknown-none works now

This commit is contained in:
andromeda
2026-03-04 22:45:35 +01:00
parent 1b6f76488d
commit 094e8c288a
6 changed files with 211 additions and 133 deletions

View File

@@ -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