From 8b48f0bc716dbef50669e3b9e708f8265a406e41 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Sun, 23 Dec 2018 00:18:32 +0100 Subject: [PATCH] Update folder.desc --- src/boot/folder.desc | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/src/boot/folder.desc b/src/boot/folder.desc index d6b3cab..56a7d6f 100644 --- a/src/boot/folder.desc +++ b/src/boot/folder.desc @@ -12,12 +12,17 @@ This folder contains the source for OS/K's bootloader. OS/K being intended to only run on x86-64 systems, we have not divided this folder into one sub-folder per architecture. -It is divided in two parts each of exactly 512 bytes: +It is divided in two parts : - mbr.s (and its auxiliary file mbr.inc) - This is our Master Boot Record (MBR). It switches to long mode - (64 bits mode) then loads the second half of the bootloader. - The MBR must be placed precisely on the first sector of the hard drive. + This is our Master Boot Record (MBR). It loads the second half of the + bootloader which is located on the root directory (FAT16). + The MBR must be placed precisely on the first sector of the hard drive, + or on the first sector of an activated partition of the hard drive. + This file is 512 B sized. - loader.s - This is the Kernel Loader. XXX - + This is the Kernel Loader. It is a pure binary executable located on the + root directory of the disk/partition. It established A20 line, switches + into long mode and can print messages in color. It is intended to load + the kernel elf executable and call it. + This file must be < 2 GB sized.