29 lines
1.5 KiB
Plaintext
29 lines
1.5 KiB
Plaintext
//----------------------------------------------------------------------------//
|
|
// GNU GPL OS/K //
|
|
// //
|
|
// Authors: spectral` //
|
|
// NeoX //
|
|
// //
|
|
// Desc: Folder description - "boot" //
|
|
//----------------------------------------------------------------------------//
|
|
|
|
|
|
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 :
|
|
- mbr.s (and its auxiliary file mbr.inc)
|
|
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. 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.
|