MBALIGN equ 1 << 0 MEMINFO equ 1 << 1 FLAGS equ MBALIGN | MEMINFO section .multiboot align 4 dd 0x1BADB002 ; multiboot standard dd FLAGS dd -(0x1BADB002 + FLAGS) section .bss align 16 ; 32-bit, must be 16-byte aligned stack_bottom: resb 16384 stack_top: section .text global _begin:function (_begin.end - _begin) _begin: mov esp, stack_top extern c_kernel_main call c_kernel_main cli .whee: hlt jmp .whee .end:

IceGT's Web Hole™


Elwood / Sweet Dreams