Multiboot1 Bare Bones with NASM: Difference between revisions
m
→Bootstrap Assembly (NASM)
[unchecked revision] | [unchecked revision] |
(don't use reserved keyword FLAGS) |
|||
Line 9:
MBALIGN equ 1 << 0 ; align loaded modules on page boundaries
MEMINFO equ 1 << 1 ; provide memory map
MBFLAGS
MAGIC equ 0x1BADB002 ; 'magic number' lets bootloader find the header
CHECKSUM equ -(MAGIC +
; Declare a multiboot header that marks the program as a kernel. These are magic
|