Orion
Barry Importing existing Orion kernel d41a53c (2 years, 5 months ago)diff --git a/000.S b/000.S new file mode 100644 index 0000000..6e8a1c0 --- /dev/null +++ b/000.S @@ -0,0 +1,25 @@ +[section .multiboot] +[global header] +header: + dd 0x1BADB002 + dd 1 | 2 + dd -(0x1BADB002 + (1 | 2)) + + dd 0, 0, 0, 0, 0 + +[section .bss] +stack_bottom: + resb 16384 +stack_top: + +[section .text] +[extern kmain] +[global _start] +_start: + mov ebp, stack_top + mov esp, ebp + push ebx + push esp + call kmain + cli + jmp $