E. Almqvist 3 years ago
parent 83a8fe6210
commit 03e7f961d2
  1. 4
      bootloader/equ/bios.asm
  2. 2
      kernel/kernel_entry.asm

@ -2,6 +2,10 @@
BIOS_TTY_INT equ 0x10
BIOS_TTY_MODE equ 0x0e
; Disk reading
BIOS_DISK_INT equ 0x13
BIOS_DISK_READ equ 0x02
; Physical Memory
BIOS_PMEM_INT equ 0x15

@ -7,6 +7,7 @@ MBOOT_HEADER_MAGIC equ 0x1BADB002
MBOOT_HEADER_FLAGS equ MBOOT_PAGE_ALIGN | MBOOT_MEMORY_INFO
MBOOT_CHECKSUM equ -(MBOOT_HEADER_MAGIC + MBOOT_HEADER_FLAGS)
align 32
call kernel_init
jmp $
@ -16,3 +17,4 @@ multiboot_header:
dd MBOOT_HEADER_MAGIC
dd MBOOT_HEADER_FLAGS
dd MBOOT_CHECKSUM

Loading…
Cancel
Save